compiling on Redhat Linux ES 4 with Solaris support
Ok I can compile and configure syslog-ng with out Solaris support but when I add --enable-sun-streams to the configure command and then run make I get an error. I have searched every where I can for an answer but can not find one. Any help would be appreciated. here is the out put. [syslog-ng-1.6.8]# make Making all in src make[1]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' make all-recursive make[2]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' Making all in . make[3]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' if gcc -DHAVE_CONFIG_H -I. -I/root/jeff/syslog-ng-1.6.8/src -I. -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -MT afstreams.o -MD -MP -MF ".deps/afstreams.Tpo" \ -c -o afstreams.o `test -f 'afstreams.c' || echo '/root/jeff/syslog-ng-1.6.8/src/'`afstreams.c; \ then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \ else rm -f ".deps/afstreams.Tpo"; exit 1; \ fi afstreams.c:38:24: sys/strlog.h: No such file or directory afstreams.c: In function `do_stream_read': afstreams.c:95: error: storage size of 'lc' isn't known afstreams.c:95: warning: unused variable `lc' afstreams.c: In function `do_init_afstreams_source': afstreams.c:238: error: `I_CONSLOG' undeclared (first use in this function) afstreams.c:238: error: (Each undeclared identifier is reported only once afstreams.c:238: error: for each function it appears in.) make[3]: *** [afstreams.o] Error 1 make[3]: Leaving directory `/root/jeff/syslog-ng-1.6.8/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/jeff/syslog-ng-1.6.8/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/jeff/syslog-ng-1.6.8/src'
On Thu, 2005-07-28 at 14:36 -0600, Jeff Wilson wrote:
Ok I can compile and configure syslog-ng with out Solaris support but when I add --enable-sun-streams to the configure command and then run make I get an error. I have searched every where I can for an answer but can not find one. Any help would be appreciated. here is the out put.
[syslog-ng-1.6.8]# make Making all in src make[1]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' make all-recursive make[2]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' Making all in . make[3]: Entering directory `/root/jeff/syslog-ng-1.6.8/src' if gcc -DHAVE_CONFIG_H -I. -I/root/jeff/syslog-ng-1.6.8/src -I. -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -MT afstreams.o -MD -MP -MF ".deps/afstreams.Tpo" \ -c -o afstreams.o `test -f 'afstreams.c' || echo '/root/jeff/syslog-ng-1.6.8/src/'`afstreams.c; \ then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \ else rm -f ".deps/afstreams.Tpo"; exit 1; \ fi afstreams.c:38:24: sys/strlog.h: No such file or directory afstreams.c: In function `do_stream_read': afstreams.c:95: error: storage size of 'lc' isn't known afstreams.c:95: warning: unused variable `lc' afstreams.c: In function `do_init_afstreams_source': afstreams.c:238: error: `I_CONSLOG' undeclared (first use in this function) afstreams.c:238: error: (Each undeclared identifier is reported only once afstreams.c:238: error: for each function it appears in.)
for some reasons you don't have sys/strlog.h header file, which should be available on your system. Maybe you missed some development packages. -- Bazsi
<br><br><br>>From: Balazs Scheidler <bazsi@balabit.hu><br>>Reply-To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu><br>>To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu><br>>Subject: Re: [syslog-ng] compiling on Redhat Linux ES 4 with Solaris support<br>>Date: Fri, 29 Jul 2005 10:37:58 +0200<br>><br>>On Thu, 2005-07-28 at 14:36 -0600, Jeff Wilson wrote:<br>> > Ok I can compile and configure syslog-ng with out Solaris support but when I<br>> > add --enable-sun-streams to the configure command and then run make I get an<br>> > error. I have searched every where I can for an answer but can not find<br>> > one. Any help would be appreciated. here is the out put.<br>> ><br>> > [syslog-ng-1.6.8]# make<br>> > Making all in src<br>> > make[1]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'<br>> > make all-recursive<br>> > make[2]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'<br>> > Making all in .<br>> > make[3]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'<br>> > if gcc -DHAVE_CONFIG_H -I. -I/root/jeff/syslog-ng-1.6.8/src -I. -g -O2<br>> > -Wall -I/usr/local/include/libol -D_GNU_SOURCE -MT afstreams.o -MD -MP -MF<br>> > ".deps/afstreams.Tpo" \<br>> > -c -o afstreams.o `test -f 'afstreams.c' || echo<br>> > '/root/jeff/syslog-ng-1.6.8/src/'`afstreams.c; \<br>> > then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \<br>> > else rm -f ".deps/afstreams.Tpo"; exit 1; \<br>> > fi<br>> > afstreams.c:38:24: sys/strlog.h: No such file or directory<br>> > afstreams.c: In function `do_stream_read':<br>> > afstreams.c:95: error: storage size of 'lc' isn't known<br>> > afstreams.c:95: warning: unused variable `lc'<br>> > afstreams.c: In function `do_init_afstreams_source':<br>> > afstreams.c:238: error: `I_CONSLOG' undeclared (first use in this function)<br>> > afstreams.c:238: error: (Each undeclared identifier is reported only once<br>> > afstreams.c:238: error: for each function it appears in.)<br>><br>>for some reasons you don't have sys/strlog.h header file, which should<br>>be available on your system. Maybe you missed some development packages.<br>><br>>--<br>>Bazsi<br>><br>>_______________________________________________<br>>syslog-ng maillist - syslog-ng@lists.balabit.hu<br>>https://lists.balabit.hu/mailman/listinfo/syslog-ng<br>>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<br>><br> Yes that is what i thought but does anyone know what rpm I need to install? Are you running redhat and do you have the library?
participants (2)
-
Balazs Scheidler
-
Jeff Wilson