Hello
I tried to install new version -1.1.37 on new server, but after cacti install is complete cannot install spine.
OS: Centos 7.4.1708 - 3.10.0-862.2.3.el7.x86_64
Apache: 2.4.6
Cacti & Spine - 1.1.37
PHP: 5.4.16
when i run ./configure i get error:
Code: Select all
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/mmandrino/cacti-spine-1.1.37':
configure: error: C compiler cannot create executables
See `config.log' for more details
Code: Select all
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2339: checking build system type
configure:2353: result: x86_64-pc-linux-gnu
configure:2373: checking host system type
configure:2386: result: x86_64-pc-linux-gnu
configure:2431: checking for a BSD-compatible install
configure:2499: result: /bin/install -c
configure:2510: checking whether build environment is sane
configure:2565: result: yes
configure:2716: checking for a thread-safe mkdir -p
configure:2755: result: /bin/mkdir -p
configure:2762: checking for gawk
configure:2778: found /bin/gawk
configure:2789: result: gawk
configure:2800: checking whether make sets $(MAKE)
configure:2822: result: yes
configure:2851: checking whether make supports nested variables
configure:2868: result: yes
configure:3067: checking for gawk
configure:3094: result: gawk
configure:3153: checking for gcc
configure:3169: found /bin/gcc
configure:3180: result: gcc
configure:3409: checking for C compiler version
configure:3418: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Copyright (C) 2015 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:3429: $? = 0
configure:3418: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)
configure:3429: $? = 0
configure:3418: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3429: $? = 4
configure:3418: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3429: $? = 4
configure:3449: checking whether the C compiler works
configure:3471: gcc -lpthread -lssl -lm conftest.c >&5
/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
configure:3475: $? = 1
configure:3513: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "1.1.37"
| #define PACKAGE_STRING "Spine Poller 1.1.37"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/issues.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine-poller"
| #define VERSION "1.1.37"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3518: error: in `/home/mmandrino/cacti-spine-1.1.37':
configure:3520: error: C compiler cannot create executables
See `config.log' for more details
I got 1.1.37 cacti via yum install so I tried spine of same version.
I see gcc error - but I am able to complie simple .c program and run it.