Unable to compile Spine

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

Moderators: Developers, Moderators

Post Reply
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Unable to compile Spine

Post by apperrault »

Hi all,
I have downloaded the latest Spine from the SVN, and I am having problems compiling it. Here is what i am doing.

Code: Select all

cd /usr/src/spine
sh ./configure
once i run that command, i get the following message:

Code: Select all

configure: error: cannot run /bin/sh config/config.sub
what am i missing here.

Any help would be greatly appreciated.

thanks

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
skol
Posts: 41
Joined: Mon Nov 10, 2003 3:06 pm

Post by skol »

chmod +x configure

then make sure you have libtool installed
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

same error. I have libtool installed, and i ran the chmod command, but it is still saying error: cannot run /bin/sh config/config.sub

any other thoughts?

app
skol
Posts: 41
Joined: Mon Nov 10, 2003 3:06 pm

Post by skol »

Code: Select all

[root@host10 0.8.7c-beta1]# ls -la config
total 68
drwxr-xr-x 3 root root  4096 Oct  7 14:13 .
drwxr-xr-x 5 root root  4096 Oct  7 14:13 ..
lrwxrwxrwx 1 root root    31 Oct  7 14:09 config.guess -> /usr/share/libtool/config.guess
-rw-r--r-- 1 root root  5090 Oct  7 14:13 config.h
-rw-r--r-- 1 root root  4752 Oct  7 14:09 config.h.in
lrwxrwxrwx 1 root root    29 Oct  7 14:09 config.sub -> /usr/share/libtool/config.sub
-rwxr-xr-x 1 root root 12517 Oct  7 14:09 depcomp
-rwxr-xr-x 1 root root  5561 Oct  7 14:09 install-sh
lrwxrwxrwx 1 root root    28 Oct  7 14:09 ltmain.sh -> /usr/share/libtool/ltmain.sh
-rwxr-xr-x 1 root root 10280 Oct  7 14:09 missing
-rw-r--r-- 1 root root    30 Oct  7 14:13 stamp-h1
drwxr-xr-x 6 root root  4096 Oct  7 14:09 .svn
[root@host 0.8.7c-beta1]# 

Should look like that if you have the proper RPM (if on rehdat) of libtool installed.
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

This is what i am seeing when i run that:

Code: Select all

total 80
drwxrwxr-x  3 root root  4096 Oct  8 07:14 .
drwxr-xr-x  3 root root  4096 Oct  8 09:04 ..
-rw-rw-r--  1 root root    36 Oct  3 20:21 config.guess
-rw-rw-r--  1 root root  5098 Oct  3 20:21 config.h
-rw-rw-r--  1 root root  4930 Oct  3 20:21 config.h.in
-rw-rw-r--  1 root root    34 Oct  3 20:21 config.sub
-rw-rw-r--  1 root root 12953 Oct  3 20:21 depcomp
-rw-rw-r--  1 root root  5812 Oct  3 20:21 install-sh
-rw-rw-r--  1 root root    33 Oct  3 20:21 ltmain.sh
-rw-rw-r--  1 root root 10616 Oct  3 20:21 missing
-rw-rw-r--  1 root root    30 Oct  3 20:21 stamp-h1
drwxrwxr-x  6 root root  4096 Oct  8 07:14 .svn
i don't see any of what look like links that you have.

app
skol
Posts: 41
Joined: Mon Nov 10, 2003 3:06 pm

Post by skol »

Code: Select all

rpm -qf /usr/share/libtool/config.sub
do that. If that doesn't work, or says "owned by no package" or says file does not exist, install libtool.
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Code: Select all

[root@vm-rh-cacti spine]# rpm -qf /usr/share/libtool/config.sub
libtool-1.5.6-4.EL4.2
is what i get from that command

app
skol
Posts: 41
Joined: Mon Nov 10, 2003 3:06 pm

Post by skol »

not sure, I had your exact problem and what I've mentioned completely solved it for me.

How about blowing away your cacti-spine checkout/tarball and trying again.
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

i can try that. I am a newbie to the linux world. how would i check this out from the SVN from the linux command line? i have been doing it on my windows box, and then scp'ing it to my linux box from there

app
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Anyone have any other thoughts? The Witness, you out there, do you have any ideas why i cannot compile SPINE?

thanks much

app

:lol:
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

apperrault wrote:Anyone have any other thoughts?
You could try getting the subversion spine. I believe this will force you to make the configure & automake items local to your box. Not tested, just an idea.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests