Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Jim Mercer <jim(at)reptiles(dot)org>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG
Date: 1999-07-22 15:45:40
Message-ID: 199907221545.LAA02192@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

You have to edit config.h after running configure. I realize this is a
pain. You could edit config.h.in, and configure would pick that up.
Perhaps we need to split out the configure-based stuff from config.h.

Comments?

>
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Jim Mercer
> Your email address : jim(at)reptiles(dot)org
>
> Category : install: compile
> Severity : serious
>
> Summary: difficulty enabling USE_SYSLOG
>
> System Configuration
> --------------------
> Operating System : FreeBSD 2,3
>
> PostgreSQL version : 6.5,6.5.1
>
> Compiler used : gcc
>
> Hardware:
> ---------
> Pentium
>
> Versions of other tools:
> ------------------------
> standard
>
> --------------------------------------------------------------------------
>
> Problem Description:
> --------------------
> the flag USE_SYSLOG is defined in config.h, which is
> created by configure.
> the configure script does not know about USE_SYSLOG, however, i believe it knows about syslog in general
> (ie it knows if there is a syslog(), and hence can enable based on that)
> the documentation talks about syslog, but does not list a procedure for enabling it.
>
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
>
>
> --------------------------------------------------------------------------
>
> Solution:
> ---------
> change configure to enable USE_SYSLOG if syslog facilities are available.
>
>
> --------------------------------------------------------------------------
>
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 1999-07-22 15:46:41 Re: [BUGS] General Bug Report: enabling USE_SYSLOG breaks compile of src/backend/utils/misc/trace.c
Previous Message Unprivileged user 1999-07-22 13:38:48 General Bug Report: enabling USE_(revised) SYSLOG breaks compile of src/backend/utils/misc/trace.c