Thread

  1. General Bug Report: difficulty enabling USE_SYSLOG

    Unprivileged user <nobody> — 1999-07-22T12:36:57Z

    ============================================================================
                            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.
    
    
    --------------------------------------------------------------------------
    
    
    
  2. Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG

    Bruce Momjian <maillist@candle.pha.pa.us> — 1999-07-22T15:45:40Z

    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