discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] build error with "next" branch


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] build error with "next" branch
Date: Wed, 20 Feb 2013 12:17:12 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On Wed, Feb 20, 2013 at 12:09 PM, Ralph A. Schmid <address@hidden> wrote:

The build and build install worked just fine, but now the crazy thing complains that the pythonpath is not set. Huh?! Why does a new build influence a environment variable? And I have no idea how to handle these things under Linux :-( So much to learn that I never wanted to know :)


Ralph.



I assure you that the install did not change your environmental variables.

To set it, use 'export PYTHONPATH=[path]:$PYTHONPATH'. Some shells want you to use 'set' instead of 'export.' The [path] is the path to the installed Python packages; something like /usr/local/lib/python2.7/dist-packages.

Tom

Indeed, and build-gnuradio actually tells you what your PYTHONPATH should be set to for Gnu Radio support.  The build-gnuradio script *could*
  edit your .bashrc and set that variable for you, but doing so is dangerous because .bashrc is, essentially, a *program*, which would involve
  build-gnuradio somehow interpreting the semantics of said program, and figuring out where to put the PYTHONPATH setting.  Some hand-holding
  is best left not done...


-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

reply via email to

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