# GnuRadio 3.3 on Ubuntu 12.04LTS

**URL:** <https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502>\
**Category:** GNU Radio\
**Created:** [February 9, 2013, 7:26pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502 "2013-02-09T19:26:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ed\_Criscuolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ac8455/32.png) [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Post date:** [February 9, 2013, 7:26pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502/1 "2013-02-09T19:26:00Z")

</div>

I have an odd question.

I’ve been requested to duplicate a system I built a couple of years ago  
based on GnuRadio 3.3 and Ubuntu 10.04LTS. Unfortunately, the laptop  
that was used is no longer made, and it’s new equivalent uses an  
ethernet chipset that does not not have drivers in 10.04LTS, but  
does in 12.04LTS.

Ideally, I’d like to find backported drivers for 10.04LTS. so I can  
just duplicate everything without modification. Failing that, I’m  
going to have to use 12.04LTS.

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.

@(^.^)@ Ed

---

<div class="post-metadata">

**Author:** ![Ed\_Criscuolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ac8455/32.png) [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Post date:** [February 12, 2013, 4:18pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502/2 "2013-02-12T16:18:19Z")

</div>

On Sat, Feb 9, 2013 at 10:24 AM, Ed Criscuolo  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)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

---

<div class="post-metadata">

**Author:** ![Ed\_Criscuolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ac8455/32.png) [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Post date:** [February 12, 2013, 7:53pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502/3 "2013-02-12T19:53:15Z")

</div>

Thanks Jonathan! That tidbit probably saved me an hour of  
troubleshooting right there! 🙂

@(^.^)@ Ed

---

<div class="post-metadata">

**Author:** ![Ed\_Criscuolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ac8455/32.png) [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Post date:** [February 12, 2013, 8:11pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502/4 "2013-02-12T20:11:57Z")

</div>

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 wont work.

On Tue, Feb 12, 2013 at 6:51 PM, Ed Criscuolo
