Hi, Can anyone tell me the current state of sun streams support in 1.9.6? There is an old mention of it being missing in the NEWS file and I can not get it to work - but that might just be me :) I configured like this ./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib --with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door --enable-dynamic-linking When I try to run it I get STREAMS support not compiled in; Segmentation Fault Thanks John
On Mon, Nov 14, 2005 at 08:41:31PM +0000, John.Dickinson@nominet.org.uk wrote:
Can anyone tell me the current state of sun streams support in 1.9.6? There is an old mention of it being missing in the NEWS file and I can not get it to work - but that might just be me :)
I configured like this ./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib --with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door --enable-dynamic-linking
When I try to run it I get STREAMS support not compiled in; Segmentation Fault
John, Check config.log and see if it had trouble finding the header files it needs, It's strlog.h and stropts.h, and for door support you need door.h. The install of Solaris on my new Sun Blade workstation was lacking all this crap last time I needed to compile the 1.9.x branch, what a pain. -- Nate "Want to make your computer go really fast? Throw it out the window!" - Anonymous
Thanks for your reply syslog-ng-bounces@lists.balabit.hu wrote on 15/11/2005 06:22:00:
Check config.log and see if it had trouble finding the header files it needs, It's strlog.h and stropts.h, and for door support you need door.h.
There is no mention of these at all in config.log. I have found the #if HAVE_SUN_STREAMS code in afstreams.c but HAVE_SUN_STREAMS is never defined anywhere. I guess this is broken or not implimented yet. However, I am not a developer so I may be doing something stupid. Thanks John
On Mon, 2005-11-14 at 20:41 +0000, John.Dickinson@nominet.org.uk wrote:
Hi,
Can anyone tell me the current state of sun streams support in 1.9.6? There is an old mention of it being missing in the NEWS file and I can not get it to work - but that might just be me :)
I configured like this ./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib --with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door --enable-dynamic-linking
When I try to run it I get STREAMS support not compiled in; Segmentation Fault
I've committed a fix for the detection, the code is there, however I haven't tried compiling it on Solaris for a long time now, so it might be possible it will not compile. The compilation log in case it fails would be appreciated. -- Bazsi
syslog-ng-bounces@lists.balabit.hu wrote on 15/11/2005 15:36:14:
When I try to run it I get STREAMS support not compiled in; Segmentation Fault
I've committed a fix for the detection, the code is there, however I haven't tried compiling it on Solaris for a long time now, so it might be possible it will not compile.
The compilation log in case it fails would be appreciated.
Hi, Sorry for the delay. Here is what I did rm -rf syslog-ng-1.9.6 tar -xzf syslog-ng-1.9.6.tar.gz cd syslog-ng-1.9.6 export PKG_CONFIG=/opt/pkgconfig/bin/pkg-config export PKG_CONFIG_PATH=/opt/glib/lib/pkgconfig:/opt/eventlog/lib/pkgconfig ./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib --with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door --enable-dynamic-linking >& /tmp/syslog-1.9.configure.out # Added the following to filter.c (as suggested in https://lists.balabit.hu/pipermail/syslog-ng/2005-October/008060.html) -------------------------------------------------- #define LOG_FACMASK 0x03f8 /* mask to extract facility part */ /* facility of pri */ #define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3) ----------------------------------------------------- make >& /tmp/syslog-1.9.make.out make install /opt/syslog-ng2/sbin/syslog-ng -f /etc/syslog-ng/syslog-ng.conf -s STREAMS support not compiled in; Segmentation Fault There is no mention of HAVE_SUN_STREAMS anywhere in the Makefiles or source apart from the #if in afstreams.c grep -r HAVE_SUN_STREAMS * src/afstreams.c:#if HAVE_SUN_STREAMS this is the output of make: make all-recursive make[1]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6' Making all in src make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \ -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \ else rm -f ".deps/misc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \ -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; \ else rm -f ".deps/utils.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT messages.o -MD -MP -MF ".deps/messages.Tpo" \ -c -o messages.o `test -f 'messages.c' || echo './'`messages.c; \ then mv -f ".deps/messages.Tpo" ".deps/messages.Po"; \ else rm -f ".deps/messages.Tpo"; exit 1; \ fi messages.c: In function `msg_send_internal_message': messages.c:56: warning: int format, pid_t arg (arg 5) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT gsockaddr.o -MD -MP -MF ".deps/gsockaddr.Tpo" \ -c -o gsockaddr.o `test -f 'gsockaddr.c' || echo './'`gsockaddr.c; \ then mv -f ".deps/gsockaddr.Tpo" ".deps/gsockaddr.Po"; \ else rm -f ".deps/gsockaddr.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT syslog-names.o -MD -MP -MF ".deps/syslog-names.Tpo" \ -c -o syslog-names.o `test -f 'syslog-names.c' || echo './'`syslog-names.c; \ then mv -f ".deps/syslog-names.Tpo" ".deps/syslog-names.Po"; \ else rm -f ".deps/syslog-names.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT macros.o -MD -MP -MF ".deps/macros.Tpo" \ -c -o macros.o `test -f 'macros.c' || echo './'`macros.c; \ then mv -f ".deps/macros.Tpo" ".deps/macros.Po"; \ else rm -f ".deps/macros.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logmsg.o -MD -MP -MF ".deps/logmsg.Tpo" \ -c -o logmsg.o `test -f 'logmsg.c' || echo './'`logmsg.c; \ then mv -f ".deps/logmsg.Tpo" ".deps/logmsg.Po"; \ else rm -f ".deps/logmsg.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg.o -MD -MP -MF ".deps/cfg.Tpo" \ -c -o cfg.o `test -f 'cfg.c' || echo './'`cfg.c; \ then mv -f ".deps/cfg.Tpo" ".deps/cfg.Po"; \ else rm -f ".deps/cfg.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logpipe.o -MD -MP -MF ".deps/logpipe.Tpo" \ -c -o logpipe.o `test -f 'logpipe.c' || echo './'`logpipe.c; \ then mv -f ".deps/logpipe.Tpo" ".deps/logpipe.Po"; \ else rm -f ".deps/logpipe.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT driver.o -MD -MP -MF ".deps/driver.Tpo" \ -c -o driver.o `test -f 'driver.c' || echo './'`driver.c; \ then mv -f ".deps/driver.Tpo" ".deps/driver.Po"; \ else rm -f ".deps/driver.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT sgroup.o -MD -MP -MF ".deps/sgroup.Tpo" \ -c -o sgroup.o `test -f 'sgroup.c' || echo './'`sgroup.c; \ then mv -f ".deps/sgroup.Tpo" ".deps/sgroup.Po"; \ else rm -f ".deps/sgroup.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT dgroup.o -MD -MP -MF ".deps/dgroup.Tpo" \ -c -o dgroup.o `test -f 'dgroup.c' || echo './'`dgroup.c; \ then mv -f ".deps/dgroup.Tpo" ".deps/dgroup.Po"; \ else rm -f ".deps/dgroup.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT center.o -MD -MP -MF ".deps/center.Tpo" \ -c -o center.o `test -f 'center.c' || echo './'`center.c; \ then mv -f ".deps/center.Tpo" ".deps/center.Po"; \ else rm -f ".deps/center.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT filter.o -MD -MP -MF ".deps/filter.Tpo" \ -c -o filter.o `test -f 'filter.c' || echo './'`filter.c; \ then mv -f ".deps/filter.Tpo" ".deps/filter.Po"; \ else rm -f ".deps/filter.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logsource.o -MD -MP -MF ".deps/logsource.Tpo" \ -c -o logsource.o `test -f 'logsource.c' || echo './'`logsource.c; \ then mv -f ".deps/logsource.Tpo" ".deps/logsource.Po"; \ else rm -f ".deps/logsource.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logreader.o -MD -MP -MF ".deps/logreader.Tpo" \ -c -o logreader.o `test -f 'logreader.c' || echo './'`logreader.c; \ then mv -f ".deps/logreader.Tpo" ".deps/logreader.Po"; \ else rm -f ".deps/logreader.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logwriter.o -MD -MP -MF ".deps/logwriter.Tpo" \ -c -o logwriter.o `test -f 'logwriter.c' || echo './'`logwriter.c; \ then mv -f ".deps/logwriter.Tpo" ".deps/logwriter.Po"; \ else rm -f ".deps/logwriter.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT affile.o -MD -MP -MF ".deps/affile.Tpo" \ -c -o affile.o `test -f 'affile.c' || echo './'`affile.c; \ then mv -f ".deps/affile.Tpo" ".deps/affile.Po"; \ else rm -f ".deps/affile.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afunix.o -MD -MP -MF ".deps/afunix.Tpo" \ -c -o afunix.o `test -f 'afunix.c' || echo './'`afunix.c; \ then mv -f ".deps/afunix.Tpo" ".deps/afunix.Po"; \ else rm -f ".deps/afunix.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \ -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c; \ then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \ else rm -f ".deps/afinet.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afsocket.o -MD -MP -MF ".deps/afsocket.Tpo" \ -c -o afsocket.o `test -f 'afsocket.c' || echo './'`afsocket.c; \ then mv -f ".deps/afsocket.Tpo" ".deps/afsocket.Po"; \ else rm -f ".deps/afsocket.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afstreams.o -MD -MP -MF ".deps/afstreams.Tpo" \ -c -o afstreams.o `test -f 'afstreams.c' || echo './'`afstreams.c; \ then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \ else rm -f ".deps/afstreams.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afuser.o -MD -MP -MF ".deps/afuser.Tpo" \ -c -o afuser.o `test -f 'afuser.c' || echo './'`afuser.c; \ then mv -f ".deps/afuser.Tpo" ".deps/afuser.Po"; \ else rm -f ".deps/afuser.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afprog.o -MD -MP -MF ".deps/afprog.Tpo" \ -c -o afprog.o `test -f 'afprog.c' || echo './'`afprog.c; \ then mv -f ".deps/afprog.Tpo" ".deps/afprog.Po"; \ else rm -f ".deps/afprog.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afinter.o -MD -MP -MF ".deps/afinter.Tpo" \ -c -o afinter.o `test -f 'afinter.c' || echo './'`afinter.c; \ then mv -f ".deps/afinter.Tpo" ".deps/afinter.Po"; \ else rm -f ".deps/afinter.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg-lex.o -MD -MP -MF ".deps/cfg-lex.Tpo" \ -c -o cfg-lex.o `test -f 'cfg-lex.c' || echo './'`cfg-lex.c; \ then mv -f ".deps/cfg-lex.Tpo" ".deps/cfg-lex.Po"; \ else rm -f ".deps/cfg-lex.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg-grammar.o -MD -MP -MF ".deps/cfg-grammar.Tpo" \ -c -o cfg-grammar.o `test -f 'cfg-grammar.c' || echo './'`cfg-grammar.c; \ then mv -f ".deps/cfg-grammar.Tpo" ".deps/cfg-grammar.Po"; \ else rm -f ".deps/cfg-grammar.Tpo"; exit 1; \ fi /home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y: In function `yyparse': /home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y:627: warning: implicit declaration of function `log_writer_options_set_template_escape' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT fdwrite.o -MD -MP -MF ".deps/fdwrite.Tpo" \ -c -o fdwrite.o `test -f 'fdwrite.c' || echo './'`fdwrite.c; \ then mv -f ".deps/fdwrite.Tpo" ".deps/fdwrite.Po"; \ else rm -f ".deps/fdwrite.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT fdread.o -MD -MP -MF ".deps/fdread.Tpo" \ -c -o fdread.o `test -f 'fdread.c' || echo './'`fdread.c; \ then mv -f ".deps/fdread.Tpo" ".deps/fdread.Po"; \ else rm -f ".deps/fdread.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT memtrace.o -MD -MP -MF ".deps/memtrace.Tpo" \ -c -o memtrace.o `test -f 'memtrace.c' || echo './'`memtrace.c; \ then mv -f ".deps/memtrace.Tpo" ".deps/memtrace.Po"; \ else rm -f ".deps/memtrace.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT templates.o -MD -MP -MF ".deps/templates.Tpo" \ -c -o templates.o `test -f 'templates.c' || echo './'`templates.c; \ then mv -f ".deps/templates.Tpo" ".deps/templates.Po"; \ else rm -f ".deps/templates.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT children.o -MD -MP -MF ".deps/children.Tpo" \ -c -o children.o `test -f 'children.c' || echo './'`children.c; \ then mv -f ".deps/children.Tpo" ".deps/children.Po"; \ else rm -f ".deps/children.Tpo"; exit 1; \ fi rm -f libsyslog-ng.a ar cru libsyslog-ng.a misc.o utils.o messages.o gsockaddr.o syslog-names.o macros.o logmsg.o cfg.o logpipe.o driver.o sgroup.o dgroup.o center.o filter.o logsource.o logreader.o logwriter.o affile.o afunix.o afinet.o afsocket.o afstreams.o afuser.o afprog.o afinter.o cfg-lex.o cfg-grammar.o fdwrite.o fdread.o memtrace.o templates.o children.o ranlib libsyslog-ng.a if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lnsl -lsocket -ldoor -ll -L/opt/glib/lib -lglib-2.0 -L/opt/eventlog/lib -levtlog make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/src' Making all in tests make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/tests' Making all in unit make[3]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/tests/unit' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/tests/unit' Making all in functional make[3]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/tests/functional' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/tests/functional' make[3]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/tests' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/tests' make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/tests' Making all in doc make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/doc' Making all in contrib make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6/contrib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6/contrib' make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6' make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6' make[1]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6' Let me know if you want the output of config.log Thanks John
On Mon, 2005-11-21 at 10:01 +0000, John.Dickinson@nominet.org.uk wrote:
syslog-ng-bounces@lists.balabit.hu wrote on 15/11/2005 15:36:14:
When I try to run it I get STREAMS support not compiled in; Segmentation Fault
I've committed a fix for the detection, the code is there, however I haven't tried compiling it on Solaris for a long time now, so it might be possible it will not compile.
The compilation log in case it fails would be appreciated.
Hi,
Sorry for the delay. Here is what I did
rm -rf syslog-ng-1.9.6 tar -xzf syslog-ng-1.9.6.tar.gz cd syslog-ng-1.9.6
Sorry for the confusion, I meant a test of the latest snapshot would be appreciated, where I've commited the fix. I have now doublechecked that the snapshot dated 20051122 really contains the fix I've commited. Sorry again, and thanks for the report. -- Bazsi
syslog-ng-bounces@lists.balabit.hu wrote on 22/11/2005 15:32:21:
Sorry for the confusion, I meant a test of the latest snapshot would be appreciated, where I've commited the fix. I have now doublechecked that the snapshot dated 20051122 really contains the fix I've commited.
Sorry again, and thanks for the report.
-- Bazsi
OK - Sorry about that. It fails to compile. This is what I did tar -xzf syslog-ng-1.9.6+20051122.tar.gz cd syslog-ng-1.9.6+20051122 export PKG_CONFIG=/opt/pkgconfig/bin/pkg-config export PKG_CONFIG_PATH=/opt/glib/lib/pkgconfig:/opt/eventlog/lib/pkgconfig ./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib --with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door --enable-dynamic-linking >& /tmp/syslog-ng.configure.out and here is the output of make. make all-recursive make[1]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122' Making all in src make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \ -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \ else rm -f ".deps/misc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \ -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; \ else rm -f ".deps/utils.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT messages.o -MD -MP -MF ".deps/messages.Tpo" \ -c -o messages.o `test -f 'messages.c' || echo './'`messages.c; \ then mv -f ".deps/messages.Tpo" ".deps/messages.Po"; \ else rm -f ".deps/messages.Tpo"; exit 1; \ fi messages.c: In function `msg_send_internal_message': messages.c:56: warning: int format, pid_t arg (arg 5) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT syslog-names.o -MD -MP -MF ".deps/syslog-names.Tpo" \ -c -o syslog-names.o `test -f 'syslog-names.c' || echo './'`syslog-names.c; \ then mv -f ".deps/syslog-names.Tpo" ".deps/syslog-names.Po"; \ else rm -f ".deps/syslog-names.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg.o -MD -MP -MF ".deps/cfg.Tpo" \ -c -o cfg.o `test -f 'cfg.c' || echo './'`cfg.c; \ then mv -f ".deps/cfg.Tpo" ".deps/cfg.Po"; \ else rm -f ".deps/cfg.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg-lex.o -MD -MP -MF ".deps/cfg-lex.Tpo" \ -c -o cfg-lex.o `test -f 'cfg-lex.c' || echo './'`cfg-lex.c; \ then mv -f ".deps/cfg-lex.Tpo" ".deps/cfg-lex.Po"; \ else rm -f ".deps/cfg-lex.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT cfg-grammar.o -MD -MP -MF ".deps/cfg-grammar.Tpo" \ -c -o cfg-grammar.o `test -f 'cfg-grammar.c' || echo './'`cfg-grammar.c; \ then mv -f ".deps/cfg-grammar.Tpo" ".deps/cfg-grammar.Po"; \ else rm -f ".deps/cfg-grammar.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT macros.o -MD -MP -MF ".deps/macros.Tpo" \ -c -o macros.o `test -f 'macros.c' || echo './'`macros.c; \ then mv -f ".deps/macros.Tpo" ".deps/macros.Po"; \ else rm -f ".deps/macros.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT filter.o -MD -MP -MF ".deps/filter.Tpo" \ -c -o filter.o `test -f 'filter.c' || echo './'`filter.c; \ then mv -f ".deps/filter.Tpo" ".deps/filter.Po"; \ else rm -f ".deps/filter.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logmsg.o -MD -MP -MF ".deps/logmsg.Tpo" \ -c -o logmsg.o `test -f 'logmsg.c' || echo './'`logmsg.c; \ then mv -f ".deps/logmsg.Tpo" ".deps/logmsg.Po"; \ else rm -f ".deps/logmsg.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logpipe.o -MD -MP -MF ".deps/logpipe.Tpo" \ -c -o logpipe.o `test -f 'logpipe.c' || echo './'`logpipe.c; \ then mv -f ".deps/logpipe.Tpo" ".deps/logpipe.Po"; \ else rm -f ".deps/logpipe.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logsource.o -MD -MP -MF ".deps/logsource.Tpo" \ -c -o logsource.o `test -f 'logsource.c' || echo './'`logsource.c; \ then mv -f ".deps/logsource.Tpo" ".deps/logsource.Po"; \ else rm -f ".deps/logsource.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT driver.o -MD -MP -MF ".deps/driver.Tpo" \ -c -o driver.o `test -f 'driver.c' || echo './'`driver.c; \ then mv -f ".deps/driver.Tpo" ".deps/driver.Po"; \ else rm -f ".deps/driver.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT sgroup.o -MD -MP -MF ".deps/sgroup.Tpo" \ -c -o sgroup.o `test -f 'sgroup.c' || echo './'`sgroup.c; \ then mv -f ".deps/sgroup.Tpo" ".deps/sgroup.Po"; \ else rm -f ".deps/sgroup.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT dgroup.o -MD -MP -MF ".deps/dgroup.Tpo" \ -c -o dgroup.o `test -f 'dgroup.c' || echo './'`dgroup.c; \ then mv -f ".deps/dgroup.Tpo" ".deps/dgroup.Po"; \ else rm -f ".deps/dgroup.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT center.o -MD -MP -MF ".deps/center.Tpo" \ -c -o center.o `test -f 'center.c' || echo './'`center.c; \ then mv -f ".deps/center.Tpo" ".deps/center.Po"; \ else rm -f ".deps/center.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT templates.o -MD -MP -MF ".deps/templates.Tpo" \ -c -o templates.o `test -f 'templates.c' || echo './'`templates.c; \ then mv -f ".deps/templates.Tpo" ".deps/templates.Po"; \ else rm -f ".deps/templates.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logreader.o -MD -MP -MF ".deps/logreader.Tpo" \ -c -o logreader.o `test -f 'logreader.c' || echo './'`logreader.c; \ then mv -f ".deps/logreader.Tpo" ".deps/logreader.Po"; \ else rm -f ".deps/logreader.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT logwriter.o -MD -MP -MF ".deps/logwriter.Tpo" \ -c -o logwriter.o `test -f 'logwriter.c' || echo './'`logwriter.c; \ then mv -f ".deps/logwriter.Tpo" ".deps/logwriter.Po"; \ else rm -f ".deps/logwriter.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT affile.o -MD -MP -MF ".deps/affile.Tpo" \ -c -o affile.o `test -f 'affile.c' || echo './'`affile.c; \ then mv -f ".deps/affile.Tpo" ".deps/affile.Po"; \ else rm -f ".deps/affile.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/glib/include/glib-2.0 -I/opt/glib/lib/glib-2.0/include -I/opt/eventlog/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afstreams.o -MD -MP -MF ".deps/afstreams.Tpo" \ -c -o afstreams.o `test -f 'afstreams.c' || echo './'`afstreams.c; \ then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \ else rm -f ".deps/afstreams.Tpo"; exit 1; \ fi afstreams.c: In function `streams_read_read_method': afstreams.c:63: error: `fd' undeclared (first use in this function) afstreams.c:63: error: (Each undeclared identifier is reported only once afstreams.c:63: error: for each function it appears in.) afstreams.c:66: warning: format argument is not a pointer (arg 6) afstreams.c:71: warning: implicit declaration of function `msg_warning' afstreams.c: In function `afstreams_sd_set_sundoor': afstreams.c:92: error: 'self' redeclared as different kind of symbol afstreams.c:90: error: previous definition of 'self' was here afstreams.c:92: error: `s' undeclared (first use in this function) afstreams.c: At top level: afstreams.c:98: error: parse error before "door_desc_t" afstreams.c: In function `afstreams_door_server_proc': afstreams.c:100: warning: implicit declaration of function `door_return' afstreams.c: In function `afstreams_sd_init': afstreams.c:112: warning: implicit declaration of function `open' afstreams.c:112: error: `O_RDONLY' undeclared (first use in this function) afstreams.c:112: error: `O_NOCTTY' undeclared (first use in this function) afstreams.c:112: error: `O_NONBLOCK' undeclared (first use in this function) afstreams.c:117: warning: implicit declaration of function `memset' afstreams.c:121: warning: passing arg 2 of `evt_tag_str' from incompatible pointer type afstreams.c:128: error: too few arguments to function `streams_read_new' afstreams.c:128: warning: assignment from incompatible pointer type afstreams.c:137: warning: implicit declaration of function `creat' afstreams.c:149: error: structure has no member named `door_fd' afstreams.c:149: warning: implicit declaration of function `door_create' afstreams.c:149: error: `afstreams_sd_door_server_proc' undeclared (first use in this function) afstreams.c:150: error: structure has no member named `door_fd' afstreams.c:152: error: `EVT_TAG_OSRROR' undeclared (first use in this function) afstreams.c:156: error: structure has no member named `door_fd' afstreams.c:159: error: structure has no member named `door_fd' afstreams.c:165: error: structure has no member named `door_fd' afstreams.c: In function `afstreams_sd_deinit': afstreams.c:187: warning: passing arg 1 of `log_pipe_deinit' from incompatible pointer type afstreams.c:188: warning: implicit declaration of function `door_revoke' afstreams.c:188: error: structure has no member named `door_fd' afstreams.c:189: error: structure has no member named `door_fd' afstreams.c: In function `afstreams_sd_free': afstreams.c:202: warning: passing arg 1 of `log_pipe_unref' from incompatible pointer type afstreams.c: In function `afstreams_sd_new': afstreams.c:211: error: `AFStreamsDriver' undeclared (first use in this function) afstreams.c:211: error: `self' undeclared (first use in this function) afstreams.c: At top level: afstreams.c:99: warning: 'afstreams_door_server_proc' defined but not used make[2]: *** [afstreams.o] Error 1 make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122' make: *** [all] Error 2
participants (3)
-
Balazs Scheidler
-
John.Dickinson@nominet.org.uk
-
Nate Campi