[syslog-ng]question about flags + fix to compile under solaris (PATH_SYSCONFDIRprob)

Nicholas Berry nberry@ragingwire.com
Fri, 2 Nov 2001 14:10:55 -0800


I have also noticed this problem with PATH_SYSCONFDIR in src/config.h.
After running the configure script, PATH_SYSCONFDIR is defined in
src/config.h, but when running `make`, something (perhaps autoconf)
removes PATH_SYSCONFDIR from src/config.h and causes the compile to
fail.  After re-adding '#define PATH_SYSCONDIR
"/usr/local/etc/syslog-ng"' back into src/config.h, everything compiles
fine.

Also, defining "--sysconfdir=<alternate dir>" when running the configure
script is not reflected in src/config.h

I'm using autoconf 2.13, automake 1.4, make 3.79, m4 1.4, and gcc 2.95.3
all under Solar 8 SPARC.

Nicholas Berry
Systems Engineer
RagingWire Telecommunications, Inc.
2710 Gateway Oaks Dr., Suite 300 South
Sacramento, CA 95833
Phone: 916.286.4048
Fax: 916.921.4148
E-mail: nberry@ragingwire.com
www.ragingwire.com



-----Original Message-----
From: Asher Yanich [mailto:ayanic01@cs.fiu.edu] 
Sent: Friday, November 02, 2001 9:41 AM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]question about flags + fix to compile under solaris
(PATH_SYSCONFDIRprob)



I am currently running syslog-ng 1.5.7 and using the DEFAULT keyword.  I
see that this is removed from the newer 1.5.x releases in favor of
flags.
I cant seem to find any documentation on the syntax or usage.  Can
someone
help me out?

Also, I had not been able to compile any syslog-ng 1.5.x releases for
awhile, I finally fixed the compilation problem.

--- syslog-ng.h Wed Jul 25 05:20:53 2001
+++ /depot/syslog-ng/src/syslog-ng-1.5.13/src/syslog-ng.h       Fri Nov
2
11:42:39 2001
@@ -34,7 +34,7 @@
 #define PATH_SYSLOG_NG_CONF     "syslog-ng.conf"
 #define PATH_PIDFILE            "syslog-ng.pid"
 #else
-#define PATH_SYSLOG_NG_CONF     PATH_SYSCONFDIR "/syslog-ng.conf"
+#define PATH_SYSLOG_NG_CONF     "/syslog-ng.conf"
 #define PATH_PIDFILE            "/var/run/syslog-ng.pid"
 #endif


-asher yanich


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng