I have released syslog-ng version 1.1.9, the latest development version of syslog-ng. I have added parameter parsing, the ability to go into the background and several bugfixes. You'll need libol 0.1.7, so be sure to download that one too. This version is something that could also be used in production environment. libol has been completely split off, and it is installed as a shared library on your system. I have removed the --with-libol switch from configure, syslog-ng will automatically find your installed version of libol. (using the installed libol-config script) I think I'll do a feature freeze now, stabilize syslog-ng, and release 1.2.x as it is, since advanced features are not important for everyone. So please tell me any build and runtime problems you encounter. -- Bazsi PGP key: http://www.balabit.hu/pgpkey.txt, or finger bazsi@balabit.hu
Hi! I'm attempting to compile the new syslog-ng 1.1.9, but not getting too far- When I try to compile libol0.1.7 on FreeBSD 3.0 RELEASE I get: [root@host libol-0.1.7]# make Making all in utils Making all in src /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c format.c rm -f .libs/format.lo gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c -fPIC -DPIC format.c -o .libs/format.lo In file included from format.c:32: /usr/include/netinet/in.h:275: parse error before `u_char' /usr/include/netinet/in.h:275: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:276: warning: data definition has no type or storage class /usr/include/netinet/in.h:277: parse error before `sin_port' /usr/include/netinet/in.h:277: warning: data definition has no type or storage class /usr/include/netinet/in.h:280: parse error before `}' *** Error code 1 Stop. *** Error code 1 Stop. Does anyone have a guess? This is the output of the configure script: [root@buju libol-0.1.7]# ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... 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... found checking whether build environment is sane... yes checking for ranlib... ranlib checking for gcc... 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... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... (cached) yes checking for scsh... no checking host system type... i386-unknown-freebsdelf3.0 checking build system type... i386-unknown-freebsdelf3.0 checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... yes checking for _ prefix in compiled symbols... (cached) no checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... yes checking how to hardcode library paths into programs... immediate checking for /usr/libexec/elf/ld option to reload object files... -r checking dynamic linker characteristics... freebsdelf3.0 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for working const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for __attribute__... yes checking for working alloca.h... no checking for alloca... yes checking for inet_addr in -lxnet... no checking for gethostbyname in -lnsl... no checking for setsockopt in -lsocket... no checking for libol in -lgc_maybe... no checking for select... yes checking for strerror... yes checking for syslog... yes checking for poll... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating utils/Makefile creating libol-config creating src/olconfig.h thanks ! ---------------------------------------------------------------------------- Nicholas Merrill http://www.calyx.net Voice: 212-966-1900 President / CEO http://www.calyx.nl Fax : 212-966-3965 Calyx Internet Access 13 Laight St. NYC, NY 10013 Email: nick@calyx.net ----------------------------------------------------------------------------
I'm attempting to compile the new syslog-ng 1.1.9, but not getting too far- When I try to compile libol0.1.7 on FreeBSD 3.0 RELEASE I get:
[root@host libol-0.1.7]# make Making all in utils Making all in src /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c format.c rm -f .libs/format.lo gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c -fPIC -DPIC format.c -o .libs/format.lo In file included from format.c:32: /usr/include/netinet/in.h:275: parse error before `u_char' /usr/include/netinet/in.h:275: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:276: warning: data definition has no type or storage class /usr/include/netinet/in.h:277: parse error before `sin_port' /usr/include/netinet/in.h:277: warning: data definition has no type or storage class /usr/include/netinet/in.h:280: parse error before `}' *** Error code 1
as it seems, netinet/in.h has a dependency on other headers, and doesn't include it automatically. Try adding an #include <sys/socket.h> before <netinet/in.h> -- Bazsi PGP key: http://www.balabit.hu/pgpkey.txt, or finger bazsi@balabit.hu
On Wed, 28 Apr 1999, Balazs Scheidler wrote:
I'm attempting to compile the new syslog-ng 1.1.9, but not getting too far- When I try to compile libol0.1.7 on FreeBSD 3.0 RELEASE I get:
[root@host libol-0.1.7]# make Making all in utils Making all in src /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c format.c rm -f .libs/format.lo gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c -fPIC -DPIC format.c -o .libs/format.lo In file included from format.c:32: /usr/include/netinet/in.h:275: parse error before `u_char' /usr/include/netinet/in.h:275: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:276: warning: data definition has no type or storage class /usr/include/netinet/in.h:277: parse error before `sin_port' /usr/include/netinet/in.h:277: warning: data definition has no type or storage class /usr/include/netinet/in.h:280: parse error before `}' *** Error code 1
as it seems, netinet/in.h has a dependency on other headers, and doesn't include it automatically. Try adding an
#include <sys/socket.h>
before <netinet/in.h>
-- Bazsi
Hmm that actually seemed to make it worse: [root@host libol-0.1.7]# make Making all in utils Making all in src /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c format.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c -fPIC -DPIC format.c -o .libs/format.lo In file included from format.c:33: /usr/include/sys/socket.h:139: parse error before `u_char' /usr/include/sys/socket.h:139: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:140: warning: data definition has no type or storage class /usr/include/sys/socket.h:142: parse error before `}' /usr/include/sys/socket.h:150: parse error before `u_short' /usr/include/sys/socket.h:150: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:151: warning: data definition has no type or storage class /usr/include/sys/socket.h:266: parse error before `caddr_t' /usr/include/sys/socket.h:266: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:267: warning: data definition has no type or storage class /usr/include/sys/socket.h:269: parse error before `msg_iovlen' /usr/include/sys/socket.h:269: warning: data definition has no type or storage class /usr/include/sys/socket.h:270: parse error before `msg_control' /usr/include/sys/socket.h:270: warning: data definition has no type or storage class /usr/include/sys/socket.h:271: parse error before `msg_controllen' /usr/include/sys/socket.h:271: warning: data definition has no type or storage class /usr/include/sys/socket.h:273: parse error before `}' /usr/include/sys/socket.h:293: parse error before `u_int' /usr/include/sys/socket.h:293: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:297: parse error before `}' /usr/include/sys/socket.h:314: parse error before `pid_t' /usr/include/sys/socket.h:314: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: warning: data definition has no type or storage class /usr/include/sys/socket.h:316: parse error before `cmcred_euid' /usr/include/sys/socket.h:316: warning: data definition has no type or storage class /usr/include/sys/socket.h:317: parse error before `cmcred_gid' /usr/include/sys/socket.h:317: warning: data definition has no type or storage class /usr/include/sys/socket.h:319: parse error before `cmcred_groups' /usr/include/sys/socket.h:319: warning: data definition has no type or storage class /usr/include/sys/socket.h:320: parse error before `}' /usr/include/sys/socket.h:343: parse error before `u_short' /usr/include/sys/socket.h:343: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:345: parse error before `}' /usr/include/sys/socket.h:351: parse error before `caddr_t' /usr/include/sys/socket.h:351: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:355: parse error before `msg_accrights' /usr/include/sys/socket.h:355: warning: data definition has no type or storage class /usr/include/sys/socket.h:357: parse error before `}' /usr/include/sys/socket.h:378: parse error before `recv' /usr/include/sys/socket.h:378: warning: data definition has no type or storage class /usr/include/sys/socket.h:379: parse error before `recvfrom' /usr/include/sys/socket.h:379: warning: data definition has no type or storage class /usr/include/sys/socket.h:380: parse error before `recvmsg' /usr/include/sys/socket.h:380: warning: data definition has no type or storage class /usr/include/sys/socket.h:381: parse error before `send' /usr/include/sys/socket.h:381: warning: data definition has no type or storage class /usr/include/sys/socket.h:382: parse error before `sendto' /usr/include/sys/socket.h:383: warning: data definition has no type or storage class /usr/include/sys/socket.h:384: parse error before `sendmsg' /usr/include/sys/socket.h:384: warning: data definition has no type or storage class In file included from format.c:34: /usr/include/netinet/in.h:275: parse error before `u_char' /usr/include/netinet/in.h:275: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:276: warning: data definition has no type or storage class /usr/include/netinet/in.h:277: parse error before `sin_port' /usr/include/netinet/in.h:277: warning: data definition has no type or storage class /usr/include/netinet/in.h:280: parse error before `}' *** Error code 1 Stop. *** Error code 1 Stop. ---------------------------------------------------------------------------- Nicholas Merrill http://www.calyx.net Voice: 212-966-1900 President / CEO http://www.calyx.nl Fax : 212-966-3965 Calyx Internet Access 13 Laight St. NYC, NY 10013 Email: nick@calyx.net ----------------------------------------------------------------------------
Hmm that actually seemed to make it worse:
[root@host libol-0.1.7]# make Making all in utils Making all in src /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c format.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c -fPIC -DPIC format.c -o .libs/format.lo In file included from format.c:33:
try adding <sys/types.h> this time. I am going to try to compile it under solaris. -- Bazsi PGP key: http://www.balabit.hu/pgpkey.txt, or finger bazsi@balabit.hu
participants (2)
-
Balazs Scheidler
-
Nicholas Merrill