[syslog-ng] installing syslog-ng on a CentOS 5.2

Balazs Scheidler bazsi at balabit.hu
Fri Mar 13 10:09:53 CET 2009


On Thu, 2009-03-12 at 21:42 +0100, Luigi Augello wrote:
> Hi 
> I have tried to install syslog-ng-3.0.1+20090312 with  eventlog-0.2.9
> +20090312 on a CentOS 5.2  following this steps below
> 
> 1)  tar -xzvf eventlog-0.2.9+20090312.tar.gz
> 2) tar -xzvf syslog-ng-3.0.1+20090312.tar.gz
> 3) mkdir -p /opt/syslog-ng-3.0.1/eventlog
> 4) cd eventlog-0.2.9+20090312
> 5) ./configure --prefix=/opt/syslog-ng-3.0.1/eventlog/
> 6)  make&&make install
> 7) export PKG_CONFIG_PATH=/opt/syslog-ng-3.0.1/eventlog/lib/pkgconfig/
> 8) cd syslog-ng-3.0.1+20090312
> 9) ./configure --prefix=/opt/syslog-ng-3.0.1/
> 
> 
> and this is the output executing the last command 
> 
> 
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for bison... no
> checking for byacc... no
> checking for flex... no
> checking for lex... no
> checking whether make sets $(MAKE)... (cached) yes
> checking for ranlib... ranlib
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking how to enable static linking for certain libraries... GNU or
> Solaris
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dmalloc.h usability... no
> checking dmalloc.h presence... no
> checking for dmalloc.h... no
> checking for strings.h... (cached) yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking stropts.h usability... yes
> checking stropts.h presence... yes
> checking for stropts.h... yes
> checking sys/strlog.h usability... no
> checking sys/strlog.h presence... no
> checking for sys/strlog.h... no
> checking door.h usability... no
> checking door.h presence... no
> checking for door.h... no
> checking sys/capability.h usability... no
> checking sys/capability.h presence... no
> checking for sys/capability.h... no
> checking sys/prctl.h usability... yes
> checking sys/prctl.h presence... yes
> checking for sys/prctl.h... yes
> checking tcpd.h usability... yes
> checking tcpd.h presence... yes
> checking for tcpd.h... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for struct tm.tm_gmtoff... yes
> checking for I_CONSLOG... no
> checking for O_LARGEFILE... yes
> checking for struct sockaddr_storage... yes
> checking for struct sockaddr_in6... yes
> checking for PR_SET_KEEPCAPS... yes
> checking for door_create in -ldoor... no
> checking for socket in -lsocket... no
> checking for nanosleep in -lrt... yes
> checking for gethostbyname in -lnsl... yes
> checking for regexec in -lregex... no
> checking for res_init in -lresolv... no
> checking for cap_set_proc in -lcap... no
> checking for pcre_compile in -lpcre... no
> checking for strdup... yes
> checking for strtol... yes
> checking for strtoll... yes
> checking for strtoimax... yes
> checking for inet_aton... yes
> checking for inet_ntoa... yes
> checking for getopt_long... yes
> checking for getaddrinfo... yes
> checking for getutent... yes
> checking for strcasestr... yes
> checking for TCP wrapper library... -lwrap
> checking for OPENSSL... yes
> checking for dlsym in -ldl... yes
> checking for inflate in -lz... yes
> checking for dlsym in -ldl... (cached) yes
> checking for LIBDBI... no
> checking for dbi_initialize in -ldbi... no
> checking for LIBNET... no
> checking whether to enable Sun STREAMS support... no
> checking whether to enable Sun door support... no
> checking whether to enable TCP wrapper support... yes
> checking whether to enable spoof source support... no
> checking whether to enable IPv6 support... yes
> checking whether to enable SQL support... no
> checking whether to enable Linux capability support... no
> checking whether to enable PCRE support... no
> checking for pkg-config... /usr/bin/pkg-config
> checking for GLIB - version >= 2.10.1... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file
> config.log for the
> *** exact error that occured. This usually means GLIB is incorrectly
> installed.
> configure: error: Cannot find GLIB version >= 2.10.1: is pkg-config in
> path?
> 
> the latest 5 lines upon the GLIB library not updated, but mi CentOS is
> the latest. So, why this error?

Please check the config.log file, it has more details. Do you have the
devel packages installed?

-- 
Bazsi




More information about the syslog-ng mailing list