Cacti Spine Source Installation Error on FreeBSD

Just noticed FreeBSD’s port still using old version of spine, decided to install from source and seem like source install doesn’t work well with FreeBSD. It returns error due to libtool version different from the source file. First when run –configure command it returns config error;


./configure
configure: error: cannot run /bin/sh config/config.sub

List the file on config folder and found it’s symlink to invalid file;


ls -al config/*
total 56
drwxr-xr-x  2 1000  100    512 Jun 29 10:03 .
drwxr-xr-x  4 1000  100   1024 Nov 14 14:04 ..
lrwxrwxrwx  1 1000  100     31 Jun 29 10:03 config.guess -> /usr/share/libtool/config.guess
-rw-r--r--  1 1000  100   5969 Jun 29 10:03 config.h
-rw-r--r--  1 1000  100   5561 Jun 29 10:03 config.h.in
-rw-r--r--  1 1000  100   5550 Jun 29 10:03 config.h.in~
lrwxrwxrwx  1 1000  100     29 Jun 29 10:03 config.sub -> /usr/share/libtool/config.sub
-rwxr-xr-x  1 1000  100  12517 Jun 29 10:03 depcomp
-rwxr-xr-x  1 1000  100   5561 Jun 29 10:03 install-sh
lrwxrwxrwx  1 1000  100     28 Jun 29 10:03 ltmain.sh -> /usr/share/libtool/ltmain.sh
-rwxr-xr-x  1 1000  100  10280 Jun 29 10:03 missing
-rw-r--r--  1 1000  100     30 Jun 29 10:03 stamp-h1

config.guess, config.sub and ltmain.sh is symlink to the wrong directory, remove the files and symlink to correct path


shell> cd config
shell> rm -rf config.guess
shell> rm -rf config.sub
shell> ltmain.sh
shell> ln -s /usr/local/share/libtool/config/config.sub .
shell> ln -s /usr/local/share/libtool/config/config.guess .
shell> ln -s /usr/local/share/libtool/config/ltmain.sh .

Seem like everything is fine, let run ./configure and I have another problema and I do make command


shell> make
CDPATH: not found
func_opt_split: not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
*** Error code 63

Stop in /root/paul-work/cacti-spine-0.8.7e.

To fix aclocal problem


aclocal
libtoolize --force
autoconf
autoheader
automake
./configure

Run configure and make again. Should be no problem by now.

Related posts:

  1. MySQL Quick Installation on FreeBSD Quick installation of MySQL Database on FreeBSD Server. Make sure...
  2. FreeBSD Port: Error Upgrading Perl 5.8.9 Usually I perform portupgrade daily on some of my FreeBSD...
  3. Error in suphp.c on line Am experimenting suphp on several servers for security reason. During...
  4. OURMON Installation and Configuration on FreeBSD 7 with Multi-threading Support OURMON is popular known as open source Network Monitoring and...
  5. Install and Configure Thold on Cacti There are a bunch of Cacti’s plugins which can do...
  6. TextMate: Creating New Project in Shell Instantly Been using TextMate recently, really loving it like hell. There...
  7. FreeBSD CVSUP Assertion Error I have been having problems running port cvsup on one...
  8. PostgreSQL Database signal 6 Error On Apple Mac After I have done PostgreSQL upgrade through MacPort, the database...
  9. How To Fix php5-pcre Ignored Package in FreeBSD Ports I guess most of the FreeBSD users having problem to...

Leave a Reply