Trying to configure spine on a raspberry pi - receiving the following:
root@raspberrypi:/tmp/cacti-spine-1.1.2# ./configure
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/cacti-spine-1.1.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
root@raspberrypi:/tmp/cacti-spine-1.1.2#
The below is the details from config.log. I have installed all required dependencies (I think) autoconf automake libtool libsnmp-dev libsnmp-base libsnmp15 libmysqlclient-dev
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 1.1.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = raspberrypi
uname -m = armv7l
uname -r = 4.4.50-v7+
uname -s = Linux
uname -v = #970 SMP Mon Feb 20 19:18:29 GMT 2017
/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
## ----------- ##
## Core tests. ##
## ----------- ##
configure checking build system type
configure result: armv7l-unknown-linux-gnueabihf
configure checking host system type
configure result: armv7l-unknown-linux-gnueabihf
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 (Raspbian 4.9.2-10) 4.9.2
Copyright (C) 2014 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/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10' --with-bugurl=file:///usr/share$
Thread model: posix
gcc version 4.9.2 (Raspbian 4.9.2-10)
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 -lpthread -lssl -lm conftest.c >&5
/usr/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
configure $? = 1
configure result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Spine Poller"
| #define PACKAGE_TARNAME "spine-poller"
| #define PACKAGE_VERSION "1.1.2"
| #define PACKAGE_STRING "Spine Poller 1.1.2"
| #define PACKAGE_BUGREPORT "http://www.cacti.net/issues.php"
| #define PACKAGE_URL ""
| #define PACKAGE "spine-poller"
| #define VERSION "1.1.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| {
|
| ;
| return 0;
| }
configure error: in `/tmp/cacti-spine-1.1.2':
configure error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=armv7l-unknown-linux-gnueabihf
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_host=armv7l-unknown-linux-gnueabihf
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/cacti-spine-1.1.2/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)'
AR=''
AUTOCONF='${SHELL} /tmp/cacti-spine-1.1.2/config/missing autoconf'
AUTOHEADER='${SHELL} /tmp/cacti-spine-1.1.2/config/missing autoheader'
AUTOMAKE='${SHELL} /tmp/cacti-spine-1.1.2/config/missing automake-1.14'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_HELP2MAN_FALSE=''
HAVE_HELP2MAN_TRUE=''
HELP2MAN=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-lpthread -lssl -lm '
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/cacti-spine-1.1.2/config/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='spine-poller'
PACKAGE_BUGREPORT='http://www.cacti.net/issues.php'
PACKAGE_NAME='Spine Poller'
PACKAGE_STRING='Spine Poller 1.1.2'
PACKAGE_TARNAME='spine-poller'
PACKAGE_URL=''
PACKAGE_VERSION='1.1.2'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.1.2'
ac_aux_dir='config'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='armv7l-unknown-linux-gnueabihf'
build_alias=''
build_cpu='armv7l'
build_os='linux-gnueabihf'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='armv7l-unknown-linux-gnueabihf'
host_alias=''
host_cpu='armv7l'
host_os='linux-gnueabihf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/cacti-spine-1.1.2/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='NONE'
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 "1.1.2"
#define PACKAGE_STRING "Spine Poller 1.1.2"
#define PACKAGE_BUGREPORT "http://www.cacti.net/issues.php"
#define PACKAGE_URL ""
#define PACKAGE "spine-poller"
#define VERSION "1.1.2"
configure: exit 77
Spine configure fails
Moderators: Developers, Moderators
Re: Spine configure fails
You need to install gcc and some other tools.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 2 guests