Error trying to compile spine

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Toddles18
Posts: 22
Joined: Fri Feb 20, 2009 1:28 pm

Error trying to compile spine

Post by Toddles18 »

downloaded spine 0.8.7c

trying to run the ./configure command and I'm getting errors
user@servername /src/cacti-spine-0.8.7c
$ ./configure
./configure: line 3: syntax error near unexpected token `<<<'
./configure: line 3: `<<<<<<< .mine'
any idea's?
Last edited by Toddles18 on Fri Feb 20, 2009 3:36 pm, edited 1 time in total.
iso1779
Posts: 17
Joined: Fri Feb 20, 2009 1:32 pm

Post by iso1779 »

Hi Toddles18,
exact same problem here.
Have you been able to resolve your issue?
I run debian-sparc, cacti 0.8.7c, pa2.4

br
Olivier
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Delete configure and run bootstrap.
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?
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

TheWitness wrote:Delete configure and run bootstrap.
Hi, I had the same problem then i deleted configure and used bootstrap as per TheWitness instructions but i'm getting this error now.

--------------------------------------------------------------
Spine build process is beginnning
--------------------------------------------------------------
NOTE: Removing hardware specific directories
--------------------------------------------------------------
NOTE: Performing a dos2unix conversion of all files
--------------------------------------------------------------
NOTE: Setting some permissions
--------------------------------------------------------------
NOTE: Running auto-tools to verify buildability
configure.ac:69: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
FATAL: autoconf has errors


Thanks
TeT
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

Managed to solve the problem.....

Had to install libtool

used :- yum install libtool
xphone
Posts: 4
Joined: Thu Jan 08, 2009 8:18 pm

Post by xphone »

hello,sir
how to fix this error?

./bootstrap

Code: Select all

configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:7: installing `config/config.guess'
configure.ac:7: installing `config/config.sub'
configure.ac:69: required file `config/ltmain.sh' not found
FATAL: automake has errors
thank for everyone here!!
iso1779
Posts: 17
Joined: Fri Feb 20, 2009 1:32 pm

ltmain.sh

Post by iso1779 »

Hi,
search for ltmain.sh on your harddrive, on debian it is in /usr/share/libtool/
copy it into the config directory in your spine sources, this worked for me.

br
Olivier
xphone
Posts: 4
Joined: Thu Jan 08, 2009 8:18 pm

Post by xphone »

thank you, but i still have this error.
after i fix a correct link of ltmain.sh to config/ltmain.sh. i use rootrape(in spine-0.8.7c dir) script, i still say this errrr. is it a bug?

Code: Select all

configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:691: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2791: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2790: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1839: _LT_AC_TAGCONFIG is expanded from...
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4013: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:4012: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4122: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4121: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
Putting files in AC_CONFIG_AUX_DIR, `config'.
iso1779
Posts: 17
Joined: Fri Feb 20, 2009 1:32 pm

Post by iso1779 »

Hi,
try using the latest SVN from svn.cacti.net

this fixed all my spine issues.

br
Olivier
Toddles18
Posts: 22
Joined: Fri Feb 20, 2009 1:28 pm

Post by Toddles18 »

adm@cacti /src/cacti-spine-0.8.7c
$ ./bootstrap > log.txt
configure: error: cannot run /bin/sh config/config.sub
make: *** No rule to make target `clean'. Stop.


any idea's?
xphone
Posts: 4
Joined: Thu Jan 08, 2009 8:18 pm

Post by xphone »

iso1779 wrote:Hi,
try using the latest SVN from svn.cacti.net

this fixed all my spine issues.

br
Olivier
iso1779:
thank you,but i did it,but still has this error.

Could anyone here tell me the real meaning of this line?

Code: Select all

configure.ac:69: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
User avatar
fundutzi
Posts: 13
Joined: Mon Apr 24, 2006 6:39 am
Location: London, UK
Contact:

Post by fundutzi »

No real idea what I am doing. this worked for me:

./configure ==> failed, right.
./boostrap ==> also fail.

Do this, from elsewhere on the web, {thank you to those}:
yum install libtool
yum install gcc gcc-c++ autoconf automake

now you should be able to:
./configure
make

bye
Regards
Pollux
Posts: 25
Joined: Tue Jun 16, 2009 3:34 pm

Post by Pollux »

you might need:

yum install mysql-devel

as well, it will ask for mysql.h (header) after `yum install libtool` (post above me)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests