FreeBSD Port: syslog-ng-1.6.0.r1 (sorry if this is a repeat)

Chadwick L. Sorrell chad at hrtc.net
Fri May 2 14:23:38 PDT 2003


Vince,

	I am having trouble compiling the latest syslog-ng.  Here is the output
of the make.

-snip-
===>  Extracting for syslog-ng-1.6.0.r1
>> Checksum OK for syslog-ng-1.6.0rc1.tar.gz.
===>  Patching for syslog-ng-1.6.0.r1
===>  Applying FreeBSD patches for syslog-ng-1.6.0.r1
===>   syslog-ng-1.6.0.r1 depends on file: /usr/local/lib/libol.a -
found
===>   syslog-ng-1.6.0.r1 depends on file: /usr/local/bin/sed_inplace -
found
===>  Configuring for syslog-ng-1.6.0.r1
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... yes
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler...
no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for bison... bison -y
checking how to run the C preprocessor... cc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... yes
checking for malloc.h... no
checking for unistd.h... yes
checking for door.h... no
checking for stropts.h... no
checking for sys/strlog.h... no
checking for stdarg.h... yes
checking for sys/klog.h... no
checking for arpa/nameser.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for modern utmp... no
checking for hosts_access in -lwrap... yes
checking whether to compile klogctl... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for I_CONSLOG... no
checking for O_LARGEFILE... no
checking for res_init in <resolv.h>... yes
checking for working alloca.h... no
checking for alloca... yes
checking for vprintf... yes
checking for res_init in -lresolv... no
checking for __res_init in -lresolv... no
checking for door_create in -ldoor... no
checking for select... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror... yes
checking for inet_aton... yes
checking for strncpy... yes
checking for getutent... no
checking for getopt_long... no
checking for strcasecmp... yes
checking for strptime... yes
checking whether to enable Sun STREAMS support... no
checking whether to enable Sun door support... no
checking whether to enable TCP wrapper support... no
checking libol version >= 0.3.9... test: 0.2.24: bad number
ok
updating cache ./config.cache
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
===>  Building for syslog-ng-1.6.0.r1
Making all in src
cd /usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1 && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
 
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
 
WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])
 
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:59: warning: AC_PROG_LEX invoked multiple times
autoheader: `src/config.h.in' is updated
cd ..  && CONFIG_FILES= CONFIG_HEADERS=src/config.h  /bin/sh
./config.status
creating src/config.h
make  all-recursive
Making all in .
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c main.c
In file included from /usr/include/resolv.h:60,
                 from main.c:49:
/usr/include/sys/param.h:211: warning: `MIN' redefined
/usr/local/include/libol/objtypes.h:82: warning: this is the location of
the previous definition
/usr/include/sys/param.h:212: warning: `MAX' redefined
/usr/local/include/libol/objtypes.h:86: warning: this is the location of
the previous definition
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c sources.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c center.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c filters.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c destinations.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c log.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c cfgfile.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c cfg-grammar.c
flex   cfg-lex.l && mv lex.yy.c cfg-lex.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c cfg-lex.c
cc -DHAVE_CONFIG_H -I.
-I/usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src -I.     -O
-pipe  -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c affile.c
affile.c: In function `do_init_dest_writer':
affile.c:291: too many arguments to function `make_pkt_buffer_ext'
*** Error code 1
 
Stop in /usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src.
*** Error code 1
 
Stop in /usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src.
*** Error code 1
 
Stop in /usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1/src.
*** Error code 1
 
Stop in /usr/ports/sysutils/syslog-ng/work/syslog-ng-1.6.0rc1.
*** Error code 1
 
Stop in /usr/ports/sysutils/syslog-ng.
-snip-

Thanks!

-- 
Chadwick L. Sorrell <csorrell at teamhancock.com>
Hancock Internet
-- 
Chadwick L. Sorrell
System Administrator
Hancock Internet
chad at hrtc.net



More information about the freebsd-ports mailing list