discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] all's ok, but unable to execute an example...


From: Norbert François
Subject: [Discuss-gnuradio] all's ok, but unable to execute an example...
Date: Sat, 31 Mar 2007 00:35:00 +0200



Hi List,

I'm totally new to gnu-radio (and python in general). I've successfully installed (make && make install). My ./configure gets me:


config
omnithread
gnuradio-core
gr-audio-alsa
gr-audio-oss
gr-atsc
gr-gsm-fr-vocoder
gr-pager
gr-radio-astronomy
gr-trellis
gr-video-sdl
gr-wxgui
pmt
mblock
gr-rdf
gnuradio-examples

You my now run the make command to build these components.

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

usrp
gr-usrp
gr-audio-jack
gr-audio-osx
gr-audio-portaudio
gr-audio-windows
gr-comedi
ezdop
gr-ezdop





I don't need more things for what I'm gonna do (just a fft and add a filter on a signal, to use on a gnuradio box further on).

But now, when I try to execute, for instance:

#gnuradio-examples/python/audio/noise.py

I get:

Traceback (most recent call last):
File "gnuradio-examples/python/audio/noise.py", line 23, in ?
from gnuradio import gr
File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/__init__.py", line 27, in ?
from gnuradio_swig_python import *
File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.py", line 23, in ?
from gnuradio_swig_py_runtime import *
File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py", line 6, in ?
import _gnuradio_swig_py_runtime
ImportError: libgnuradio-core.so.0 : cannot open shared object file: No such file or directory



# ls /usr/local/lib/python2.4/site-packages/gnuradio/
__init__.py _trellis.so audio_oss.py eng_option.pyo modulation_utils.pyo trellis.pyc
__init__.pyc _video_sdl.la audio_oss.pyc gr optfir.py trellis.pyo
__init__.pyo _video_sdl.so audio_oss.pyo gr_unittest.py optfir.pyc video_sdl.py
_atsc.la atsc.py blks gr_unittest.pyc optfir.pyo video_sdl.pyc
_atsc.so atsc.pyc blks2 gr_unittest.pyo packet_utils.py video_sdl.pyo
_audio_alsa.la atsc.pyo blksimpl gru packet_utils.pyc vocoder
_audio_alsa.so audio.py blksimpl2 gruimpl packet_utils.pyo window.py
_audio_oss.la audio.pyc eng_notation.py local_calibrator.py pager window.pyc
_audio_oss.so audio.pyo eng_notation.pyc local_calibrator.pyc ra.py window.pyo
_ra.la audio_alsa.py eng_notation.pyo local_calibrator.pyo ra.pyc wxgui
_ra.so audio_alsa.pyc eng_option.py modulation_utils.py ra.pyo
_trellis.la audio_alsa.pyo eng_option.pyc modulation_utils.pyc trellis.py



I'm running a gentoo box  2.6.19-r5. I installed manually all required packages (and set the path to PYTHONPATH=/usr/local/lib/python2.4/site-packages/).

Thank a lot for your help !

Norbert


reply via email to

[Prev in Thread] Current Thread [Next in Thread]