On 11/16/2010 02:48 PM, Steve Mcmahon wrote:
> Marcus:
>
> I'm curious about that last statement you made, "F14 is running python2.7, so
> I had to update my .bashrc to reflect this". I might be running Fedora 14
> with GNU Radio 3.3.0 soon too, so I'm curious what you had to change in your
> .bashrc file.
>
>
I had to change my PYTHONPATH to reflect the new version of Python:
PYTHONPATH=/usr/local/lib/python2.7/site-packages
or
PYTHONPATH=/usr/local/lib64/python2.7/site-packages
depending on whether you're on a 64 or 32-bit machine.
I've attached a little shell script that can set the PYTHONPATH
appropriately, by finding
the appropriate bits dynamically.
> Also, I noticed that you did NOT use GNU Radio 3.3.0, but rather you used the
> latest branch in Git. What branch specifically did you use? I guess I will
> need to do the same.
>
>
I use the "next" branch, because I'm a UHD user.
> Fedora 14 uses gcc version 4.5.1, right?
>
>
>
Yes.
--
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
#!/bin/sh
mach_type=`uname -m`
lib=lib
if [ $mach_type = "x86_64" ]
then
lib=lib64
fi
for version in 2.9 2.8 2.7 2.6
do
if [ -d /usr/local/$lib/python${version}/site-packages ]
then
break
fi
done
PYTHONPATH=/usr/local/$lib/python${version}/site-packages:$HOME/python:$HOME/bin
export PYTHONPATH
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio