Unable to compile Spine on debian Jessie

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
spacegonzo
Posts: 2
Joined: Wed Jul 03, 2013 9:48 am

Unable to compile Spine on debian Jessie

Post by spacegonzo »

Hello,

i'm trying to compile last spine 0.8.8.8a on a fresh installed debian testing ( jessie )
but the ./configure script always fail finding NET-SNMP libraries, while i have them installed.

i read lot of reports about commons errors but none of them seems to solve my problem.

have i forgot something ?

Thanks a lot !

--------- installed packages ---------------

dpkg -l |grep snmp
ii libsnmp-base 5.7.2~dfsg-8 all SNMP configuration script, MIBs and documentation
ii libsnmp-dev:amd64 5.7.2~dfsg-8 amd64 SNMP (Simple Network Management Protocol) development files
ii libsnmp30:amd64 5.7.2~dfsg-8 amd64 SNMP (Simple Network Management Protocol) library
ii php5-snmp 5.4.4-15.1 amd64 SNMP module for php5
ii snmp 5.7.2~dfsg-8 amd64 SNMP (Simple Network Management Protocol) applications
ii snmpd 5.7.2~dfsg-8 amd64 SNMP (Simple Network Management Protocol) agents

dpkg -l |grep build
ii autoconf 2.69-1 all automatic configure script builder
ii build-essential 11.6 amd64 Informational list of build-essential packages

------ debian bootstrap ---------

./bootstrap
INFO: Starting Spine build process
INFO: Removing cache directories
INFO: Running auto-tools to verify buildability
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
configure.ac:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:12: http://www.gnu.org/software/automake/ma ... invocation
INFO: Spine bootstrap process completed

To compile and install Spine do the following:

./configure
make
make install


----- ./configure result ---------
checking for mysql_init in -lmysqlclient_r... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
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)
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Unable to compile Spine on debian Jessie

Post by paulgevers »

Is there a special reason why you don't use the Debian package? It was succesfully compiled on Jessie about one month ago. There were some snmp changes the last couple of months, so make sure those are really up-to-date.

Paul
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
spacegonzo
Posts: 2
Joined: Wed Jul 03, 2013 9:48 am

Re: Unable to compile Spine on debian Jessie

Post by spacegonzo »

Hi,

we had some issus with precedent versions of the debian package, so we prefer to use the lastest available version directly from cacti website.
i solve the issue using the stable debian version .

thanks for your answer
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests