And again - installation problems

Installed from git:

./bootstrap
./configure --disable-gr-audio-oss --disable-gr-audio-osx
–disable-gr-audio-portaudio --disable-gr-audio-windows
–disable-gr-audio-alsa --disable-gr-audio-jack --disable-gr-comedi
–disable-gr-cvsd-vocoder --disable-gr-gsm-fr-vocoder
–disable-gr-msdd6000
–disable-gr-noaa --disable-gr-pager --disable-gr-radar-mono
–disable-gr-radio-astronomy --disable-gr-sounder
–with-fusb-tech=libusb1
CFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp”
CXXFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp”
make
make check
sudo make install

No errors at all. If I use lsusrp this happens:

ubuntu@omap:~/gr-ais$ sudo lsusrp
Traceback (most recent call last):
File “/usr/local/bin/lsusrp”, line 25, in
from gnuradio import usrp
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/init.py”,
line 25, in
from usrp_swig import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 24, in
_usrp_swig = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 20, in swig_import_helper
_mod = imp.load_module(‘_usrp_swig’, fp, pathname, description)
ImportError: libgnuradio-usrp-3.3.1git.so.0: cannot open shared object
file:
No such file or directory

I can find it, both in sourcecode folder and installed in system
ubuntu@omap:~/gr-ais$ sudo find / -iname
“libgnuradio-core-3.3.1git.so.0”
/usr/local/lib/libgnuradio-core-3.3.1git.so.0
/home/ubuntu/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1git.so.0

Why can’t lsusrp find it? I guess something wrong in the way I installed
it?
Will there be any difference if I had installed with --prefix ?

View this message in context:
http://old.nabble.com/And-again---installation-problems-tp30285513p30285513.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Wed, Nov 24, 2010 at 6:25 AM, Thunder87 [email protected]
wrote:

CFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp”
from gnuradio import usrp
No such file or directory

I can find it, both in sourcecode folder and installed in system
ubuntu@omap:~/gr-ais$ sudo find / -iname “libgnuradio-core-3.3.1git.so.0”
/usr/local/lib/libgnuradio-core-3.3.1git.so.0
/home/ubuntu/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1git.so.0

Why can’t lsusrp find it? I guess something wrong in the way I installed it?

Is /usr/local/lib in the LD_LIBRARY_PATH for root user? (since you
execute with sudo which isn’t necessary)
Also be sure to set up udev according to
http://gnuradio.org/redmine/wiki/gnuradio/UbuntuInstall otherwise usrp
will not be recognised.

Will there be any difference if I had installed with --prefix ?

Yes, everything would then be installed under the specified prefix
rather than /usr/local, but you would still have to add PREFIX/lib to
your LD_LIBRARY_PATH

Alex