[SOLVED] Spine 0.8.7 fails compile on RHEL 4

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

Moderators: Developers, Moderators

cflorio
Cacti User
Posts: 54
Joined: Fri Feb 11, 2005 3:04 pm

[SOLVED] Spine 0.8.7 fails compile on RHEL 4

Post by cflorio »

Hello,

I'm getting:

Code: Select all

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.
When trying to do a configure on RHEL4. (x86 box).

uname -a
Linux xxxxx 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 i686 i386 GNU/Linux


Any ideas?[/code]
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Did you do a dos2unix on the source?
dos2unix *

Also, here is what works for me now:
dos2unix *
./configure
gmake

With this latest code, I have way less commands to issue.
No more aclocal, libtoolize, autoconf or automake etc.
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
Xumet
Posts: 18
Joined: Thu Mar 16, 2006 12:02 pm

Post by Xumet »

I've the same problem cflorio. I've tried to do "dos2unix" solution with the same worg result:

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.


PD: RHEL 4 UPDATE 4.
cflorio
Cacti User
Posts: 54
Joined: Fri Feb 11, 2005 3:04 pm

Post by cflorio »

No dice.

Code: Select all

[root@netgraphs cacti-spine-0.8.7]# dos2unix *
dos2unix: converting file aclocal.m4 to UNIX format ...
dos2unix: converting file AUTHORS to UNIX format ...
dos2unix: converting file ChangeLog to UNIX format ...
dos2unix: converting file common.h to UNIX format ...
dos2unix: converting file config to UNIX format ...
dos2unix: problems renaming './d2utmp549PHE' to 'config'
          output file remains in './d2utmp549PHE'
dos2unix: problems converting file config
[root@netgraphs cacti-spine-0.8.7]# ls d2utmp549PHE 
d2utmp549PHE
[root@netgraphs cacti-spine-0.8.7]# ls -la d2utmp549PHE 
-rwxr-xr-x  1 root root 0 Oct 25 10:32 d2utmp549PHE
[root@netgraphs cacti-spine-0.8.7]# ./configure 
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking 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.

User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

is the libtool package installed ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
cflorio
Cacti User
Posts: 54
Joined: Fri Feb 11, 2005 3:04 pm

Post by cflorio »

Looks like it:

Code: Select all

[root@netgraphs cacti-spine-0.8.7]# which libtool
/usr/bin/libtool
[root@netgraphs cacti-spine-0.8.7]# /usr/bin/libtool --version
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)

Copyright (C) 2003  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.
[root@netgraphs cacti-spine-0.8.7]# 
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you try that, as said Larry :

Code: Select all

aclocal
libtoolize --force
autoconf
autoheader
automake
./configure
It worked for me on a CentOS 4.5 (aka RedHat 4 Update 5).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Xumet
Posts: 18
Joined: Thu Mar 16, 2006 12:02 pm

Post by Xumet »

That's fine! Now works ;-)

Thanks!
cflorio
Cacti User
Posts: 54
Joined: Fri Feb 11, 2005 3:04 pm

Post by cflorio »

Indeed that worked!!!!!

You guys rock!
zoltar
Posts: 4
Joined: Tue Aug 30, 2005 5:17 am

Post by zoltar »

Yep - worked also on slackware 10.1.

Thanks!
neteru
Posts: 37
Joined: Thu Oct 12, 2006 10:47 am

Awesome

Post by neteru »

That looks like it worked for me too... good thing since the rpm on DAG doesn't appear to, I already removed cactid, and I can't find any of the old rpms... lol
KPbIC
Posts: 29
Joined: Mon Mar 13, 2006 9:13 pm
Location: Russia

Post by KPbIC »

work in Debian 2.6.18

Thanks
wessel
Posts: 1
Joined: Sat Aug 03, 2002 2:34 pm

debian testing packages I needed to install

Post by wessel »

The above mentioned procedure:

aclocal
libtoolize --force
autoconf
autoheader
automake
./configure

worked fine on my debian testing (lenny) release after installing the following packages:

libsnmp-dev, libmysqlclient15-dev,automake,libtool,
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please make sure you are on 0.8.7a of Spine.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rha298
Posts: 4
Joined: Mon Nov 27, 2006 7:18 pm

Post by rha298 »

I'll add my 2 cents...It worked for Solaris 2.9 :D
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests