discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GnuRadio 3.3 on Ubuntu 12.04LTS


From: John Wilson
Subject: Re: [Discuss-gnuradio] GnuRadio 3.3 on Ubuntu 12.04LTS
Date: Tue, 12 Feb 2013 19:10:54 +0000

Hi Ed,

I've been doing the same recently with gnuradio-3.4 on ubuntu 12.04 x64, So I'm guessing it's pretty similar.

Anyway, copying and pasting some notes I made which should hopefully help you, there were a few little horrors in there!

NB The boost version is probably not that important so long as it compiles, 1.40 was 'known good' though.

Good luck!

John

Installing GNU Radio on 12.04


To avoid spending days figuring out how to install our old versiojn of GNU Radio onto Ubuntu 12 (and probably later versions also), follow these instructions TO THE LETTER.


Use g++ <= 4.5 (using ‘make CXX=g++-4.5’)
Use swig 1.3
Use Boost 1.40

I used automake 1.11, which needed patching, due to it causing problems with ‘make install’:

--- lib/am/python.am.orig       2012-01-31 11:41:18.000000000 +0000
+++ lib/am/python.am
@@ -23,8 +23,8 @@ endif %?INSTALL%
## Installing.  ##
## ------------ ##

+?FIRST?am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
if %?INSTALL%
-?FIRST?am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
.PHONY install-%EXEC?exec:data%-am: install-%DIR%PYTHON
install-%DIR%PYTHON: $(%DIR%_PYTHON)

You need to add two lines to ./gnuradio-core/src/lib/Makefile.am, under the libgnuradio_core_la_LIBADD section:
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB)

or else the complier will complain about not being able to find symbols in gr-usrp and audio, and these modules won’t work.





On Tue, Feb 12, 2013 at 6:51 PM, Ed Criscuolo <address@hidden> wrote:
Thanks Jonathan!  That tidbit probably saved me an hour of
 troubleshooting right there! :)

@(^.^)@  Ed



On 2/12/13 10:16 AM, Johnathan Corgan wrote:
On Sat, Feb 9, 2013 at 10:24 AM, Ed Criscuolo
<address@hidden <mailto:edward.l.criscuolo@nasa.gov>> wrote:

    My question is, are there any showstoppers for able to run
    GnuRadio 3.3 on Ubuntu 12.04LTS?  My customer _really_ wants all the
    SDRs to be the same for CM purposes, and does not have the schedule
    time for me to port his custom blocks and flowgraphs from GR3.3 to
    GR3.6.

    I know over the last year or two there's been a lot of Boost and
    Qt version issues, and I want to know if I'm about to paint myself
    into a corner here.


Well, I'm not aware of anything that would prevent 3.3 from working on
Ubuntu 12.04, but of course I don't think anyone has actually tried it.

The Boost version in 12.04 defaults to 1.46, which has a known bug that
affects GNU Radio, but 1.48 is also available on that distro.

Johnathan


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]