cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Moderators: Developers, Moderators
cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hi all,
I'm trying to compile spine 0.8.8c on Ubuntu 14.04.1 LTS, but when I run configure it returns the following error:
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... no
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
Although I have installed the development files for libsnmp:
dpkg -l | grep snmp
ii libsnmp-base 5.7.2~dfsg-8.1ubuntu3 all SNMP configuration script, MIBs and documentation
ii libsnmp-dev 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) development files
ii libsnmp-perl 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) Perl5 support
ii libsnmp30:amd64 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) library
ii php5-snmp 5.5.9+dfsg-1ubuntu4.5 amd64 SNMP module for php5
ii snmp 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) applications
ii snmpd 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) agents
The configure options I use are: "--prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192 --with-snmp=/usr/include/net-snmp/ --with-mysql=/usr/include/mysql/"
Can someone please advice?
Regards.
I'm trying to compile spine 0.8.8c on Ubuntu 14.04.1 LTS, but when I run configure it returns the following error:
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... no
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
Although I have installed the development files for libsnmp:
dpkg -l | grep snmp
ii libsnmp-base 5.7.2~dfsg-8.1ubuntu3 all SNMP configuration script, MIBs and documentation
ii libsnmp-dev 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) development files
ii libsnmp-perl 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) Perl5 support
ii libsnmp30:amd64 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) library
ii php5-snmp 5.5.9+dfsg-1ubuntu4.5 amd64 SNMP module for php5
ii snmp 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) applications
ii snmpd 5.7.2~dfsg-8.1ubuntu3 amd64 SNMP (Simple Network Management Protocol) agents
The configure options I use are: "--prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192 --with-snmp=/usr/include/net-snmp/ --with-mysql=/usr/include/mysql/"
Can someone please advice?
Regards.
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Not being a linux expert, you cannot install the net-snmp libraries?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hi,
The net-snmp libraries are installed, as you can see from my "dpkg -l | grep snmp" output, but the configure script is unable to locate them. I'm not really sure how to troubleshoot this further. This is the content of the "/usr/include/net-snmp/" directory:
# dir /usr/include/net-snmp/
agent definitions.h machine net-snmp-config.h net-snmp-includes.h pdu_api.h snmpv3_api.h types.h utilities.h version.h
config_api.h library mib_api.h net-snmp-features.h output_api.h session_api.h system util_funcs.h varbind_api.h
#
Kind regards.
The net-snmp libraries are installed, as you can see from my "dpkg -l | grep snmp" output, but the configure script is unable to locate them. I'm not really sure how to troubleshoot this further. This is the content of the "/usr/include/net-snmp/" directory:
# dir /usr/include/net-snmp/
agent definitions.h machine net-snmp-config.h net-snmp-includes.h pdu_api.h snmpv3_api.h types.h utilities.h version.h
config_api.h library mib_api.h net-snmp-features.h output_api.h session_api.h system util_funcs.h varbind_api.h
#
Kind regards.
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Can you remove the mysql and net-snmp directives to configure. Also attach the config.log for review.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hi BSOD2600,
I have removed those directives and I get the same error. See the config log below:
~# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Spine Poller configure 0.8.8c, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192
## --------- ##
## Platform. ##
## --------- ##
hostname = pmacct
uname -m = x86_64
uname -r = 3.13.0-44-generic
uname -s = Linux
uname -v = #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure checking build system type
configure result: x86_64-unknown-linux-gnu
configure checking host system type
configure result: x86_64-unknown-linux-gnu
configure checking for a BSD-compatible install
configure result: /usr/bin/install -c
configure checking whether build environment is sane
configure result: yes
configure checking for a thread-safe mkdir -p
configure result: /bin/mkdir -p
configure checking for gawk
configure found /usr/bin/gawk
configure result: gawk
configure checking whether make sets $(MAKE)
configure result: yes
configure checking whether make supports nested variables
configure result: yes
configure checking for gawk
configure result: gawk
configure checking for gcc
configure found /usr/bin/gcc
configure result: gcc
configure checking for C compiler version
configure gcc --version >&5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure $? = 0
configure gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure $? = 0
configure gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure checking whether the C compiler works
configure gcc conftest.c >&5
configure $? = 0
configure result: yes
configure checking for C compiler default output file name
configure result: a.out
configure checking for suffix of executables
configure gcc -o conftest conftest.c >&5
configure $? = 0
configure result:
configure checking whether we are cross compiling
configure gcc -o conftest conftest.c >&5
configure $? = 0
configure ./conftest
configure $? = 0
configure result: no
configure checking for suffix of object files
configure gcc -c conftest.c >&5
configure $? = 0
configure result: o
configure checking whether we are using the GNU C compiler
configure gcc -c conftest.c >&5
configure $? = 0
configure result: yes
configure checking whether gcc accepts -g
configure gcc -c -g conftest.c >&5
configure $? = 0
configure result: yes
configure checking for gcc option to accept ISO C89
configure gcc -c -g -O2 conftest.c >&5
configure $? = 0
configure result: none needed
configure checking whether gcc understands -c and -o together
configure gcc -c conftest.c -o conftest2.o
configure $? = 0
configure gcc -c conftest.c -o conftest2.o
configure $? = 0
configure result: yes
configure checking for style of include used by make
configure result: GNU
configure checking dependency style of gcc
configure:4056: result: gcc3
configure:4076: checking how to run the C preprocessor
configure:4107: gcc -E conftest.c
configure:4107: $? = 0
configure:4121: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4121: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4146: result: gcc -E
configure:4166: gcc -E conftest.c
configure:4166: $? = 0
configure:4180: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4180: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4209: checking whether ln -s works
configure:4213: result: yes
configure:4222: checking whether to enable -Wall
configure:4233: result: no
configure:4247: checking for threadsafe gethostbyname()
configure:4257: result: no
configure:4263: checking for gethostbyname_r in -lnls
configure:4288: gcc -o conftest -g -O2 conftest.c -lnls >&5
/usr/bin/ld: cannot find -lnls
collect2: error: ld returned 1 exit status
configure:4288: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname_r ();
| int
| main ()
| {
| return gethostbyname_r ();
| ;
| return 0;
| }
configure:4297: result: no
configure:4308: checking for socket in -lsocket
configure:4333: gcc -o conftest -g -O2 conftest.c -lsocket >&5
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
configure:4333: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char socket ();
| int
| main ()
| {
| return socket ();
| ;
| return 0;
| }
configure:4342: result: no
configure:4353: checking for floor in -lm
configure:4378: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:18:6: warning: conflicting types for built-in function 'floor' [enabled by default]
char floor ();
^
configure:4378: $? = 0
configure:4387: result: yes
configure:4398: checking for pthread_exit in -lpthread
configure:4423: gcc -o conftest -g -O2 conftest.c -lpthread -lm >&5
configure:4423: $? = 0
configure:4432: result: yes
configure:4445: checking for deflate in -lz
configure:4470: gcc -o conftest -g -O2 conftest.c -lz -lpthread -lm >&5
configure:4470: $? = 0
configure:4479: result: yes
configure:4490: checking for kstat_close in -lkstat
configure:4515: gcc -o conftest -g -O2 conftest.c -lkstat -lz -lpthread -lm >&5
/usr/bin/ld: cannot find -lkstat
collect2: error: ld returned 1 exit status
configure:4515: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char kstat_close ();
| int
| main ()
| {
| return kstat_close ();
| ;
| return 0;
| }
configure:4524: result: no
configure:4535: checking for CRYPTO_realloc in -lcrypto
configure:4560: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:4560: $? = 0
configure:4569: result: yes
configure:4583: checking for grep that handles long lines and -e
configure:4641: result: /bin/grep
configure:4646: checking for egrep
configure:4708: result: /bin/grep -E
configure:4713: checking for ANSI C header files
configure:4733: gcc -c -g -O2 conftest.c >&5
configure:4733: $? = 0
configure:4806: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:4806: $? = 0
configure:4806: ./conftest
configure:4806: $? = 0
configure:4817: result: yes
configure:4830: checking for sys/types.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for sys/stat.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for stdlib.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for string.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for memory.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for strings.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for inttypes.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for stdint.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for unistd.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4845: checking sys/socket.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/socket.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/socket.h
configure:4845: result: yes
configure:4845: checking sys/select.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/select.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/select.h
configure:4845: result: yes
configure:4845: checking sys/wait.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/wait.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/wait.h
configure:4845: result: yes
configure:4845: checking sys/time.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/time.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/time.h
configure:4845: result: yes
configure:4858: checking assert.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking assert.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for assert.h
configure:4858: result: yes
configure:4858: checking ctype.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking ctype.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for ctype.h
configure:4858: result: yes
configure:4858: checking errno.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking errno.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for errno.h
configure:4858: result: yes
configure:4858: checking signal.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking signal.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for signal.h
configure:4858: result: yes
configure:4858: checking math.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking math.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for math.h
configure:4858: result: yes
configure:4858: checking malloc.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking malloc.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for malloc.h
configure:4858: result: yes
configure:4858: checking netdb.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking netdb.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for netdb.h
configure:4858: result: yes
configure:4871: checking for signal.h
configure:4871: result: yes
configure:4871: checking stdarg.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking stdarg.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for stdarg.h
configure:4871: result: yes
configure:4871: checking stdio.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking stdio.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for stdio.h
configure:4871: result: yes
configure:4871: checking syslog.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking syslog.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for syslog.h
configure:4871: result: yes
configure:4884: checking for netinet/in_systm.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/in.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/ip.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/ip_icmp.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4909: checking for unsigned long long
configure:4909: gcc -c -g -O2 conftest.c >&5
configure:4909: $? = 0
configure:4909: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:80:33: error: expected expression before ')' token
if (sizeof ((unsigned long long)))
^
configure:4909: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((unsigned long long)))
| return 0;
| ;
| return 0;
| }
configure:4909: result: yes
configure:4918: checking for long long
configure:4918: gcc -c -g -O2 conftest.c >&5
configure:4918: $? = 0
configure:4918: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:81:24: error: expected expression before ')' token
if (sizeof ((long long)))
^
configure:4918: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((long long)))
| return 0;
| ;
| return 0;
| }
configure:4918: result: yes
configure:4928: checking for an ANSI C-conforming const
configure:4994: gcc -c -g -O2 conftest.c >&5
configure:4994: $? = 0
configure:5001: result: yes
configure:5009: checking for size_t
configure:5009: gcc -c -g -O2 conftest.c >&5
configure:5009: $? = 0
configure:5009: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:5009: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5009: result: yes
configure:5020: checking whether time.h and sys/time.h may both be included
configure:5040: gcc -c -g -O2 conftest.c >&5
configure:5040: $? = 0
configure:5047: result: yes
configure:5055: checking whether struct tm is in sys/time.h or time.h
configure:5075: gcc -c -g -O2 conftest.c >&5
configure:5075: $? = 0
configure:5082: result: time.h
configure:5092: checking return type of signal handlers
configure:5110: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:53:1: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
^
configure:5110: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:5117: result: void
configure:5128: checking for malloc
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
conftest.c:71:6: warning: conflicting types for built-in function 'malloc' [enabled by default]
char malloc ();
^
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for calloc
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
conftest.c:72:6: warning: conflicting types for built-in function 'calloc' [enabled by default]
char calloc ();
^
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for gettimeofday
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for strerror
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for strtoll
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5141: checking priv.h usability
configure:5141: gcc -c -g -O2 conftest.c >&5
conftest.c:86:18: fatal error: priv.h: No such file or directory
#include <priv.h>
^
compilation terminated.
configure:5141: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <priv.h>
configure:5141: result: no
configure:5141: checking priv.h presence
configure:5141: gcc -E conftest.c
conftest.c:53:18: fatal error: priv.h: No such file or directory
#include <priv.h>
^
compilation terminated.
configure:5141: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <priv.h>
configure:5141: result: no
configure:5141: checking for priv.h
configure:5141: result: no
configure:5151: checking whether we are using Solaris privileges
configure:5173: result: no
configure:5178: checking sys/capability.h usability
configure:5178: gcc -c -g -O2 conftest.c >&5
conftest.c:86:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
compilation terminated.
configure:5178: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/capability.h>
configure:5178: result: no
configure:5178: checking sys/capability.h presence
configure:5178: gcc -E conftest.c
conftest.c:53:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
compilation terminated.
configure:5178: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <sys/capability.h>
configure:5178: result: no
configure:5178: checking for sys/capability.h
configure:5178: result: no
configure:5188: checking whether we are using Linux Capabilities
configure:5257: result: no
configure:5324: checking for mysql_init in -lmysqlclient_r
configure:5349: gcc -o conftest -I/usr/include/mysql -g -O2 conftest.c -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
configure:5349: $? = 0
configure:5358: result: yes
configure:5368: checking for mysql_thread_init in -lmysqlclient_r
configure:5393: gcc -o conftest -I/usr/include/mysql -g -O2 conftest.c -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
configure:5393: $? = 0
configure:5402: result: yes
configure:5480: checking if UCD-SNMP needs crypto support
configure:5494: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
conftest.c:54:29: fatal error: ucd-snmp-config.h: No such file or directory
#include <ucd-snmp-config.h>
^
compilation terminated.
configure:5494: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| /* end confdefs.h. */
| #include <ucd-snmp-config.h>
| int
| main ()
| {
| exit(USE_OPENSSL != 1);
| ;
| return 0;
| }
configure:5500: result: no
configure:5506: checking if Net-SNMP needs crypto support
configure:5519: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:58:1: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(USE_OPENSSL != 1);
^
configure:5519: $? = 0
configure:5520: result: yes
configure:5546: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
configure:5546: $? = 0
configure:5559: checking for snmp_timeout in -lnetsnmp
configure:5584: gcc -o conftest -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L conftest.c -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:5584: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| #define SNMP_LOCALNAME 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snmp_timeout ();
| int
| main ()
| {
| return snmp_timeout ();
| ;
| return 0;
| }
configure:5593: result: no
configure:5602: result: Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
configure:5610: checking for snmp_timeout in -lsnmp
configure:5635: gcc -o conftest -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L conftest.c -lsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:5635: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| #define SNMP_LOCALNAME 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snmp_timeout ();
| int
| main ()
| {
| return snmp_timeout ();
| ;
| return 0;
| }
configure:5644: result: no
configure:5649: error: Cannot find UCD-SNMP libraries(snmp)
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_calloc=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc=yes
ac_cv_func_strerror=yes
ac_cv_func_strtoll=yes
ac_cv_header_assert_h=yes
ac_cv_header_ctype_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_in_systm_h=yes
ac_cv_header_netinet_ip_h=yes
ac_cv_header_netinet_ip_icmp_h=yes
ac_cv_header_priv_h=no
ac_cv_header_signal_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_capability_h=no
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_crypto_CRYPTO_realloc=yes
ac_cv_lib_kstat_kstat_close=no
ac_cv_lib_m_floor=yes
ac_cv_lib_mysqlclient_r_mysql_init=yes
ac_cv_lib_mysqlclient_r_mysql_thread_init=yes
ac_cv_lib_netsnmp_snmp_timeout=no
ac_cv_lib_nls_gethostbyname_r=no
ac_cv_lib_pthread_pthread_exit=yes
ac_cv_lib_snmp_snmp_timeout=no
ac_cv_lib_socket_socket=no
ac_cv_lib_z_deflate=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
ac_cv_type_long_long=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_unsigned_long_long=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing autoconf'
AUTOHEADER='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing autoheader'
AUTOMAKE='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing automake-1.14'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-L '
LIBOBJS=''
LIBS='-lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm '
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
PACKAGE='spine'
PACKAGE_BUGREPORT='http://www.cacti.net/bugs.php'
PACKAGE_NAME='Spine Poller'
PACKAGE_STRING='Spine Poller 0.8.8c'
PACKAGE_TARNAME='spine-poller'
PACKAGE_URL=''
PACKAGE_VERSION='0.8.8c'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.8.8c'
ac_aux_dir='config'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/spine'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Spine Poller"
#define PACKAGE_TARNAME "spine-poller"
#define PACKAGE_VERSION "0.8.8c"
#define PACKAGE_STRING "Spine Poller 0.8.8c"
#define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
#define PACKAGE_URL ""
#define PACKAGE "spine"
#define VERSION "0.8.8c"
#define HAVE_LIBM 1
#define HAVE_LIBPTHREAD 1
#define HAVE_LIBZ 1
#define HAVE_LIBCRYPTO 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_ASSERT_H 1
#define HAVE_CTYPE_H 1
#define HAVE_ERRNO_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_MATH_H 1
#define HAVE_MALLOC_H 1
#define HAVE_NETDB_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDIO_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_IP_ICMP_H 1
#define HAVE_UNSIGNED_LONG_LONG 1
#define HAVE_LONG_LONG 1
#define TIME_WITH_SYS_TIME 1
#define RETSIGTYPE void
#define HAVE_MALLOC 1
#define HAVE_CALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_STRERROR 1
#define HAVE_STRTOLL 1
#define HAVE_LIBMYSQLCLIENT_R 1
#define SNMP_LOCALNAME 1
configure: exit 1
~#
I have removed those directives and I get the same error. See the config log below:
~# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Spine Poller configure 0.8.8c, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192
## --------- ##
## Platform. ##
## --------- ##
hostname = pmacct
uname -m = x86_64
uname -r = 3.13.0-44-generic
uname -s = Linux
uname -v = #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure checking build system type
configure result: x86_64-unknown-linux-gnu
configure checking host system type
configure result: x86_64-unknown-linux-gnu
configure checking for a BSD-compatible install
configure result: /usr/bin/install -c
configure checking whether build environment is sane
configure result: yes
configure checking for a thread-safe mkdir -p
configure result: /bin/mkdir -p
configure checking for gawk
configure found /usr/bin/gawk
configure result: gawk
configure checking whether make sets $(MAKE)
configure result: yes
configure checking whether make supports nested variables
configure result: yes
configure checking for gawk
configure result: gawk
configure checking for gcc
configure found /usr/bin/gcc
configure result: gcc
configure checking for C compiler version
configure gcc --version >&5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure $? = 0
configure gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure $? = 0
configure gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure checking whether the C compiler works
configure gcc conftest.c >&5
configure $? = 0
configure result: yes
configure checking for C compiler default output file name
configure result: a.out
configure checking for suffix of executables
configure gcc -o conftest conftest.c >&5
configure $? = 0
configure result:
configure checking whether we are cross compiling
configure gcc -o conftest conftest.c >&5
configure $? = 0
configure ./conftest
configure $? = 0
configure result: no
configure checking for suffix of object files
configure gcc -c conftest.c >&5
configure $? = 0
configure result: o
configure checking whether we are using the GNU C compiler
configure gcc -c conftest.c >&5
configure $? = 0
configure result: yes
configure checking whether gcc accepts -g
configure gcc -c -g conftest.c >&5
configure $? = 0
configure result: yes
configure checking for gcc option to accept ISO C89
configure gcc -c -g -O2 conftest.c >&5
configure $? = 0
configure result: none needed
configure checking whether gcc understands -c and -o together
configure gcc -c conftest.c -o conftest2.o
configure $? = 0
configure gcc -c conftest.c -o conftest2.o
configure $? = 0
configure result: yes
configure checking for style of include used by make
configure result: GNU
configure checking dependency style of gcc
configure:4056: result: gcc3
configure:4076: checking how to run the C preprocessor
configure:4107: gcc -E conftest.c
configure:4107: $? = 0
configure:4121: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4121: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4146: result: gcc -E
configure:4166: gcc -E conftest.c
configure:4166: $? = 0
configure:4180: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4180: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4209: checking whether ln -s works
configure:4213: result: yes
configure:4222: checking whether to enable -Wall
configure:4233: result: no
configure:4247: checking for threadsafe gethostbyname()
configure:4257: result: no
configure:4263: checking for gethostbyname_r in -lnls
configure:4288: gcc -o conftest -g -O2 conftest.c -lnls >&5
/usr/bin/ld: cannot find -lnls
collect2: error: ld returned 1 exit status
configure:4288: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname_r ();
| int
| main ()
| {
| return gethostbyname_r ();
| ;
| return 0;
| }
configure:4297: result: no
configure:4308: checking for socket in -lsocket
configure:4333: gcc -o conftest -g -O2 conftest.c -lsocket >&5
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
configure:4333: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char socket ();
| int
| main ()
| {
| return socket ();
| ;
| return 0;
| }
configure:4342: result: no
configure:4353: checking for floor in -lm
configure:4378: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:18:6: warning: conflicting types for built-in function 'floor' [enabled by default]
char floor ();
^
configure:4378: $? = 0
configure:4387: result: yes
configure:4398: checking for pthread_exit in -lpthread
configure:4423: gcc -o conftest -g -O2 conftest.c -lpthread -lm >&5
configure:4423: $? = 0
configure:4432: result: yes
configure:4445: checking for deflate in -lz
configure:4470: gcc -o conftest -g -O2 conftest.c -lz -lpthread -lm >&5
configure:4470: $? = 0
configure:4479: result: yes
configure:4490: checking for kstat_close in -lkstat
configure:4515: gcc -o conftest -g -O2 conftest.c -lkstat -lz -lpthread -lm >&5
/usr/bin/ld: cannot find -lkstat
collect2: error: ld returned 1 exit status
configure:4515: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char kstat_close ();
| int
| main ()
| {
| return kstat_close ();
| ;
| return 0;
| }
configure:4524: result: no
configure:4535: checking for CRYPTO_realloc in -lcrypto
configure:4560: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:4560: $? = 0
configure:4569: result: yes
configure:4583: checking for grep that handles long lines and -e
configure:4641: result: /bin/grep
configure:4646: checking for egrep
configure:4708: result: /bin/grep -E
configure:4713: checking for ANSI C header files
configure:4733: gcc -c -g -O2 conftest.c >&5
configure:4733: $? = 0
configure:4806: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:4806: $? = 0
configure:4806: ./conftest
configure:4806: $? = 0
configure:4817: result: yes
configure:4830: checking for sys/types.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for sys/stat.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for stdlib.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for string.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for memory.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for strings.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for inttypes.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for stdint.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4830: checking for unistd.h
configure:4830: gcc -c -g -O2 conftest.c >&5
configure:4830: $? = 0
configure:4830: result: yes
configure:4845: checking sys/socket.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/socket.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/socket.h
configure:4845: result: yes
configure:4845: checking sys/select.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/select.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/select.h
configure:4845: result: yes
configure:4845: checking sys/wait.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/wait.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/wait.h
configure:4845: result: yes
configure:4845: checking sys/time.h usability
configure:4845: gcc -c -g -O2 conftest.c >&5
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking sys/time.h presence
configure:4845: gcc -E conftest.c
configure:4845: $? = 0
configure:4845: result: yes
configure:4845: checking for sys/time.h
configure:4845: result: yes
configure:4858: checking assert.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking assert.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for assert.h
configure:4858: result: yes
configure:4858: checking ctype.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking ctype.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for ctype.h
configure:4858: result: yes
configure:4858: checking errno.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking errno.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for errno.h
configure:4858: result: yes
configure:4858: checking signal.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking signal.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for signal.h
configure:4858: result: yes
configure:4858: checking math.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking math.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for math.h
configure:4858: result: yes
configure:4858: checking malloc.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking malloc.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for malloc.h
configure:4858: result: yes
configure:4858: checking netdb.h usability
configure:4858: gcc -c -g -O2 conftest.c >&5
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking netdb.h presence
configure:4858: gcc -E conftest.c
configure:4858: $? = 0
configure:4858: result: yes
configure:4858: checking for netdb.h
configure:4858: result: yes
configure:4871: checking for signal.h
configure:4871: result: yes
configure:4871: checking stdarg.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking stdarg.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for stdarg.h
configure:4871: result: yes
configure:4871: checking stdio.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking stdio.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for stdio.h
configure:4871: result: yes
configure:4871: checking syslog.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking syslog.h presence
configure:4871: gcc -E conftest.c
configure:4871: $? = 0
configure:4871: result: yes
configure:4871: checking for syslog.h
configure:4871: result: yes
configure:4884: checking for netinet/in_systm.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/in.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/ip.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4884: checking for netinet/ip_icmp.h
configure:4884: gcc -c -g -O2 conftest.c >&5
configure:4884: $? = 0
configure:4884: result: yes
configure:4909: checking for unsigned long long
configure:4909: gcc -c -g -O2 conftest.c >&5
configure:4909: $? = 0
configure:4909: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:80:33: error: expected expression before ')' token
if (sizeof ((unsigned long long)))
^
configure:4909: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((unsigned long long)))
| return 0;
| ;
| return 0;
| }
configure:4909: result: yes
configure:4918: checking for long long
configure:4918: gcc -c -g -O2 conftest.c >&5
configure:4918: $? = 0
configure:4918: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:81:24: error: expected expression before ')' token
if (sizeof ((long long)))
^
configure:4918: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((long long)))
| return 0;
| ;
| return 0;
| }
configure:4918: result: yes
configure:4928: checking for an ANSI C-conforming const
configure:4994: gcc -c -g -O2 conftest.c >&5
configure:4994: $? = 0
configure:5001: result: yes
configure:5009: checking for size_t
configure:5009: gcc -c -g -O2 conftest.c >&5
configure:5009: $? = 0
configure:5009: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:5009: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5009: result: yes
configure:5020: checking whether time.h and sys/time.h may both be included
configure:5040: gcc -c -g -O2 conftest.c >&5
configure:5040: $? = 0
configure:5047: result: yes
configure:5055: checking whether struct tm is in sys/time.h or time.h
configure:5075: gcc -c -g -O2 conftest.c >&5
configure:5075: $? = 0
configure:5082: result: time.h
configure:5092: checking return type of signal handlers
configure:5110: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:53:1: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
^
configure:5110: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:5117: result: void
configure:5128: checking for malloc
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
conftest.c:71:6: warning: conflicting types for built-in function 'malloc' [enabled by default]
char malloc ();
^
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for calloc
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
conftest.c:72:6: warning: conflicting types for built-in function 'calloc' [enabled by default]
char calloc ();
^
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for gettimeofday
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for strerror
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for strtoll
configure:5128: gcc -o conftest -g -O2 conftest.c -lcrypto -lz -lpthread -lm >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5141: checking priv.h usability
configure:5141: gcc -c -g -O2 conftest.c >&5
conftest.c:86:18: fatal error: priv.h: No such file or directory
#include <priv.h>
^
compilation terminated.
configure:5141: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <priv.h>
configure:5141: result: no
configure:5141: checking priv.h presence
configure:5141: gcc -E conftest.c
conftest.c:53:18: fatal error: priv.h: No such file or directory
#include <priv.h>
^
compilation terminated.
configure:5141: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <priv.h>
configure:5141: result: no
configure:5141: checking for priv.h
configure:5141: result: no
configure:5151: checking whether we are using Solaris privileges
configure:5173: result: no
configure:5178: checking sys/capability.h usability
configure:5178: gcc -c -g -O2 conftest.c >&5
conftest.c:86:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
compilation terminated.
configure:5178: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/capability.h>
configure:5178: result: no
configure:5178: checking sys/capability.h presence
configure:5178: gcc -E conftest.c
conftest.c:53:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
compilation terminated.
configure:5178: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| /* end confdefs.h. */
| #include <sys/capability.h>
configure:5178: result: no
configure:5178: checking for sys/capability.h
configure:5178: result: no
configure:5188: checking whether we are using Linux Capabilities
configure:5257: result: no
configure:5324: checking for mysql_init in -lmysqlclient_r
configure:5349: gcc -o conftest -I/usr/include/mysql -g -O2 conftest.c -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
configure:5349: $? = 0
configure:5358: result: yes
configure:5368: checking for mysql_thread_init in -lmysqlclient_r
configure:5393: gcc -o conftest -I/usr/include/mysql -g -O2 conftest.c -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
configure:5393: $? = 0
configure:5402: result: yes
configure:5480: checking if UCD-SNMP needs crypto support
configure:5494: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
conftest.c:54:29: fatal error: ucd-snmp-config.h: No such file or directory
#include <ucd-snmp-config.h>
^
compilation terminated.
configure:5494: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| /* end confdefs.h. */
| #include <ucd-snmp-config.h>
| int
| main ()
| {
| exit(USE_OPENSSL != 1);
| ;
| return 0;
| }
configure:5500: result: no
configure:5506: checking if Net-SNMP needs crypto support
configure:5519: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:58:1: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(USE_OPENSSL != 1);
^
configure:5519: $? = 0
configure:5520: result: yes
configure:5546: gcc -c -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 conftest.c >&5
configure:5546: $? = 0
configure:5559: checking for snmp_timeout in -lnetsnmp
configure:5584: gcc -o conftest -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L conftest.c -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:5584: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| #define SNMP_LOCALNAME 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snmp_timeout ();
| int
| main ()
| {
| return snmp_timeout ();
| ;
| return 0;
| }
configure:5593: result: no
configure:5602: result: Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
configure:5610: checking for snmp_timeout in -lsnmp
configure:5635: gcc -o conftest -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L conftest.c -lsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm >&5
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:5635: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "0.8.8c"
| #define PACKAGE_STRING "Spine Poller 0.8.8c"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine"
| #define VERSION "0.8.8c"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBCRYPTO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_MATH_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_LONG_LONG 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_MALLOC 1
| #define HAVE_CALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOLL 1
| #define HAVE_LIBMYSQLCLIENT_R 1
| #define SNMP_LOCALNAME 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snmp_timeout ();
| int
| main ()
| {
| return snmp_timeout ();
| ;
| return 0;
| }
configure:5644: result: no
configure:5649: error: Cannot find UCD-SNMP libraries(snmp)
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_calloc=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc=yes
ac_cv_func_strerror=yes
ac_cv_func_strtoll=yes
ac_cv_header_assert_h=yes
ac_cv_header_ctype_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_in_systm_h=yes
ac_cv_header_netinet_ip_h=yes
ac_cv_header_netinet_ip_icmp_h=yes
ac_cv_header_priv_h=no
ac_cv_header_signal_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_capability_h=no
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_crypto_CRYPTO_realloc=yes
ac_cv_lib_kstat_kstat_close=no
ac_cv_lib_m_floor=yes
ac_cv_lib_mysqlclient_r_mysql_init=yes
ac_cv_lib_mysqlclient_r_mysql_thread_init=yes
ac_cv_lib_netsnmp_snmp_timeout=no
ac_cv_lib_nls_gethostbyname_r=no
ac_cv_lib_pthread_pthread_exit=yes
ac_cv_lib_snmp_snmp_timeout=no
ac_cv_lib_socket_socket=no
ac_cv_lib_z_deflate=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
ac_cv_type_long_long=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_unsigned_long_long=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing autoconf'
AUTOHEADER='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing autoheader'
AUTOMAKE='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing automake-1.14'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-L '
LIBOBJS=''
LIBS='-lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm '
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
PACKAGE='spine'
PACKAGE_BUGREPORT='http://www.cacti.net/bugs.php'
PACKAGE_NAME='Spine Poller'
PACKAGE_STRING='Spine Poller 0.8.8c'
PACKAGE_TARNAME='spine-poller'
PACKAGE_URL=''
PACKAGE_VERSION='0.8.8c'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.8.8c'
ac_aux_dir='config'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/workspace/cacti-spine-0.8.8c/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/spine'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Spine Poller"
#define PACKAGE_TARNAME "spine-poller"
#define PACKAGE_VERSION "0.8.8c"
#define PACKAGE_STRING "Spine Poller 0.8.8c"
#define PACKAGE_BUGREPORT "http://www.cacti.net/bugs.php"
#define PACKAGE_URL ""
#define PACKAGE "spine"
#define VERSION "0.8.8c"
#define HAVE_LIBM 1
#define HAVE_LIBPTHREAD 1
#define HAVE_LIBZ 1
#define HAVE_LIBCRYPTO 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_ASSERT_H 1
#define HAVE_CTYPE_H 1
#define HAVE_ERRNO_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_MATH_H 1
#define HAVE_MALLOC_H 1
#define HAVE_NETDB_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDIO_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_IP_ICMP_H 1
#define HAVE_UNSIGNED_LONG_LONG 1
#define HAVE_LONG_LONG 1
#define TIME_WITH_SYS_TIME 1
#define RETSIGTYPE void
#define HAVE_MALLOC 1
#define HAVE_CALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_STRERROR 1
#define HAVE_STRTOLL 1
#define HAVE_LIBMYSQLCLIENT_R 1
#define SNMP_LOCALNAME 1
configure: exit 1
~#
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Next time please ATTACH the log, not paste...
Looks to be an environment issue and has nothing to do with spine. Second to last compile there appears to be a hosed .so file.
Looks to be an environment issue and has nothing to do with spine. Second to last compile there appears to be a hosed .so file.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hi BSOD2600,
And what exactly is the environment issue, and what do you recommend to fix it? Who is the developer for Spine? I can offer access to an Ubuntu 14.04.1 LTS box if this is needed to figure out the issues.
Regards.
And what exactly is the environment issue, and what do you recommend to fix it? Who is the developer for Spine? I can offer access to an Ubuntu 14.04.1 LTS box if this is needed to figure out the issues.
Regards.
-
- Cacti User
- Posts: 164
- Joined: Thu Jan 21, 2010 8:41 pm
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Download CentOS 6.6 DVD.
Follow this guide: http://blog.network-outsourcing.de/cact ... ing-cacti/
In 2-3 hours you will have Cacti running. I had no issues with compiling the spine 0.8.8c on centos 6.6
Follow this guide: http://blog.network-outsourcing.de/cact ... ing-cacti/
In 2-3 hours you will have Cacti running. I had no issues with compiling the spine 0.8.8c on centos 6.6
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Unfortunately changing the distro is not an option for me. Also, this is not a solution. You can't just go tell people to change their distro if they want to compile something . We need to figure out what's the "environment problem". So, who is the developer of spine?
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
I believe by "environment issue" he means that the problem is with your server, either you don't have the correct libraries, etc... Its impossible for us to debug a server that we can't access and have a very limited view into. A big part of being a System Administrator is developing the ability to track down and fix issues yourself, we can mostly only point the way.
Just from the log, I would suggest looking into the part were it says it failed.
Just from the log, I would suggest looking into the part were it says it failed.
that happens in several places, I would go back a few lines before each one, and look at why it failed. Google can usually help point the way for some of the issues you are finding.configure: failed program was:
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hi all,
I've managed to successfully compile spine using the below LDFLAGS:
LDFLAGS="-L/usr/lib -L/usr/lib/x86_64-linux-gnu/" ./configure --prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192
The problem was not with my server, as some of you have suggested. It's a spine <-> Ubuntu issue. I've already listed all the libraries and Ubuntu packages I've installed in my first post. All the necessary libraries where there, but spine didn't detect them. This problem manifested on all Ubuntu boxes (14.04) that I've tried to compile spine.
I've managed to successfully compile spine using the below LDFLAGS:
LDFLAGS="-L/usr/lib -L/usr/lib/x86_64-linux-gnu/" ./configure --prefix=/usr/local/spine --with-max-scripts=100 --with-max-mysql-buffer=262144 --with-results-buffer=8192
The problem was not with my server, as some of you have suggested. It's a spine <-> Ubuntu issue. I've already listed all the libraries and Ubuntu packages I've installed in my first post. All the necessary libraries where there, but spine didn't detect them. This problem manifested on all Ubuntu boxes (14.04) that I've tried to compile spine.
- Talon_Karrde
- Posts: 28
- Joined: Mon Sep 17, 2007 4:41 am
- Location: Kamp-Lintfort, Germany
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
Hallo,
I have exactly the same problem on a 64bit Ubuntu 14.0.4 LTS and a 32bit Debian testing/Jessie system.
Because I have succesfully compiled spine 0.8.8a+b on both machines, I assume that I have everything I need.
Now I stumbled about this thread and tested the "LDFLAGS"-thing.
This worked for the "configure" script, which now runs without error, but when I try to "make" spine
I get the following message.
libtool: link: require no space between `-L' and `-L/usr/lib'
Makefile:445: recipe for target 'spine' failed
make: *** [spine] Error 1
Any suggestions?
Kind Regards
Werner
I have exactly the same problem on a 64bit Ubuntu 14.0.4 LTS and a 32bit Debian testing/Jessie system.
Because I have succesfully compiled spine 0.8.8a+b on both machines, I assume that I have everything I need.
Now I stumbled about this thread and tested the "LDFLAGS"-thing.
This worked for the "configure" script, which now runs without error, but when I try to "make" spine
I get the following message.
libtool: link: require no space between `-L' and `-L/usr/lib'
Makefile:445: recipe for target 'spine' failed
make: *** [spine] Error 1
Any suggestions?
Kind Regards
Werner
There is more happiness in giving than there is in receiving.
- Talon_Karrde
- Posts: 28
- Joined: Mon Sep 17, 2007 4:41 am
- Location: Kamp-Lintfort, Germany
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
OK,
I tried something and succeeded. But I think this is only a workaround.
Someone with more knowledge should take care of this phenomenon.
As I mentioned before the "LDFLAGS" thing worked for the ./configure.
After getting the make error I took a bit time to think about it and came
to the conclusion - why not editing the Makefile?
So I found the line which looked like "LDFLAGS = -L -L/usr/lib -L/usr/lib/x86_64-linux-gnu/"
and removed the preceding "-L".
Then typed "make" and voila it successfully compiled spine.
Thanks again for this LDFLAGS hint!
CU
Werner
I tried something and succeeded. But I think this is only a workaround.
Someone with more knowledge should take care of this phenomenon.
As I mentioned before the "LDFLAGS" thing worked for the ./configure.
After getting the make error I took a bit time to think about it and came
to the conclusion - why not editing the Makefile?
So I found the line which looked like "LDFLAGS = -L -L/usr/lib -L/usr/lib/x86_64-linux-gnu/"
and removed the preceding "-L".
Then typed "make" and voila it successfully compiled spine.
Thanks again for this LDFLAGS hint!
CU
Werner
There is more happiness in giving than there is in receiving.
Re: cannot compile spine 0.8.8c on Ubuntu 14.04.1 LTS
ikorzha758 wrote:Download CentOS 6.6 DVD.
Follow this guide: http://blog.network-outsourcing.de/cact ... ing-cacti/
In 2-3 hours you will have Cacti running. I had no issues with compiling the spine 0.8.8c on centos 6.6
There is literally nothing more useless in our field than suggesting changing the underlying platform. I came here just to say that as it's so irksome to me.
Who is online
Users browsing this forum: No registered users and 3 guests