*** [Gentoo] sanity check failed! ***

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

Moderators: Developers, Moderators

Post Reply
praveen_b744
Posts: 14
Joined: Tue May 27, 2008 2:45 am

*** [Gentoo] sanity check failed! ***

Post by praveen_b744 »

I faced the following error while configuring the spine for cacti. Can any one help me to sort out this problem:

hecking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.5.6) ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.
markrichter
Posts: 14
Joined: Thu Jul 12, 2007 9:00 am

Post by markrichter »

lets add a little more info Praveen..

I am having this problem also.

I did run " libtoolize --copy --force "
then ran "aclocal".

I looked at the libtool versions, and ran and got an updated version.

libtool 2.2.4,

which is strange.
for me ltmain.sh shows 1.5.24 which is the version in the cacti-spine source directory. that should be a created file between your Autoconf and Libtool versions you have.

I have 2.2.4 of Libtool, Autoconf of 2.62, Automake 1.9,

The files should be generated during the ./configure

I am not sure what is what with this. why the different versions?

an it only flags on "Gentoo Sanity Check".... is there a ./configure --disable-gentoo-sanity option?

I am running Fedora Core 8.
praveen_b744
Posts: 14
Joined: Tue May 27, 2008 2:45 am

Post by praveen_b744 »

Hi Mark,

I referred the following procedure to get rid of this:

To run ./configure make sure that all the devel rpms are installed. exp: mysql-devel*,net-snmp-devel* etc.
Spine is a very fast poller engine, written in C. It is an optional replacement for cmd.php. If you decide to use it, you will have to install it explicitely. It does not come with cacti itself.

The easiest way is to install Spine using rpm or ports. You will find packages for Spine at the main cacti site or from your distribution.

To compile Spine, please download it to any location of your liking. Then, please issue from the downloaded directory following commands

shell>aclocal

shell>libtoolize --force (glibtoolize --force on Max OS)

shell>autoheader

shell>autoconf

shell>automake

shell>./configure

shell>make

shell>make install

Assuming, you've managed to install Spine correctly, you will have to configure it. The configuration file may be placed in the same directory as Spine itself or at /etc/Spine.conf.

DB_Host 127.0.0.1 or hostname (not localhost)
DB_Database cacti
DB_User cactiuser
DB_Password cacti
DB_Port 3306



You can refer this URL : URL:http://www.cacti.net/downloads/docs/htm ... spine.html
pva
Posts: 26
Joined: Fri Jan 26, 2007 2:06 pm

Post by pva »

I suppose that's bug
https://bugs.gentoo.org/show_bug.cgi?id=234749
which was opened few minutes ago and I'll fix it soon.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests