discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Fedora Core 5 x86_64 lib install problems


From: Eric Hill Matlis
Subject: [Discuss-gnuradio] Fedora Core 5 x86_64 lib install problems
Date: Fri, 21 Jul 2006 22:26:43 -0400 (EDT)

I'm having issues getting the gnu-radio core libraries installed in the correct location on my 64-bit installation of Fedora Core 5. The problem appears to be the separation of the 32-bit and 64-bit libraries. I compiled with:
./for-all-dirs ../buildit -n --prefix=$HOME/z.research/z.gnuradio

After compiling gnuradio-core successfully, gr-audio-alsa fails in the check stage with this error:

make[3]: Entering directory `/home/matlis/z.research/z.gnuradio/gr-build/gr-audio-alsa/src'
Traceback (most recent call last):
  File "./qa_alsa.py", line 23, in ?
    from gnuradio import gr, gr_unittest
File "/home/matlis/z.research/z.gnuradio/lib/python2.4/site-packages/gnuradio/gr/__init__.py", line 27, in ?
    from gnuradio_swig_python import *
File "/home/matlis/z.research/z.gnuradio/lib/python2.4/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
===================

The test routine is looking in ...lib/python2.4 - shouldn't it look in lib64? This is where _gnuradio_swig_python.so is stored. I noticed "run_tests" in the gr_audio_alsa/src directory contained the following:

# Where to look for installed GNU Radio python modules
# FIXME this is wrong on a distcheck.  We really need to ask gnuradio-core
# where it put its python files.
installed_pythondir=${prefix}/lib/python2.4/site-packages
installed_pyexecdir=${exec_prefix}/lib64/python2.4/site-packages

I noticed the first line referes to lib as opposed to lib64, but changing this to lib64 didn't seem to fix the problem.

Here are my environment variables defind in .bash_profile:

GR=$HOME/z.research/z.gnuradio
export GR
PATH=$PATH:.:$GR/bin
export PKG_CONFIG_PATH=$GR/lib64/pkgconfig/:/usr/lib64/pkgconfig
export 
PYTHONPATH=$GR/lib64/python2.4/site-packages:/usr/lib64/python2.4/site-packages
export LD_LIBRARY_PATH=$GR/lib64
export CVS_RSH=ssh
export LDFLAGS="-L$GR/lib"

Any suggestions?

thanks!

eric

************************************
Eric H. Matlis, Ph.D.
Aerospace & Mechanical Engineering Dept.
114 Hessert Center for Aerospace Research
University of Notre Dame
Notre Dame, IN 46556-5684
Phone: (574) 631-7576
Fax:   (574) 631-8355




reply via email to

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