Here's what I needed to do to make it work. From a botched make, I did the following in the gnuradio directory:
make uninstall
make clean
make distclean
I probably could simplify that, but it works. Then:
./bootstrap
./configure --with-boost=/usr/include/boost --with-boost-lib=/usr/lib
Now, inspect config.log to make sure it is happy:
more config.log | grep "boost"
Look for "yes" next to all boost-related things. Then:
make
make check
make install
Finally, you may need to edit your /etc/ld.so.conf file to include the following lines:
/usr/lib/
/usr/local/lib/
Then run sudo ldconfig to read the changes. Finally, run this:
export LD_LIBRARY_PATH=/usr/local/lob
Everything should now work. Anyone want to edit the Wiki to include this information?
Mike
On 29 Mar 2010, at 14:42, Alexandru Csete wrote:
> On 29 March 2010 18:44, Mike Benonis <mailinglists@benonis.net> wrote:
>> On 29 Mar 2010, at 08:37, Tom Rondeau wrote:
>>
>>> On 3/28/2010 11:28 PM, Mike Benonis wrote:
>>>>
>>>>
>>>> I'm using Ubuntu 9.10. I had actually added /opt/boost_[version] to /etc/ld.so.conf and ran sudo ldconfig, but I have not added /usr/local/lib. Perhaps that will make a difference...we'll see tomorrow.
>>>>
>>>> Once I get this working, I'll document exactly what I did and add it to the Wiki.
>>>>
>>>> Thanks!
>>>>
>>>> Mike
>>>>
>>>
>>> I run Ubuntu 9.10 on one of my machines without any issue. This version of Ubuntu has a new enough Boost that will work with GNU Radio. Why don't you just install that from apt-get? It gets put in the right location for configure to find without the need for any --with-boost flags.
>>
>> Hmm, I haven't tried that. What's the package called--just 'boost'? I'll give it a shot today and see how it works. Where would it put the libraries and headers?
>>
>
> It's called libboost1.38-dev and will install libraries into /usr/lib/
> and headers in /usr/include/boost/
>
> Alex
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Best regards,
Mike Benonis
mike@benonis.net
KI4RIX
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment