Problem in make check


#1

Hi,
I am trying to run an example program using GNURadio. I am using
Redhat linux. When i run make check I encounter following problem
All the packages that I have installed is not installed in
/usr/local/lib/site-packages rather its installed in /usr/lib
Please let me know what could bt the problem.

error

Making check in config
make[1]: Entering directory
/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/config' make[1]: Nothing to be done forcheck’.
make[1]: Leaving directory
/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/config' Making check in src make[1]: Entering directory/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src’
Making check in lib
make[2]: Entering directory
/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/lib' make check-am make[3]: Entering directory/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/lib’
make[3]: Nothing to be done for check-am'. make[3]: Leaving directory/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/lib’
make[2]: Leaving directory
/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/lib' Making check in python make[2]: Entering directory/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/python’
make check-TESTS
make[3]: Entering directory
`/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/python’
Traceback (most recent call last):
File “./qa_howto.py”, line 23, in ?
from gnuradio import gr, gr_unittest
File “/usr/local/lib/python2.3/site-packages/gnuradio/gr/init.py”,
line 27, in ?
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.3/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 4, in ?
import _gnuradio_swig_python
ImportError: No module named _gnuradio_swig_python
FAIL: run_tests

1 of 1 tests failed

make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/python' make[2]: *** [check-am] Error 2 make[2]: Leaving directory/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src/python’
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/home/gnuradio/Desktop/GNU_RADIO/gr-howto-write-a-block-0.4/src’
make: *** [check-recursive] Error 1
[root@RND gr-howto-write-a-block-0.4]#


Thanks
Best Regards
Rajenish


#2

On Thu, May 11, 2006 at 12:50:54PM -0000, rajenish kumar jain wrote:

Hi,

I am trying to run an example program using GNURadio. I am using
Redhat linux. When i run make check I encounter following problem
All the packages that I have installed is not installed in
/usr/local/lib/site-packages rather its installed in /usr/lib

Please let me know what could bt the problem.

Did you use the same prefix to build all the packages?
What prefix did you use?
What’s the value of PYTHONPATH?

Eric