Attempting to build/install 1.19.8. First:
- Code: Select all
./configure --enable-mysql
Output:
- Code: Select all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
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 whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for clock_gettime in -lrt... yes
checking for dlopen in -ldl... yes
checking for sys/types.h... yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
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/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... (cached) 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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for struct sockaddr.sa_len... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for alarm... yes
checking for clock_gettime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for select... yes
checking for setid... no
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strerror_r... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for ttyname_r... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for SYSLOG_UNIXAF support... yes
checking for FSSTND support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
****************************************************
rsyslog will be compiled with the following settings:
Multithreading support enabled: yes
Klogd functionality enabled: yes
Regular expressions support enabled: yes
Zlib compression support enabled: yes
Large file support enabled: yes
Networking support enabled: yes
Debug mode enabled: no
As you can see, no mention of any SQL-related stuff here...
Then the make. Output:
- Code: Select all
make all-am
make[1]: Entering directory `/root/rsyslog-1.19.8'
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT klogd.o -MD -MP -MF .deps/klogd.Tpo -c -o klogd.o klogd.c
mv -f .deps/klogd.Tpo .deps/klogd.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT syslog.o -MD -MP -MF .deps/syslog.Tpo -c -o syslog.o syslog.c
syslog.c: In function `writeSyslogV':
syslog.c:98: warning: function might be possible candidate for `printf' format attribute
mv -f .deps/syslog.Tpo .deps/syslog.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT pidfile.o -MD -MP -MF .deps/pidfile.Tpo -c -o pidfile.o pidfile.c
mv -f .deps/pidfile.Tpo .deps/pidfile.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT ksym.o -MD -MP -MF .deps/ksym.Tpo -c -o ksym.o ksym.c
mv -f .deps/ksym.Tpo .deps/ksym.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT ksym_mod.o -MD -MP -MF .deps/ksym_mod.Tpo -c -o ksym_mod.o ksym_mod.c
mv -f .deps/ksym_mod.Tpo .deps/ksym_mod.Po
gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -o rklogd klogd.o syslog.o pidfile.o ksym.o ksym_mod.o -ldl -lrt
gcc -DHAVE_CONFIG_H -I. -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rfc3195d.o -MD -MP -MF .deps/rfc3195d.Tpo -c -o rfc3195d.o rfc3195d.c
mv -f .deps/rfc3195d.Tpo .deps/rfc3195d.Po
gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -o rfc3195d rfc3195d.o -ldl -lrt
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-syslogd.o -MD -MP -MF .deps/rsyslogd-syslogd.Tpo -c -o rsyslogd-syslogd.o `test -f 'syslogd.c' || echo './'`syslogd.c
In file included from syslogd.c:203:
srUtils.h:64: warning: declaration of `wait' shadows a global declaration
/usr/include/sys/wait.h:115: warning: shadowed declaration is here
mv -f .deps/rsyslogd-syslogd.Tpo .deps/rsyslogd-syslogd.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-pidfile.o -MD -MP -MF .deps/rsyslogd-pidfile.Tpo -c -o rsyslogd-pidfile.o `test -f 'pidfile.c' || echo './'`pidfile.c
mv -f .deps/rsyslogd-pidfile.Tpo .deps/rsyslogd-pidfile.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-template.o -MD -MP -MF .deps/rsyslogd-template.Tpo -c -o rsyslogd-template.o `test -f 'template.c' || echo './'`template.c
mv -f .deps/rsyslogd-template.Tpo .deps/rsyslogd-template.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-outchannel.o -MD -MP -MF .deps/rsyslogd-outchannel.Tpo -c -o rsyslogd-outchannel.o `test -f 'outchannel.c' || echo './'`outchannel.c
mv -f .deps/rsyslogd-outchannel.Tpo .deps/rsyslogd-outchannel.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-stringbuf.o -MD -MP -MF .deps/rsyslogd-stringbuf.Tpo -c -o rsyslogd-stringbuf.o `test -f 'stringbuf.c' || echo './'`stringbuf.c
mv -f .deps/rsyslogd-stringbuf.Tpo .deps/rsyslogd-stringbuf.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-srUtils.o -MD -MP -MF .deps/rsyslogd-srUtils.Tpo -c -o rsyslogd-srUtils.o `test -f 'srUtils.c' || echo './'`srUtils.c
In file included from srUtils.c:44:
srUtils.h:64: warning: declaration of `wait' shadows a global declaration
/usr/include/sys/wait.h:115: warning: shadowed declaration is here
mv -f .deps/rsyslogd-srUtils.Tpo .deps/rsyslogd-srUtils.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-parse.o -MD -MP -MF .deps/rsyslogd-parse.Tpo -c -o rsyslogd-parse.o `test -f 'parse.c' || echo './'`parse.c
mv -f .deps/rsyslogd-parse.Tpo .deps/rsyslogd-parse.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-net.o -MD -MP -MF .deps/rsyslogd-net.Tpo -c -o rsyslogd-net.o `test -f 'net.c' || echo './'`net.c
mv -f .deps/rsyslogd-net.Tpo .deps/rsyslogd-net.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-msg.o -MD -MP -MF .deps/rsyslogd-msg.Tpo -c -o rsyslogd-msg.o `test -f 'msg.c' || echo './'`msg.c
mv -f .deps/rsyslogd-msg.Tpo .deps/rsyslogd-msg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omshell.o -MD -MP -MF .deps/rsyslogd-omshell.Tpo -c -o rsyslogd-omshell.o `test -f 'omshell.c' || echo './'`omshell.c
mv -f .deps/rsyslogd-omshell.Tpo .deps/rsyslogd-omshell.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omusrmsg.o -MD -MP -MF .deps/rsyslogd-omusrmsg.Tpo -c -o rsyslogd-omusrmsg.o `test -f 'omusrmsg.c' || echo './'`omusrmsg.c
mv -f .deps/rsyslogd-omusrmsg.Tpo .deps/rsyslogd-omusrmsg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omfwd.o -MD -MP -MF .deps/rsyslogd-omfwd.Tpo -c -o rsyslogd-omfwd.o `test -f 'omfwd.c' || echo './'`omfwd.c
mv -f .deps/rsyslogd-omfwd.Tpo .deps/rsyslogd-omfwd.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-tcpsyslog.o -MD -MP -MF .deps/rsyslogd-tcpsyslog.Tpo -c -o rsyslogd-tcpsyslog.o `test -f 'tcpsyslog.c' || echo './'`tcpsyslog.c
mv -f .deps/rsyslogd-tcpsyslog.Tpo .deps/rsyslogd-tcpsyslog.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omfile.o -MD -MP -MF .deps/rsyslogd-omfile.Tpo -c -o rsyslogd-omfile.o `test -f 'omfile.c' || echo './'`omfile.c
mv -f .deps/rsyslogd-omfile.Tpo .deps/rsyslogd-omfile.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omdiscard.o -MD -MP -MF .deps/rsyslogd-omdiscard.Tpo -c -o rsyslogd-omdiscard.o `test -f 'omdiscard.c' || echo './'`omdiscard.c
mv -f .deps/rsyslogd-omdiscard.Tpo .deps/rsyslogd-omdiscard.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-modules.o -MD -MP -MF .deps/rsyslogd-modules.Tpo -c -o rsyslogd-modules.o `test -f 'modules.c' || echo './'`modules.c
mv -f .deps/rsyslogd-modules.Tpo .deps/rsyslogd-modules.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-objomsr.o -MD -MP -MF .deps/rsyslogd-objomsr.Tpo -c -o rsyslogd-objomsr.o `test -f 'objomsr.c' || echo './'`objomsr.c
mv -f .deps/rsyslogd-objomsr.Tpo .deps/rsyslogd-objomsr.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-cfsysline.o -MD -MP -MF .deps/rsyslogd-cfsysline.Tpo -c -o rsyslogd-cfsysline.o `test -f 'cfsysline.c' || echo './'`cfsysline.c
mv -f .deps/rsyslogd-cfsysline.Tpo .deps/rsyslogd-cfsysline.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-linkedlist.o -MD -MP -MF .deps/rsyslogd-linkedlist.Tpo -c -o rsyslogd-linkedlist.o `test -f 'linkedlist.c' || echo './'`linkedlist.c
mv -f .deps/rsyslogd-linkedlist.Tpo .deps/rsyslogd-linkedlist.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-iminternal.o -MD -MP -MF .deps/rsyslogd-iminternal.Tpo -c -o rsyslogd-iminternal.o `test -f 'iminternal.c' || echo './'`iminternal.c
mv -f .deps/rsyslogd-iminternal.Tpo .deps/rsyslogd-iminternal.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-action.o -MD -MP -MF .deps/rsyslogd-action.Tpo -c -o rsyslogd-action.o `test -f 'action.c' || echo './'`action.c
mv -f .deps/rsyslogd-action.Tpo .deps/rsyslogd-action.Po
gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -export-dynamic -o rsyslogd rsyslogd-syslogd.o rsyslogd-pidfile.o rsyslogd-template.o rsyslogd-outchannel.o rsyslogd-stringbuf.o rsyslogd-srUtils.o rsyslogd-parse.o rsyslogd-net.o rsyslogd-msg.o rsyslogd-omshell.o rsyslogd-omusrmsg.o rsyslogd-omfwd.o rsyslogd-tcpsyslog.o rsyslogd-omfile.o rsyslogd-omdiscard.o rsyslogd-modules.o rsyslogd-objomsr.o rsyslogd-cfsysline.o rsyslogd-linkedlist.o rsyslogd-iminternal.o rsyslogd-action.o -lz -lpthread -ldl -ldl -lrt
make[1]: Leaving directory `/root/rsyslog-1.19.8'
Again no mention of anything SQL-related. Looks to me like even though I did a --enable-mysql no SQL-support actually got enabled...
So how DO I get MySQL support up and running?


