Hi! Now it works! Thank you so much!
Wu From: Marcus D. Leech [mailto:mle...@ripnet.com] Sent: Wednesday, March 28, 2012 6:07 AM To: Wu Ting Cc: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Strange problem when using build-gnuradio script On 03/27/2012 08:44 AM, 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 Here's some clue, here: - Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Success -- Performing Test HAVE_SCHED_SETSCHEDULER -- Performing Test HAVE_SCHED_SETSCHEDULER - Failed -- checking for module 'gsl >= 1.10' -- found gsl , version 1.13 -- checking for module 'fftw3f >= 3.0' -- package 'fftw3f >= 3.0' not found -- Could NOT find FFTW3F (missing: FFTW3F_LIBRARIES FFTW3F_INCLUDE_DIRS) -- -- Configuring gnuradio-core support... -- Dependency ENABLE_GRUEL = ON -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependency GSL_FOUND = 1 -- Dependency FFTW3F_FOUND = FALSE -- Dependency PYTHONINTERP_FOUND = TRUE -- Disabling gnuradio-core support. -- Override with -DENABLE_GR_CORE=ON/OFF Despite the package-config checks that build-gnuradio does passing for fftw3f earlier in build-gnuradio, the CMAKE check failed to find FFTW3F >= 3.0. Which may mean that your system is missing appropriate libraries for FFTW3F. Which is a *requirement* for gnuradio to build properly. Also, you're missing: - ###################################################### -- # Gnuradio disabled components -- ###################################################### -- * python-support -- * gnuradio-core -- * gnuradio-companion -- * gr-atsc -- * gr-audio -- * gr-comedi -- * gr-digital -- * gr-noaa -- * gr-pager -- * gr-qtgui -- * gr-trellis -- * gr-uhd -- * gr-shd -- * gr-utils -- * gr-video-sdl -- * gr-vocoder -- * gr-fcd -- * gr-wxgui Which is pretty-much all of Gnu Radio. Not sure how to explain this. The build-gnuradio script checks for various packages having been installed, and calls the "install depends" if any of them are missing. So, according to your apt-cache check, those packages are there, but in reality, they aren't--like they've been removed casually from the system without the package database having been updated. However, it seems that the pre-requisites installer for UBuntu 10.X is asking for installation of "liborc" (I added that the other day), and that causes the pre-requisites install to fail for everything. I've removed that in the pre-requisites. Please try again. I've also added the "--ignore-missing" option to the apt-get. From: discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.org [mailto:discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.or g] On Behalf Of Marcus D. Leech Sent: Tuesday, March 27, 2012 9:15 PM To: discuss-gnuradio@gnu.org 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 "<stdin>", line 1, in <module> 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 Discuss-gnuradio@gnu.org 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 -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio