GRC: Searching in wrongt places!

Hello,

running ./bootstrap ; ./configure; make; make check ; make install
things get installed in /usr/local/lib and /usr/local/lib64 on my
Opensuse-11 AMD64 machine:

find |grep gnuradio_swig_py_runtime |xargs ls -l

-rw-r–r-- 1 root root 1050 12. Okt 18:09
./include/gnuradio/swig/gnuradio_swig_py_runtime.i
-rwxr-xr-x 1 root root 1240 12. Okt 18:09
./lib64/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.la
-rwxr-xr-x 1 root root 1699105 12. Okt 18:09
./lib64/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so
-rw-r–r-- 1 root root 69242 12. Okt 18:09
./lib/python2.6/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py
-rw-r–r-- 1 root root 111800 12. Okt 18:09
./lib/python2.6/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.pyc
-rw-r–r-- 1 root root 111800 12. Okt 18:09
./lib/python2.6/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.pyo

Running grc now with PYTHONPATH even pointing to /usr/local/lib and
/usr/local/lib64
env
PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib64/python2.6/site-packages
/usr/local/bin/grc
_gnuradio_swig_py_runtime isn’t found:

23009
stat("/usr/local/lib/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/local/bin/_gnuradio_swig_py_runtime", 0x7ffff4a645d0) =
-1 ENOENT (No such file or directory)
23009 open("/usr/local/bin/_gnuradio_swig_py_runtime.so", O_RDONLY) = -1
ENOENT (No such file or directory)
23009 open("/usr/local/bin/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/local/bin/_gnuradio_swig_py_runtime.py", O_RDONLY) = -1
ENOENT (No such file or directory)
23009 open("/usr/local/bin/_gnuradio_swig_py_runtime.pyc", O_RDONLY) =
-1 ENOENT (No such file or directory)
23009
stat("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/lib64/python2.6/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/lib64/python2.6/plat-linux2/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/plat-linux2/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/plat-linux2/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/plat-linux2/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/plat-linux2/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/lib64/python2.6/lib-tk/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/lib-tk/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/lib-tk/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/lib-tk/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 open("/usr/lib64/python2.6/lib-tk/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/lib64/python2.6/lib-dynload/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/lib-dynload/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/lib-dynload/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/lib-dynload/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/lib-dynload/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/lib64/python2.6/site-packages/Numeric/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/Numeric/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/Numeric/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/Numeric/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/Numeric/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/local/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/local/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/lib64/python2.6/site-packages/gtk-2.0/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/gtk-2.0/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/gtk-2.0/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/gtk-2.0/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/gtk-2.0/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
stat("/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009 stat("/usr/lib/python2.6/site-packages/_gnuradio_swig_py_runtime",
0x7ffff4a645d0) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib/python2.6/site-packages/_gnuradio_swig_py_runtimemodule.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
23009
open("/usr/lib/python2.6/site-packages/_gnuradio_swig_py_runtime.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)

Copying
/usr/local/lib64/python2.6/site-packages/gnuradio/gr/gnuradio_swig_py*
to
/usr/local/lib64/python2.6/site-packages

however makes the program run.

Any ideas to get the setup right?

Thanks

Uwe Bonnes [email protected]

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

Add this to the .bashrc
export PYTHONPATH=/usr/local/lib64/python2.6/site-packages

Make sure echo $PYTHONPATH gives you what you expect. And try to run
python -c “from gnuradio import gr” and see if that does not fail.

Its probably just an issue of setting the python path. If you figure it
out, can you add notes to the wiki page for suse? user:guest
pass:gnuradio

http://gnuradio.org/trac/wiki/SuseInstall

-josh

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