Error re make check in gnuradio-3.0.2

Hello,

I am trying to install Gnuradio-3.0.2 on 2.6.9-22 Enterprise Linux
running
on x86 platform. I installed the following dependencies

boost_1_33_1 cppunit-1.10.2 fftw-3.1.2 sdcc-2.6.0
cppunit-1.10.0 numpy-1.0 swig-1.3.29

The commands “configure” and “make” run fine. However, I get error when
I
run make check. The error is following…

======================================================================
ERROR: test_blks_import (main.test_head)

Traceback (most recent call last):
File “./qa_kludged_imports.py”, line 35, in test_blks_import
from gnuradio import blks
File
“/mnt/dosc/home/rohit/GNURadio/gnuradio-3.0.2/gnuradio-core/src/python/gnuradio/blks/init.py”,
line 37, in ?
exec “from gnuradio.blksimpl.%s import *” % (f,)
File “”, line 1, in ?
File
“/mnt/dosc/home/rohit/GNURadio/gnuradio-3.0.2/gnuradio-core/src/python/gnuradio/blksimpl/dbpsk.py”,
line 28, in ?
from gnuradio import gr, gru, modulation_utils
File
“/mnt/dosc/home/rohit/GNURadio/gnuradio-3.0.2/gnuradio-core/src/python/gnuradio/gru/init.py”,
line 37, in ?
exec “from gnuradio.gruimpl.%s import *” % (f,)
File “”, line 1, in ?
File
“/mnt/dosc/home/rohit/GNURadio/gnuradio-3.0.2/gnuradio-core/src/python/gnuradio/gruimpl/freqz.py”,
line 57, in ?
import Numeric
ImportError: No module named Numeric


Ran 2 tests in 0.010s

FAILED (errors=1)

I would appreciate if anyone could give me any pointers to fix this
error.

Rohit

On Sat, Nov 18, 2006 at 11:39:18PM -0800, Rohit Gupta wrote:

Hello,

I am trying to install Gnuradio-3.0.2 on 2.6.9-22 Enterprise Linux running
on x86 platform. I installed the following dependencies

“/mnt/dosc/home/rohit/GNURadio/gnuradio-3.0.2/gnuradio-core/src/python/gnuradio/gruimpl/freqz.py”,
line 57, in ?
import Numeric
ImportError: No module named Numeric

You’re missing the Numeric Python package.

http://downloads.sourceforge.net/numpy/Numeric-24.2-1.i586.rpm?modtime=1131745254&big_mirror=0

It looks like now that NumPy has make it’s 1.0 release, we ought to
accept it too. I’ll file a bug report.

Eric

Hello,

I am trying to install Gnuradio-3.0.2 on 2.6.9-22 Enterprise Linux
running
on x86 platform. I installed the following dependencies

boost_1_33_1 cppunit-1.10.2 fftw-3.1.2 sdcc-2.6.0
cppunit-1.10.0 numpy-1.0 swig-1.3.29

wxPython2.6-devel-gtk2-ansi-2.6.3.3-rh9_py2.3
wxPython2.6-gtk2-ansi-2.6.3.3-rh9_py2.3
wxPython-common-gtk2-ansi-2.6.3.3-rh9_py2.3

The commands “configure” , “make” , “make check” and “make install” run
fine.

I then ran the following commands,

cd gnuradio-examples/python/usrp
export PYTHONPATH=/usr/local/lib/python2.3/site-packages

./usrp_oscope.py

Traceback (most recent call last):
File “./usrp_oscope.py”, line 29, in ?
from gnuradio.wxgui import stdgui, fftsink, waterfallsink,
scopesink,
form, slider
ImportError: No module named wxgui

Any help in fixing this is much appreciated.

Rohit

Hey,

You need wxpython:

I am not familiar with Enterprise Linux and the kind of package managers
it
has… but thats the package you need to create the python module.

  • George

They may have installed to somewhere not in your sys.path

do this:
python
import sys
print sys.path

and make sure those got installed in one of those paths

I also initially had problems with this… wxpython and gnuradio python
modules were being installed to /usr/local rather than /usr

Give it a shot.

  • George

On Mon, Nov 27, 2006 at 05:21:43PM -0800, Rohit Gupta wrote:

wxPython-common-gtk2-ansi-2.6.3.3-rh9_py2.3

The commands “configure” , “make” , “make check” and “make install” run
fine.

When you ran configure, did it indicate that it was going to build
gr-wxgui?

Eric

Hi George,

I did install the three wxpython rpms from www.wxpython.org.

wxPython2.6-devel-gtk2-ansi-2.6.3.3-rh9_py2.3
wxPython2.6-gtk2-ansi-2.6.3.3-rh9_py2.3
wxPython-common-gtk2-ansi-2.6.3.3-rh9_py2.3

Rohit

----- Original Message -----
From: “George N.” [email protected]
To: “Rohit Gupta” [email protected]
Cc: [email protected]
Sent: Monday, November 27, 2006 7:11 PM
Subject: Re: [Discuss-gnuradio] Error in usrp_oscope.py example
gnuradio-3.0.2

Hi George,

The solution below worked just fine. I can run usrp_oscope.py example
correctly now.

Thanks,
Rohit

----- Original Message -----
From: “George N.” [email protected]
To: “Rohit Gupta” [email protected]
Cc: [email protected]
Sent: Monday, November 27, 2006 8:20 PM
Subject: Re: [Discuss-gnuradio] Error in usrp_oscope.py example
gnuradio-3.0.2