Thanks....Josh and Tom. Both your comments are extremely useful! I have got it fully working now. I have actually reinstalled a clean Ubuntu 11.04, and just executed Marcus' script. It works beautifully...!
Jonathan ________________________________________ From: Tom Rondeau [[email protected]] Sent: 11 May 2011 17:41 To: [email protected] Cc: Jonathan Loo; [email protected] Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd --> gr-uhd/swig On Wed, May 11, 2011 at 4:38 PM, Josh Blum <[email protected]<mailto:[email protected]>> wrote: Just nuke everything. Delete the source repository checkouts and any installed folders from uhd/gnuradio. It will probably be quicker, and you will catch the problem if there is one. Marcus has an automated script to install everything floating around on this list. If that helps. -josh Make sure you take care of anything in /usr/lib or /usr/include. Somehow some UHD stuff was installed there on my machine (probably from a deb package install at some point) and was taking over, so the newer libuhd built and installed into /usr/local/ was not being found and causing this problem. Tom On 05/11/2011 06:41 AM, Jonathan Loo wrote: > Hi Josh, and others, > > I have tried your suggestion by removing the python/uhd_swig.cc, and I follow > the usual steps again from "./bootstrap" to "make". > Unfortunately, the errors still persist. > > make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1 > make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig' > make[4]: *** [all] Error 2 > make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jonathan/gnuradio' > make: *** [all] Error 2 > > Any other suggestion to resolve these errors? > > Another question: > As I learned from others, I set the environment variables as follows: > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig > > I guess this is pointing towards the UHD driver which stalled in there. I > wonder if the above variables got anything to do with the gnuradio > installation? > > Hope to hear from anyone. > > Kind regards, > Jonathan > > ________________________________________ > From: > discuss-gnuradio-bounces+j.loo=mdx.ac.uk<http://mdx.ac.uk>@gnu.org<http://gnu.org> > > [discuss-gnuradio-bounces+j.loo=mdx.ac.uk<http://mdx.ac.uk>@gnu.org<http://gnu.org>] > On Behalf Of Josh Blum [[email protected]<mailto:[email protected]>] > Sent: 11 May 2011 00:59 > To: [email protected]<mailto:[email protected]> > Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd --> gr-uhd/swig > > On 05/10/2011 04:45 PM, Jonathan Loo wrote: >> Hi there, >> >> Please could someone shed some lights on the following problem I am facing. >> >> I have installed UHD drivers following the guidance from this site: >> http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/ >> >> My N210 works perfectly. I have even installed openbts-uhd, all works well. >> >> Unfortunately, I am having problem install Gnuradio with the gr-uhd. >> >> git clone http://gnuradio.org/git/gnuradio.git >> cd gnuradio >> ./bootstrap >> ./configure --enable-gr-uhd >> make >> > > That was related to a recent bug fix. > Can you remove python/uhd_swig.cc so it gets regenerated and/or make > clean and try again? > > -Josh > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected]<mailto:[email protected]> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected]<mailto:[email protected]> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
