Package install problem on different computer

Hi,
I have a package with a few gnuradio modules that I developed. This
package
installs wihtout a hitch on my laptop. I then copied the package folder
on
to two ohter computers but the installation always fails. When doing
‘make’
it gives errors that I don’t understand. Will someone help me on this.

Thanks,
Mir

The error is as shown below,

make[1]: Entering directory
/home/mali/Documents/Thesis/dsss_gnuradio/config' make[2]: Entering directory/home/mali/Documents/Thesis/dsss_gnuradio/config’
make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done forinstall-data-am’.
make[2]: Leaving directory
/home/mali/Documents/Thesis/dsss_gnuradio/config' make[1]: Leaving directory/home/mali/Documents/Thesis/dsss_gnuradio/config’
Making install in src
make[1]: Entering directory
/home/mali/Documents/Thesis/dsss_gnuradio/src' Making install in lib make[2]: Entering directory/home/mali/Documents/Thesis/dsss_gnuradio/src/lib’
make install-am
make[3]: Entering directory
/home/mali/Documents/Thesis/dsss_gnuradio/src/lib' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig -I/usr/include/python2.5 -DOMNITHREAD_POSIX=1 -I/opt/boost_1_38_0/include/boost-1_38 -I/usr/local/include/gnuradio -I/usr/local/include -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -Wall -Woverloaded-virtual -MT _dsss_la-dsss.lo -MD -MP -MF .deps/_dsss_la-dsss.Tpo -c -o _dsss_la-dsss.lotest -f ‘dsss.cc’ ||
echo
‘./’dsss.cc ../../libtool: line 847: X--tag=CXX: command not found ../../libtool: line 880: libtool: ignoring unknown tag : command not found ../../libtool: line 847: X--mode=compile: command not found ../../libtool: line 1014: *** Warning: inferring the mode of operation is deprecated.: command not found ../../libtool: line 1015: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../../libtool: line 1158: Xg++: command not found ../../libtool: line 1158: X-DHAVE_CONFIG_H: command not found ../../libtool: line 1158: X-I.: command not found ../../libtool: line 1158: X-I../..: No such file or directory ../../libtool: line 1158: X-I/usr/local/include/gnuradio: No such file or directory ../../libtool: line 1158: X-I/usr/local/include/gnuradio/swig: No such file or directory ../../libtool: line 1158: X-I/usr/include/python2.5: No such file or directory ../../libtool: line 1158: X-DOMNITHREAD_POSIX=1: command not found ../../libtool: line 1158: X-I/opt/boost_1_38_0/include/boost-1_38: No such file or directory ../../libtool: line 1158: X-I/usr/local/include/gnuradio: No such file or directory ../../libtool: line 1158: X-I/usr/local/include: No such file or directory ../../libtool: line 1158: X-g: command not found ../../libtool: line 1158: X-O1: command not found ../../libtool: line 1158: X-Wno-strict-aliasing: command not found ../../libtool: line 1158: X-Wno-parentheses: command not found ../../libtool: line 1158: X-g: command not found ../../libtool: line 1158: X-O2: command not found ../../libtool: line 1158: X-Wall: command not found ../../libtool: line 1158: X-Woverloaded-virtual: command not found ../../libtool: line 1158: X-MT: command not found ../../libtool: line 1158: X_dsss_la-dsss.lo: command not found ../../libtool: line 1158: X-MD: command not found ../../libtool: line 1158: X-MP: command not found ../../libtool: line 1158: X-MF: command not found ../../libtool: line 1158: X.deps/_dsss_la-dsss.Tpo: No such file or directory ../../libtool: line 1158: X-c: command not found ../../libtool: line 1211: X_dsss_la-dsss.lo: command not found ../../libtool: line 1216: libtool: compile: cannot determine name of library object from’: command not found
make[3]: *** [_dsss_la-dsss.lo] Error 1
make[3]: Leaving directory
/home/mali/Documents/Thesis/dsss_gnuradio/src/lib' make[2]: *** [install] Error 2 make[2]: Leaving directory/home/mali/Documents/Thesis/dsss_gnuradio/src/lib’
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
/home/mali/Documents/Thesis/dsss_gnuradio/src' make: *** [install-recursive] Error 1 [email protected]:~/Documents/Thesis/dsss_gnuradio$ sudo make make all-recursive make[1]: Entering directory/home/mali/Documents/Thesis/dsss_gnuradio’
Making all in config
make[2]: Entering directory
/home/mali/Documents/Thesis/dsss_gnuradio/config' make[2]: Nothing to be done forall’.
make[2]: Leaving directory
/home/mali/Documents/Thesis/dsss_gnuradio/config' Making all in src make[2]: Entering directory/home/mali/Documents/Thesis/dsss_gnuradio/src’
Making all in lib
make[3]: Entering directory
/home/mali/Documents/Thesis/dsss_gnuradio/src/lib' make all-am make[4]: Entering directory/home/mali/Documents/Thesis/dsss_gnuradio/src/lib’
/bin/bash …/…/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I.
-I…/… -I/usr/local/include/gnuradio
-I/usr/local/include/gnuradio/swig
-I/usr/include/python2.5 -DOMNITHREAD_POSIX=1
-I/opt/boost_1_38_0/include/boost-1_38 -I/usr/local/include/gnuradio
-I/usr/local/include -g -O1 -Wno-strict-aliasing -Wno-parentheses -g
-O2
-Wall -Woverloaded-virtual -MT _dsss_la-dsss.lo -MD -MP -MF
.deps/_dsss_la-dsss.Tpo -c -o _dsss_la-dsss.lo test -f 'dsss.cc' || echo './'dsss.cc
…/…/libtool: line 847: X–tag=CXX: command not found
…/…/libtool: line 880: libtool: ignoring unknown tag : command not
found
…/…/libtool: line 847: X–mode=compile: command not found
…/…/libtool: line 1014: *** Warning: inferring the mode of operation
is
deprecated.: command not found
…/…/libtool: line 1015: *** Future versions of Libtool will require
–mode=MODE be specified.: command not found
…/…/libtool: line 1158: Xg++: command not found
…/…/libtool: line 1158: X-DHAVE_CONFIG_H: command not found
…/…/libtool: line 1158: X-I.: command not found
…/…/libtool: line 1158: X-I…/…: No such file or directory
…/…/libtool: line 1158: X-I/usr/local/include/gnuradio: No such file
or
directory
…/…/libtool: line 1158: X-I/usr/local/include/gnuradio/swig: No such
file
or directory
…/…/libtool: line 1158: X-I/usr/include/python2.5: No such file or
directory
…/…/libtool: line 1158: X-DOMNITHREAD_POSIX=1: command not found
…/…/libtool: line 1158: X-I/opt/boost_1_38_0/include/boost-1_38: No
such
file or directory
…/…/libtool: line 1158: X-I/usr/local/include/gnuradio: No such file
or
directory
…/…/libtool: line 1158: X-I/usr/local/include: No such file or
directory
…/…/libtool: line 1158: X-g: command not found
…/…/libtool: line 1158: X-O1: command not found
…/…/libtool: line 1158: X-Wno-strict-aliasing: command not found
…/…/libtool: line 1158: X-Wno-parentheses: command not found
…/…/libtool: line 1158: X-g: command not found
…/…/libtool: line 1158: X-O2: command not found
…/…/libtool: line 1158: X-Wall: command not found
…/…/libtool: line 1158: X-Woverloaded-virtual: command not found
…/…/libtool: line 1158: X-MT: command not found
…/…/libtool: line 1158: X_dsss_la-dsss.lo: command not found
…/…/libtool: line 1158: X-MD: command not found
…/…/libtool: line 1158: X-MP: command not found
…/…/libtool: line 1158: X-MF: command not found
…/…/libtool: line 1158: X.deps/_dsss_la-dsss.Tpo: No such file or
directory
…/…/libtool: line 1158: X-c: command not found
…/…/libtool: line 1211: X_dsss_la-dsss.lo: command not found
…/…/libtool: line 1216: libtool: compile: cannot determine name of
library
object from ': command not found make[4]: *** [_dsss_la-dsss.lo] Error 1 make[4]: Leaving directory/home/mali/Documents/Thesis/dsss_gnuradio/src/lib’
make[3]: *** [all] Error 2
make[3]: Leaving directory
/home/mali/Documents/Thesis/dsss_gnuradio/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/mali/Documents/Thesis/dsss_gnuradio/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mali/Docu

Autotools generates scripts that are machine specific. When you copy the
scripts over to another computer, they may not work. At least I think
thats whats happening!

Try running ./bootstrap and ./configure before make.

-Josh

Thanks, i deleted all the auto-generated files and now it works. :slight_smile:

On Tue, Sep 29, 2009 at 9:26 PM, Mir M. Ali [email protected]
wrote:

Hi,
I have a package with a few gnuradio modules that I developed. This package
installs wihtout a hitch on my laptop. I then copied the package folder on
to two ohter computers but the installation always fails. When doing ‘make’
it gives errors that I don’t understand. Will someone help me on this.

Thanks,
Mir

Do you have different versions of libtool installed on your computers?
Try running bootstrap?

Thomas

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs