Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG
Date
Msg-id 199907221545.LAA02192@candle.pha.pa.us
Whole thread Raw
In response to General Bug Report: difficulty enabling USE_SYSLOG  (Unprivileged user <nobody>)
Responses Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG
List 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@reptiles.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@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: enabling USE_(revised) SYSLOG breaks compile of src/backend/utils/misc/trace.c
Next
From: Unprivileged user
Date:
Subject: General Bug Report: ODBC Broken with Office 2000