Broken 3.1.1 install on Ubuntu Gutsy? (7.10)

I downloaded the 3.1.1. tar ball today and tried to install. For
background info, I already had gr3.0rc1 installed and running fine. I
untarred, cd’d to gnuradio-3.1.1 and did a…

sudo make install

Everything went fine, but when I try to run anything, I get the
following…

Traceback (most recent call last):
File “./usrp_fft.py”, line 23, in
from gnuradio import gr, gru
File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/init.py”,
line 27, in
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in
import _gnuradio_swig_py_runtime
ImportError: libgromnithread.so.0: cannot open shared object file: No
such file or directory

I did a …

make check to see if anything was wrong and I got this…

make[4]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss/src' make[3]: Leaving directory …/gnuradio-3.1.1/gr-audio-oss/src’
make[2]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss/src' make[2]: Entering directory …/gnuradio-3.1.1/gr-audio-oss’
make[2]: Nothing to be done for check-am'. make[2]: Leaving directory …/gnuradio-3.1.1/gr-audio-oss’
make[1]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss' Making check in gr-atsc make[1]: Entering directory …/gnuradio-3.1.1/gr-atsc’
Making check in src
make[2]: Entering directory .../gnuradio-3.1.1/gr-atsc/src' Making check in lib make[3]: Entering directory …/gnuradio-3.1.1/gr-atsc/src/lib’
make check-am
make[4]: Entering directory .../gnuradio-3.1.1/gr-atsc/src/lib' make check-TESTS make[5]: Entering directory …/gnuradio-3.1.1/gr-atsc/src/lib’
/usr/bin/ld: cannot open output file
…/gnuradio-3.1.1/gr-atsc/src/lib/.libs/7836-lt-test_atsci: Permission
denied
collect2: ld returned 1 exit status
FAIL: test_atsci

1 of 1 tests failed

make[5]: *** [check-TESTS] Error 1
make[5]: Leaving directory .../gnuradio-3.1.1/gr-atsc/src/lib' make[4]: *** [check-am] Error 2 make[4]: Leaving directory …/gnuradio-3.1.1/gr-atsc/src/lib’
make[3]: *** [check] Error 2
make[3]: Leaving directory .../gnuradio-3.1.1/gr-atsc/src/lib' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory …/gnuradio-3.1.1/gr-atsc/src’
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `…/gnuradio-3.1.1/gr-atsc’
make: *** [check-recursive] Error 1

Are there some new dependencies I should be aware of? Thanks.

Jared


Climb to the top of the charts! Play Star Shuffle: the word scramble
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct

Hi,

Gnuradio 3.1.1 is not broken, you should :

  1. Uninstall the old gnuradio completely by:
    a) sudo make uninstall
    b) delete or rename the old gnuradio folder

  2. download 3.1.1 tarball and :
    a) untar it
    b) ./configure --enable-doxygen
    c) make
    d) make check
    e) sudo make install

I did the above steps with my Gutsy and it was working fine.

note:
(–enable-doxygen) in step 2.b is optional, and it is used to build the
doxygen documentation, but you can omit it. I usually do
(–enable-doxygen --disable-gr-audio-alsa) on my Ubuntu gnuradio
installation, to use only OSS audio, because I always have problems with
ALSA audio.

Firas

Jared J. [email protected] wrote:
I downloaded the 3.1.1. tar ball today and tried to install. For
background info, I already had gr3.0rc1 installed and running fine. I
untarred, cd’d to gnuradio-3.1.1 and did a…

sudo make install

Everything went fine, but when I try to run anything, I get the
following…

Traceback (most recent call last):
File “./usrp_fft.py”, line 23, in
from gnuradio import gr, gru
File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/init.py”,
line 27, in
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in
import _gnuradio_swig_py_runtime
ImportError: libgromnithread.so.0: cannot open shared object file: No
such file or directory

I did a …

make check to see if anything was wrong and I got this…

make[4]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss/src' make[3]: Leaving directory …/gnuradio-3.1.1/gr-audio-oss/src’
make[2]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss/src' make[2]: Entering directory …/gnuradio-3.1.1/gr-audio-oss’
make[2]: Nothing to be done for check-am'. make[2]: Leaving directory …/gnuradio-3.1.1/gr-audio-oss’
make[1]: Leaving directory .../gnuradio-3.1.1/gr-audio-oss' Making check in gr-atsc make[1]: Entering directory …/gnuradio-3.1.1/gr-atsc’
Making check in src
make[2]: Entering directory .../gnuradio-3.1.1/gr-atsc/src' Making check in lib make[3]: Entering directory …/gnuradio-3.1.1/gr-atsc/src/lib’
make check-am
make[4]: Entering directory .../gnuradio-3.1.1/gr-atsc/src/lib' make check-TESTS make[5]: Entering directory …/gnuradio-3.1.1/gr-atsc/src/lib’
/usr/bin/ld: cannot open output file
…/gnuradio-3.1.1/gr-atsc/src/lib/.libs/7836-lt-test_atsci: Permission
denied
collect2: ld returned 1 exit status
FAIL: test_atsci

1 of 1 tests failed

make[5]: *** [check-TESTS] Error 1
make[5]: Leaving directory .../gnuradio-3.1.1/gr-atsc/src/lib' make[4]: *** [check-am] Error 2 make[4]: Leaving directory …/gnuradio-3.1.1/gr-atsc/src/lib’
make[3]: *** [check] Error 2
make[3]: Leaving directory .../gnuradio-3.1.1/gr-atsc/src/lib' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory …/gnuradio-3.1.1/gr-atsc/src’
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `…/gnuradio-3.1.1/gr-atsc’
make: *** [check-recursive] Error 1

Are there some new dependencies I should be aware of? Thanks.

Jared


Climb to the top of the charts! Play Star Shuffle: the word scramble
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct

I was having the same problem as described above, and I found that by
doing:

sudo apt-get install python-numpy-ext

the “make check” passed all tests, and the usrp_benchmark.py that I was
trying worked.