On Tue, 2005-05-24 at 14:13 -0700, OpenMacNews wrote:
hi tristan,
i'm building on OSX 10.4.1 ...
gcc -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -o syslog-ng main.o sources.o center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o -lresolv /usr/local/lib/libol.a -Wl,-Bstatic -lfl -lwrap -Wl,-Bdynamic ld: unknown flag: -Bstatic make[3]: *** [syslog-ng] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
you'll need to make a couple of changes to configure.in (see below) ... for completeness, i'm including my start-to-finish notes:
I'd be willing to include MacOS specific changes to the configure script if someone would send me a patch to make syslog-ng compile there out-of-the box. -- Bazsi