discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Buliding GNU Radio on Gentoo Linux


From: George Nychis
Subject: Re: [Discuss-gnuradio] Buliding GNU Radio on Gentoo Linux
Date: Thu, 25 Oct 2007 11:54:06 -0400
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Hi Simon,

Make check passed all tests. (Easy peasy hey ;-)

The problem I now have, is when I try running any of the examples or usrp
.py scripts I get "ImportError: No module named gnuradio".

How do I get python to find the gnuradio module?

There are two ways to go about this in Gentoo. The main problem is that python in Gentoo's portage installs/looks for modules in /usr/ whereas other distributions and GNU Radio install and look in /usr/local by default.

The first solution is to add a path to your python environment to point to the newly installed python modules in /usr/local/<something>.

The second method, which I found is much easier and helps stay consistent when I used to run Gentoo, is to change the prefix on configure:
./configure --prefix=/usr/

I think you're on this track as you specified --exec-prefix... just also specify a --prefix.

- George




reply via email to

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