-
-
Save vrou/862dffeb869f8beccabc to your computer and use it in GitHub Desktop.
Build fails on Ubuntu 12.04.03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc --version | |
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 | |
$ autoconf --version | |
autoconf (GNU Autoconf) 2.68 | |
$ make -version | |
GNU Make 3.81 | |
$ mvn -v | |
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) | |
Maven home: /opt/local/apache-maven | |
Java version: 1.6.0_27, vendor: Sun Microsystems Inc. | |
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre | |
Default locale: en_US, platform encoding: UTF-8 | |
OS name: "linux", version: "3.2.0-41-generic", arch: "amd64", family: "unix" | |
Compile error: | |
- making private noit-objs/LuaJIT/src/lib_init.o | |
- linking noitd | |
noit-objs/eventer/eventer_impl.o: In function `eventer_gethrtime': | |
/home/vrou/work/reconnoiter-riemann/src/eventer/eventer_impl.c:376: undefined reference to `clock_gettime' | |
collect2: ld returned 1 exit status | |
make[1]: *** [noitd] Error 1 | |
rm noit_events_rest.o | |
make[1]: Leaving directory `/home/vrou/work/reconnoiter-riemann/src' | |
make: *** [all] Error 2 | |
Configure output: | |
$ ./configure | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
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 inline... inline | |
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 whether byte ordering is bigendian... no | |
checking how to run the C preprocessor... gcc -E | |
checking for ranlib... ranlib | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether ln -s works... yes | |
checking for ar... /usr/bin/ar | |
checking for perl... /usr/bin/perl | |
checking for xsltproc... /usr/bin/xsltproc | |
checking for xmllint... /usr/bin/xmllint | |
checking for mvn... /opt/local/apache-maven/bin/mvn | |
checking for java... /usr/bin/java | |
checking for java... (cached) /usr/bin/java | |
checking for javac... /usr/bin/javac | |
checking for javac... (cached) /usr/bin/javac | |
checking for jar... /usr/bin/jar | |
checking for jar... (cached) /usr/bin/jar | |
checking for nroff... /usr/bin/nroff | |
checking for ctfconvert... no | |
checking for ctfmerge... no | |
checking enable build/install of the Java IEP and Jezebel bits... yes | |
checking size of char... 1 | |
checking size of short int... 2 | |
checking size of int... 4 | |
checking size of long int... 8 | |
checking size of long long int... 8 | |
checking size of void *... 8 | |
checking for umem_cache_create in -lumem... no | |
checking for compress2 in -lz... yes | |
checking for sem_init in -lrt... no | |
checking for sem_wait in -lposix4... no | |
checking for pthread_create in -lpthread... yes | |
checking for protobuf_c_message_get_packed_size in -lprotobuf-c... yes | |
checking for uuid_generate... no | |
configure: WARNING: uuid_generate not available | |
checking for library containing uuid_generate... -luuid | |
checking for uuid_unparse_lower... yes | |
checking for openpty in -lutil... yes | |
checking for tputs in -ltermcap... yes | |
checking for clear in -lcurses... yes | |
checking for pcre_compile in -lpcre... yes | |
checking for ERR_load_CRYPTO_strings in -lcrypto... yes | |
checking for SSL_library_init in -lssl... yes | |
checking for PQconnectdb in -lpq... yes | |
checking libpq includes... checking gcrypt.h usability... yes | |
checking gcrypt.h presence... yes | |
checking for gcrypt.h... yes | |
checking mysql.h usability... no | |
checking mysql.h presence... no | |
checking for mysql.h... no | |
checking mysql/mysql.h usability... yes | |
checking mysql/mysql.h presence... yes | |
checking for mysql/mysql.h... yes | |
checking for mysql_real_connect... yes | |
checking net-snmp/net-snmp-config.h usability... yes | |
checking net-snmp/net-snmp-config.h presence... yes | |
checking for net-snmp/net-snmp-config.h... yes | |
checking for snmp_sess_open in -lnetsnmp... yes | |
checking for fq_client_init in -lfq... no | |
checking for libssh2_session_init_ex in -lssh2... yes | |
checking libxml2 cflags... -I/usr/include/libxml2 | |
checking libxml2 libs... -L/usr/lib/x86_64-linux-gnu -lxml2 | |
checking for xmlParseDocument... yes | |
checking libxslt cflags... -I/usr/include/libxml2 | |
checking libxslt libs... -L/usr/lib/x86_64-linux-gnu -lxslt -lxml2 | |
checking for xsltParseStylesheetDoc... yes | |
checking apr-1-config for needed for stomp support... | |
checking libapr cflags... -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 | |
checking libapr libs... -L/usr/lib -lapr-1 | |
checking whether sem_init works... yes | |
checking for strftime... yes | |
checking for ssetugid... no | |
checking for strlcpy... no | |
checking for strnstrn... no | |
checking for openpty... yes | |
checking for inet_pton... yes | |
checking for inet_ntop... yes | |
checking for getopt... yes | |
checking for poll... yes | |
checking for vasprintf... yes | |
checking for strlcat... no | |
checking sys/file.h usability... yes | |
checking sys/file.h presence... yes | |
checking for sys/file.h... yes | |
checking for sys/types.h... (cached) yes | |
checking dirent.h usability... yes | |
checking dirent.h presence... yes | |
checking for dirent.h... yes | |
checking sys/param.h usability... yes | |
checking sys/param.h presence... yes | |
checking for sys/param.h... yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking errno.h usability... yes | |
checking errno.h presence... yes | |
checking for errno.h... yes | |
checking limits.h usability... yes | |
checking limits.h presence... yes | |
checking for limits.h... yes | |
checking sys/resource.h usability... yes | |
checking sys/resource.h presence... yes | |
checking for sys/resource.h... yes | |
checking pthread.h usability... yes | |
checking pthread.h presence... yes | |
checking for pthread.h... yes | |
checking semaphore.h usability... yes | |
checking semaphore.h presence... yes | |
checking for semaphore.h... yes | |
checking pwd.h usability... yes | |
checking pwd.h presence... yes | |
checking for pwd.h... yes | |
checking stdio.h usability... yes | |
checking stdio.h presence... yes | |
checking for stdio.h... yes | |
checking for stdlib.h... (cached) yes | |
checking for string.h... (cached) yes | |
checking ctype.h usability... yes | |
checking ctype.h presence... yes | |
checking for ctype.h... yes | |
checking for unistd.h... (cached) yes | |
checking time.h usability... yes | |
checking time.h presence... yes | |
checking for time.h... yes | |
checking pty.h usability... yes | |
checking pty.h presence... yes | |
checking for pty.h... yes | |
checking for sys/stat.h... (cached) yes | |
checking sys/event.h usability... no | |
checking sys/event.h presence... no | |
checking for sys/event.h... no | |
checking libkern/OSAtomic.h usability... no | |
checking libkern/OSAtomic.h presence... no | |
checking for libkern/OSAtomic.h... no | |
checking termio.h usability... yes | |
checking termio.h presence... yes | |
checking for termio.h... yes | |
checking termios.h usability... yes | |
checking termios.h presence... yes | |
checking for termios.h... yes | |
checking curses.h usability... yes | |
checking curses.h presence... yes | |
checking for curses.h... yes | |
checking sys/cdefs.h usability... yes | |
checking sys/cdefs.h presence... yes | |
checking for sys/cdefs.h... yes | |
checking grp.h usability... yes | |
checking grp.h presence... yes | |
checking for grp.h... yes | |
checking netinet/in_systm.h usability... yes | |
checking netinet/in_systm.h presence... yes | |
checking for netinet/in_systm.h... yes | |
checking sys/ioctl_compat.h usability... no | |
checking sys/ioctl_compat.h presence... no | |
checking for sys/ioctl_compat.h... no | |
checking sys/filio.h usability... no | |
checking sys/filio.h presence... no | |
checking for sys/filio.h... no | |
checking util.h usability... no | |
checking util.h presence... no | |
checking for util.h... no | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking sys/mman.h usability... yes | |
checking sys/mman.h presence... yes | |
checking for sys/mman.h... yes | |
checking sys/ioctl.h usability... yes | |
checking sys/ioctl.h presence... yes | |
checking for sys/ioctl.h... yes | |
checking stropts.h usability... yes | |
checking stropts.h presence... yes | |
checking for stropts.h... yes | |
checking sys/stream.h usability... no | |
checking sys/stream.h presence... no | |
checking for sys/stream.h... no | |
checking alloca.h usability... yes | |
checking alloca.h presence... yes | |
checking for alloca.h... yes | |
checking sys/wait.h usability... yes | |
checking sys/wait.h presence... yes | |
checking for sys/wait.h... yes | |
checking bsd/libutil.h usability... no | |
checking bsd/libutil.h presence... no | |
checking for bsd/libutil.h... no | |
checking libutil.h usability... no | |
checking libutil.h presence... no | |
checking for libutil.h... no | |
checking for term.h... yes | |
checking whether openpty is declared... yes | |
checking for getpwnam_r... yes | |
checking for POSIX.1c getpwnam_r... yes | |
checking for getgrnam_r... yes | |
checking for POSIX.1c getgrnam_r... yes | |
checking for tputs() function final argument type... not char | |
checking for tgoto() function final argument type... not char | |
checking for epoll support... yes | |
checking for kqueue support... no | |
checking for Solaris ports support... no | |
checking for posix_readdir_r... yes | |
checking for sig_t type... yes | |
checking for u_int type... yes | |
checking for intXX_t types... yes | |
checking for int64_t type... yes | |
checking for u_intXX_t types... yes | |
checking for u_int64_t types... yes | |
checking for socklen_t... yes | |
checking for size_t... yes | |
checking for ssize_t... yes | |
checking Resolving libexec path...... /usr/local/libexec/noit | |
checking Resolving javalibdir path...... /usr/local/java | |
checking Resolving sysconfdir path...... /usr/local/etc | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating src/Makefile | |
config.status: creating src/Makefile.objs | |
config.status: creating src/eventer/Makefile | |
config.status: creating src/jlog/Makefile | |
config.status: creating src/jlog/perl/Makefile.PL | |
config.status: creating src/lua/Makefile | |
config.status: creating src/udns/Makefile | |
config.status: creating src/json-lib/Makefile | |
config.status: creating src/yajl-lib/Makefile | |
config.status: creating src/man/Makefile | |
config.status: creating src/modules/Makefile | |
config.status: creating src/modules-lua/Makefile | |
config.status: creating src/utils/Makefile | |
config.status: creating src/noitedit/Makefile | |
config.status: creating src/java/Makefile | |
config.status: creating src/java/reconnoiter-riemann/run-iep.sh | |
config.status: creating src/java/jezebel | |
config.status: creating src/scripts/noit-config | |
config.status: creating sql/Makefile | |
config.status: creating test/Makefile | |
config.status: creating src/noit_config.h | |
config.status: src/noit_config.h is unchanged | |
config.status: creating src/jlog/jlog_config.h | |
config.status: src/jlog/jlog_config.h is unchanged | |
=== Compile-time Configuration === | |
Lua Implementation: LuaJIT | |
== optional noit modules == | |
MySQL module: yes | |
SNMP module: yes | |
SSH2 module: yes | |
== optional stratcon modules == | |
STOMP iep driver: yes | |
FQ iep driver: no | |
== Java bits == | |
Jezebel: yes | |
Reconnoiter: yes | |
Riemann IEP: yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment