On Wed, Jun 22, 2005 at 08:12:27PM -0700, Mark S Petrovic wrote:
> There was earlier some discussion surrounding why Numeric cannot be
> found during the build tests
> 
> http://lists.gnu.org/archive/html/discuss-gnuradio/2005-04/msg00135.html
> 
> The problem is manifested by a console message to the effect
> ImportError: No module named Numeric
> I encountered the same problem, and fixed by changing
> 
> PYTHONPATH="$swigbld:$swigbld/.libs:$swigsrc:$py"
> 
> to
> 
> PYTHONPATH="$PYTHONPATH:$swigbld:$swigbld/.libs:$swigsrc:$py"
> 
> in the file
> gr-build/gnuradio-core/src/python/gnuradio/gr/run_tests.in


Hi Mark,

Thanks for all the info on the Gentoo build.

Regarding the PYTHONPATH modification in run_tests.in, you'll want to
add the existing value of PYTHONPATH to the TAIL of the path, not the
head, otherwise you'll be testing an existing GNU Radio installation,
not the new stuff in the build tree.

Use:

  PYTHONPATH="$swigbld:$swigbld/.libs:$swigsrc:$py:$PYTHONPATH"

Not:

  PYTHONPATH="$PYTHONPATH:$swigbld:$swigbld/.libs:$swigsrc:$py"

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to