Problem in gnuradio installation PLEASE help

hi,
im facing following problem for past two days in installing gnuradio
3.3.2 from tar.gz. i am using ubuntu 9.10

libtool: link: only absolute run-paths are allowed
make[6]: *** [_gnuradio_swig_py_filter.la] Error 1
make[6]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gnuradio-core/src/lib/swig' make[5]: *** [all] Error 2 make[5]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gnuradio-core/src/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gnuradio-core/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gnuradio-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ahsan/hydra-0.4/gnuradio-3.2.2’
make: *** [all] Error 2

please help me, i have searched a lot wrt previous threads but to no
avail

Regards,
Sanam

Hotmail: Trusted email with powerful SPAM protection. Sign up now.

On Tue, Mar 09, 2010 at 12:53:34PM +0000, sanam singh wrote:

hi,

im facing following problem for past two days in installing gnuradio
3.3.2 from tar.gz. i am using ubuntu 9.10

Have you tried using

$ ./bootstrap

followed by

$ ./configure …

Google says the problem is often related to use of -rpath somewhere,
but I’ve never run into the problem.

Eric

hi,
thanks for your reply.
i have done both and here is the output of ./configure:

The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

gcell
gr-gcell
gr-audio-jack
gr-audio-osx
gr-audio-portaudio
gr-audio-windows

These components will not be built.

after that when i do make check i get :
make[3]: Entering directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make check-TESTS make[4]: Entering directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src’
Traceback (most recent call last):
File “./qa_usrp.py”, line 24, in
import usrp_swig
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”,
line 18, in
_usrp_swig = swig_import_helper()
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”,
line 16, in swig_import_helper
if fp is not None: fp.close()
UnboundLocalError: local variable ‘fp’ referenced before assignment
FAIL: run_tests

1 of 1 test failed

make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make[3]: *** [check-am] Error 2 make[3]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src’
make[2]: *** [check] Error 2
make[2]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp’
make: *** [check-recursive] Error 1

I got the same error when i was installing gnuradio by compilation.
maybe you should try to use the binary and source packages instead.

regards,

sanam singh wrote:

gr-gcell
make check-TESTS
if fp is not None: fp.close()
`/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src’


Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://old.nabble.com/problem-in-gnuradio-installation-PLEASE-help-tp27835243p27837818.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Tue, Mar 09, 2010 at 02:33:29PM +0000, sanam singh wrote:

gr-audio-jack
Traceback (most recent call last):
File “./qa_usrp.py”, line 24, in
import usrp_swig
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”, line 18, in
_usrp_swig = swig_import_helper()
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”, line 16, in swig_import_helper
if fp is not None: fp.close()
UnboundLocalError: local variable ‘fp’ referenced before assignment
FAIL: run_tests

IIRC, that problem showed up with python 2.6 and is fixed in the git
master.

Eric

hi,
i did make check and following error appeared may be this will help us
in solving the problem

make[3]: Entering directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make check-TESTS make[4]: Entering directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src’
Traceback (most recent call last):
File “./qa_usrp.py”, line 24, in
import usrp_swig
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”,
line 18, in
_usrp_swig = swig_import_helper()
File “/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src/usrp_swig.py”,
line 16, in swig_import_helper
if fp is not None: fp.close()
UnboundLocalError: local variable ‘fp’ referenced before assignment
FAIL: run_tests

1 of 1 test failed

make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make[3]: *** [check-am] Error 2 make[3]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src’
make[2]: *** [check] Error 2
make[2]: Leaving directory
/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp/src' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory/home/sanam/hydra-0.4/gnuradio-3.2.2/gr-usrp’
make: *** [check-recursive] Error 1