discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Strange problem when using build-gnuradio script


From: mleech
Subject: Re: [Discuss-gnuradio] Strange problem when using build-gnuradio script
Date: Tue, 27 Mar 2012 11:36:16 -0400
User-agent: Roundcube Webmail/0.5.1

Looks like there may be a bug in the PYTHONPATH finder inside build-gnuradio.

This has almost zero downstream consequences, since it's merely offering a suggestion as to what to set your PYTHONPATH to in your .bashrc.  It doesn't automatically edit your .bashrc--that's up to you.

 

 

On Ubuntu 10.04, it should be:

 

PYTHONPATH=/usr/local/lib/python2.6/dist-packages

 

On 11.10

PYTHONPATH=/usr/local/lib/python2.7/dist-packages

 

Put one of those in your .bashrc or .profile or whatever, and logout/login.

You should be able to start gnuradio-companion after that.

 

 

On Tue, 27 Mar 2012 21:44:52 +0900, Wu Ting wrote:

Hi, Thank you for your reply. I ran ./build-gnuradio –v  The result is in the attached file. Could you have a look at it. Thank you!

 

Wu

 

 

From: address@hidden [mailto:address@hidden On Behalf Of Marcus D. Leech
Sent: Tuesday, March 27, 2012 9:15 PM
To: address@hidden
Subject: Re: [Discuss-gnuradio] Strange problem when using build-gnuradio script

 

On 03/27/2012 03:59 AM, Wu Ting wrote:

Hi all,

 

I’m using build-gnuradio script to build gnuradio and uhd. It works well before (both on Ubuntu 10.04 and 11.10). However, on my current computer (Ubuntu 10.04), it has a strange problem. At first, it kept showing some libs are not found. After installing these libs and trying for several times, it finally finished installing. But it finished with such information:

 

************************************************************
You should probably set your PYTHONPATH to:
 
   
 
in your .bashrc or equivalent file prior to attempting to run
any Gnu Radio applications or Gnu Radio Companion.
*************************************************************
Done function pythonpath at: Tue Mar 27 16:34:46 JST 2012
Done all functions at: Tue Mar 27 16:34:46 JST 2012
All Done

 

 

There is EMPTY line below “You should probably set your PYTHONPATH to:”.

And I cannot run any gnuradio script.

I also tried this:

 

>>> from gnuradio import gr
Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named gnuradio

 

I also noticed that there is no .py files under /usr/local/bin/.

There are only these files:

uhd_cal_tx_dc_offset   uhd_find_devices  volk_profile
uhd_cal_rx_iq_balance   uhd_cal_tx_iq_balance  uhd_usrp_probe

 

Anyone know what is the problem?

 

Thanks.

 

Wu

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

Re-run it with --verbose to see where it went off the rails.  it clearly didn't build/install Gnu Radio, only UHD.  The blank Pythonpath is because
  it couldn't find any Gnu Radio bits in any of the places it looks for locally-installed Python bits.




-- 
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]