[syslog-ng]Installing on Mac OS X

Ken Toney ktoney@tiff.org
Fri, 20 Dec 2002 11:03:12 -0500


I am trying to install syslog-ng on Mac OS X. I am using version 1.5.24
of syslog-ng and libol 0.3.6 with autoconf 2.5. After installing libol, I
configured syslog with no apparent difficulties. When I ran 'make' for
syslog, I had errors. Anybody know what this means?

Make output:
Making all in src
make  username
Making all in .
gcc -DHAVE_CONFIG_H -I. -I/Users/username/syslog-ng-1.5.24/src -I.     -g
-O2 -Wall -I/Users/username/syslog-ng-1.5.24/libol-0.3.6/src -
D_GNU_SOURCE -c main.c
gcc -DHAVE_CONFIG_H -I. -I/Users/username/syslog-ng-1.5.24/src -I.     -g
-O2 -Wall -I/Users/username/syslog-ng-1.5.24/libol-0.3.6/src -
D_GNU_SOURCE -c sources.c
sources.c: In function `do_read_line':
sources.c:95: warning: passing arg 5 of pointer to function from
incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I/Users/username/syslog-ng-1.5.24/src -I.     -g
-O2 -Wall -I/Users/username/syslog-ng-1.5.24/libol-0.3.6/src -
D_GNU_SOURCE -c center.c
center.c:157: illegal expression, found `}'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
center.c: In function `do_distribute_log':
center.c:157: warning: deprecated use of label at end of compound statement
gcc -DHAVE_CONFIG_H -I. -I/Users/username/syslog-ng-1.5.24/src -I.     -g
-O2 -Wall -I/Users/username/syslog-ng-1.5.24/libol-0.3.6/src -
D_GNU_SOURCE -c filters.c
filters.c:266: undefined type, found `uint32_t'
filters.c:267: undefined type, found `uint32_t'
filters.c:268: undefined type, found `uint32_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
filters.c: In function `do_filter_netmask':
filters.c:266: `uint32_t' undeclared (first use in this function)
filters.c:266: (Each undeclared identifier is reported only once
filters.c:266: for each function it appears in.)
filters.c:266: parse error before "host"
filters.c:270: `host' undeclared (first use in this function)
filters.c:271: `netw' undeclared (first use in this function)
filters.c:272: `mask' undeclared (first use in this function)
filters.c: In function `do_filter_call':
filters.c:342: warning: implicit declaration of function `memcmp'
make[3]: *** [filters.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1

---Ken Toney
ktoney@tiff.org