[syslog-ng]Difficulty compiling syslog-ng 1.4.12 on Solaris 8

Ken Paris kparis@netstars.org
Mon, 17 Sep 2001 11:00:09 -0700 (MST)


Greetings,

Since I am having trouble with getting syslog-ng 1.4.9a to log external 
messages, I am attempting to get the next stable version,1.4.12 going. 

On Solaris 8, I will go to a Development version if there is a consensus that I 
would fair better. What 1.5 version would be suggested.

Disclaimer: Compiling software is not my specialty by any strech of the 
imagination, but I seem to get by ;-)

Platform:   SunOS dv-netlog 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10

configure seems to do fine ...

sudo ./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) lex
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) yes
checking for unistd.h... (cached) yes
checking for door.h... (cached) yes
checking for stropts.h... (cached) yes
checking for sys/strlog.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for modern utmp... (cached) yes
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking for I_CONSLOG... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for vprintf... (cached) yes
checking for door_create in -ldoor... (cached) yes
checking for select... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for strerror... (cached) yes
checking for inet_aton... (cached) no
checking for strncpy... (cached) yes
checking for getutent... (cached) yes
checking for getopt_long... (cached) no
checking for strcasecmp... (cached) yes
checking for pthread.h... (cached) yes
checking for pthread_create in -lpthread... (cached) yes
checking whether to enable Sun STREAMS support... yes
checking whether to enable Sun door support... yes
checking libol version >= 0.2.23... ok
creating ./config.status
creating Makefile
creating src/Makefile
creating src/tests/Makefile
creating doc/Makefile
creating doc/sgml/Makefile
creating contrib/Makefile
creating syslog-ng.spec
creating src/config.h

Make seems like a problem and does not complete.

kparis@dv-netlog$ sudo make
Making all in src
make[1]: Entering directory `/usr/local/install/syslog-ng-1.4.12/src'
make  all-recursive
make[2]: Entering directory `/usr/local/install/syslog-ng-1.4.12/src'
Making all in .
make[3]: Entering directory `/usr/local/install/syslog-ng-1.4.12/src'
gcc -DHAVE_CONFIG_H -I. -I/usr/local/install/syslog-ng-1.4.12/src -I.     -O2 -
Wall -I/usr/local/include/libol -D_GNU_SOURCE -c afstreams.c
afstreams.c: In function `io_stream_get':
afstreams.c:167: too few arguments to function `init_file'
make[3]: *** [afstreams.o] Error 1
make[3]: Leaving directory `/usr/local/install/syslog-ng-1.4.12/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/install/syslog-ng-1.4.12/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/install/syslog-ng-1.4.12/src'
make: *** [all-recursive] Error 1

If any additional info is required, I will be more than happy to provide it if 
I know how to. Any assistance would be appreciated.

Best regards,
Ken Paris/
Senior Network Engineer
Bluestar Solutions, Inc.