Syslog-ng Installation Problem
To whom it may concern: I am having a problem installing syslog-ng and need some help. I have included installation report files from libol-0.3.9 and syslog-ng-1.6.2. I have attempted the install with various versions of syslog-ng and libol, but I have had no success. I have read the README and INSTALL files for syslog-ng, but they have not provided the assistance I need. Also, I have installed bison and flex. Those two programs installed with no errors. Are there some other dependencies that are not documented? Thanks John T. Hagans North Seattle Community College IT Services Network Supervisor Libol Installation Report ./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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found 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 for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i586-pc-linux-gnu checking build system type... i586-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... (cached) ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static 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... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool 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 sys/socket.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 socklen_t... yes checking for __attribute__... yes checking for working alloca.h... yes checking for alloca... yes checking for inet_addr in -lxnet... no checking for gethostbyname in -lnsl... yes checking for setsockopt in -lsocket... 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 libol.spec creating Makefile creating src/Makefile creating utils/Makefile creating libol-config creating src/olconfig.h Libol Make make Making all in utils make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' sed -e "s,_SCSH_,," make_class.in >make_class chmod +x make_class make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' Making all in src make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c format.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c format.c -fPIC -DPIC -o .libs/format.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c format.c -o format.o >/dev/null 2>&1 mv -f .libs/format.lo format.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c io.c rm -f .libs/io.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c io.c -fPIC -DPIC -o .libs/io.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c io.c -o io.o >/dev/null 2>&1 mv -f .libs/io.lo io.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c werror.c rm -f .libs/werror.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c werror.c -fPIC -DPIC -o .libs/werror.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c werror.c -o werror.o >/dev/null 2>&1 mv -f .libs/werror.lo werror.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c queue.c rm -f .libs/queue.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c queue.c -fPIC -DPIC -o .libs/queue.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c queue.c -o queue.o >/dev/null 2>&1 mv -f .libs/queue.lo queue.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c abstract_io.c rm -f .libs/abstract_io.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c abstract_io.c -fPIC -DPIC -o .libs/abstract_io.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c abstract_io.c -o abstract_io.o >/dev/null 2>&1 mv -f .libs/abstract_io.lo abstract_io.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c gc.c rm -f .libs/gc.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c gc.c -fPIC -DPIC -o .libs/gc.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c gc.c -o gc.o >/dev/null 2>&1 mv -f .libs/gc.lo gc.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c list.c rm -f .libs/list.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c list.c -fPIC -DPIC -o .libs/list.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c list.c -o list.o >/dev/null 2>&1 mv -f .libs/list.lo list.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c read_line.c rm -f .libs/read_line.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c read_line.c -fPIC -DPIC -o .libs/read_line.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c read_line.c -o read_line.o >/dev/null 2>&1 mv -f .libs/read_line.lo read_line.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c xalloc.c rm -f .libs/xalloc.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c xalloc.c -fPIC -DPIC -o .libs/xalloc.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c xalloc.c -o xalloc.o >/dev/null 2>&1 mv -f .libs/xalloc.lo xalloc.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c alist.c rm -f .libs/alist.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c alist.c -fPIC -DPIC -o .libs/alist.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c alist.c -o alist.o >/dev/null 2>&1 mv -f .libs/alist.lo alist.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c stream_buffer.c rm -f .libs/stream_buffer.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c stream_buffer.c -fPIC -DPIC -o .libs/stream_buffer.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c stream_buffer.c -o stream_buffer.o >/dev/null 2>&1 mv -f .libs/stream_buffer.lo stream_buffer.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c pkt_buffer.c rm -f .libs/pkt_buffer.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c pkt_buffer.c -fPIC -DPIC -o .libs/pkt_buffer.lo pkt_buffer.c: In function `do_flush_stream': pkt_buffer.c:108: warning: implicit declaration of function `memcpy' gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c pkt_buffer.c -o pkt_buffer.o >/dev/null 2>&1 mv -f .libs/pkt_buffer.lo pkt_buffer.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c resource.c rm -f .libs/resource.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c resource.c -fPIC -DPIC -o .libs/resource.lo gcc -DHAVE_CONFIG_H -I. -I/apps/syslog-ng/depend/libol/libol-0.3.9/src -I. -D_GNU_SOURCE -Wall -O2 -c resource.c -o resource.o >/dev/null 2>&1 mv -f .libs/resource.lo resource.lo /bin/sh ../libtool --mode=link gcc -Wall -O2 -o libol.la -rpath /usr/local/lib format.lo io.lo werror.lo queue.lo abstract_io.lo gc.lo list.lo read_line.lo xalloc.lo alist.lo stream_buffer.lo pkt_buffer.lo resource.lo -lnsl rm -fr .libs/libol.la .libs/libol.* .libs/libol.* gcc -shared format.lo io.lo werror.lo queue.lo abstract_io.lo gc.lo list.lo read_line.lo xalloc.lo alist.lo stream_buffer.lo pkt_buffer.lo resource.lo -lnsl -Wl,-soname -Wl,libol.so.0 -o .libs/libol.so.0.0.0 (cd .libs && rm -f libol.so.0 && ln -s libol.so.0.0.0 libol.so.0) (cd .libs && rm -f libol.so && ln -s libol.so.0.0.0 libol.so) ar cru .libs/libol.a format.o io.o werror.o queue.o abstract_io.o gc.o list.o read_line.o xalloc.o alist.o stream_buffer.o pkt_buffer.o resource.o ranlib .libs/libol.a creating libol.la (cd .libs && rm -f libol.la && ln -s ../libol.la libol.la) make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9' Libol Make Install make install Making install in utils make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' make[2]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' /bin/sh /apps/syslog-ng/depend/libol/libol-0.3.9/mkinstalldirs /usr/local/bin /usr/bin/install -c make_class /usr/local/bin/make_class make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/utils' Making install in src make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' make[2]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' /bin/sh /apps/syslog-ng/depend/libol/libol-0.3.9/mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libol.la /usr/local/lib/libol.la /usr/bin/install -c .libs/libol.so.0.0.0 /usr/local/lib/libol.so.0.0.0 (cd /usr/local/lib && rm -f libol.so.0 && ln -s libol.so.0.0.0 libol.so.0) (cd /usr/local/lib && rm -f libol.so && ln -s libol.so.0.0.0 libol.so) /usr/bin/install -c .libs/libol.lai /usr/local/lib/libol.la /usr/bin/install -c .libs/libol.a /usr/local/lib/libol.a ranlib /usr/local/lib/libol.a chmod 644 /usr/local/lib/libol.a PATH="$PATH:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/sh /apps/syslog-ng/depend/libol/libol-0.3.9/mkinstalldirs /usr/local/include/libol /usr/bin/install -c -m 644 abstract_io.h /usr/local/include/libol/abstract_io.h /usr/bin/install -c -m 644 alist.h /usr/local/include/libol/alist.h /usr/bin/install -c -m 644 format.h /usr/local/include/libol/format.h /usr/bin/install -c -m 644 gc.h /usr/local/include/libol/gc.h /usr/bin/install -c -m 644 io.h /usr/local/include/libol/io.h /usr/bin/install -c -m 644 jpoll.h /usr/local/include/libol/jpoll.h /usr/bin/install -c -m 644 list.h /usr/local/include/libol/list.h /usr/bin/install -c -m 644 objbase.h /usr/local/include/libol/objbase.h /usr/bin/install -c -m 644 objects.h /usr/local/include/libol/objects.h /usr/bin/install -c -m 644 objtypes.h /usr/local/include/libol/objtypes.h /usr/bin/install -c -m 644 pkt_buffer.h /usr/local/include/libol/pkt_buffer.h /usr/bin/install -c -m 644 queue.h /usr/local/include/libol/queue.h /usr/bin/install -c -m 644 read_line.h /usr/local/include/libol/read_line.h /usr/bin/install -c -m 644 resource.h /usr/local/include/libol/resource.h /usr/bin/install -c -m 644 stream_buffer.h /usr/local/include/libol/stream_buffer.h /usr/bin/install -c -m 644 werror.h /usr/local/include/libol/werror.h /usr/bin/install -c -m 644 xalloc.h /usr/local/include/libol/xalloc.h /usr/bin/install -c -m 644 command.h /usr/local/include/libol/command.h /usr/bin/install -c -m 644 io_commands.h /usr/local/include/libol/io_commands.h /usr/bin/install -c -m 644 abstract_io.h.x /usr/local/include/libol/abstract_io.h.x /usr/bin/install -c -m 644 alist.h.x /usr/local/include/libol/alist.h.x /usr/bin/install -c -m 644 io.h.x /usr/local/include/libol/io.h.x /usr/bin/install -c -m 644 list.h.x /usr/local/include/libol/list.h.x /usr/bin/install -c -m 644 read_line.h.x /usr/local/include/libol/read_line.h.x /usr/bin/install -c -m 644 resource.h.x /usr/local/include/libol/resource.h.x /usr/bin/install -c -m 644 io_commands.h.x /usr/local/include/libol/io_commands.h.x /usr/bin/install -c -m 644 command.h.x /usr/local/include/libol/command.h.x /usr/bin/install -c -m 644 queue.h.x /usr/local/include/libol/queue.h.x /usr/bin/install -c -m 644 olconfig.h /usr/local/include/libol/olconfig.h make[2]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9/src' make[1]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9' make[2]: Entering directory `/apps/syslog-ng/depend/libol/libol-0.3.9' /bin/sh /apps/syslog-ng/depend/libol/libol-0.3.9/mkinstalldirs /usr/local/bin /usr/bin/install -c libol-config /usr/local/bin/libol-config make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9' make[1]: Leaving directory `/apps/syslog-ng/depend/libol/libol-0.3.9' directory `/apps/syslog-ng/depend/libol/libol-0.3.9' Syslog-ng Installation Report ./configure -with-libol= /apps/syslog-ng/depend/libol/libol-0.3.9 configure: warning: /apps/syslog-ng/depend/libol/libol-0.3.9: invalid host type 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-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking whether build environment is sane... yes 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 for gcc option to accept ANSI C... none needed checking for bison... bison -y checking how to run the C preprocessor... gcc -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... yes checking for unistd.h... yes checking for door.h... no checking for stropts.h... yes checking for sys/strlog.h... no checking for stdarg.h... yes checking for sys/klog.h... yes checking for arpa/nameser.h... yes checking for tcpd.h... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking for modern utmp... yes checking whether to compile klogctl... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for I_CONSLOG... no checking for O_LARGEFILE... yes checking for res_init in <resolv.h>... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for res_init in -lresolv... no checking for __res_init in -lresolv... yes checking for door_create in -ldoor... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes 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... yes checking for getopt_long... yes checking for strcasecmp... yes checking for strptime... yes checking for TCP wrapper library... -lwrap 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.13... configure: error: libol-config not found in the specified location Libol-config is in the specied location. #ls -l /apps/syslog-ng/depend/libol/libol-0.3.9/libol-config -rwxr-xr-x 1 root root 1318 Mar 23 17:16 /apps/syslog-ng/depend/libol/libol-0.3.9/libol-config
participants (1)
-
Hagans, John