Difference between revisions of "How to install latest version of gnuradio with CRC MMBtools live CD"

From OpenDigitalRadio
Jump to navigationJump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
If you have installed Ubuntu and CRC mmbtools CD (beta 9 or older), you cannot use the WBX daughterboard because you need the latest version of gnuradio.
 
If you have installed Ubuntu and CRC mmbtools CD (beta 9 or older), you cannot use the WBX daughterboard because you need the latest version of gnuradio.
 +
In this case you can follow these steps to remove the old gnuradio and compile/install the new one. (taken from CRC Workshop organised at EBU)
 +
 +
First open /etc/apt/sources.list with a text editor, for example:
 +
 +
sudo gedit /etc/apt/sources.list
  
In this case you can follow these steps to remove the old gnuradio and compile/install the new one. (taken from CRC Workshop organised at EBU)
+
Inside this file, change all the URL's from http://(something).ubuntu.com/ubuntu into http://old-releases.ubuntu.com/ubuntu . Then save and close.
  
 +
sudo apt-get update
  
 
  sudo apt-get remove -y gnuradio gnuradio-doc libgnuradio libgnuradio-core libgnuradio-omnithread libgruel python-gnuradio-core libusrp usrp-doc python-wxgtk2.6
 
  sudo apt-get remove -y gnuradio gnuradio-doc libgnuradio libgnuradio-core libgnuradio-omnithread libgruel python-gnuradio-core libusrp usrp-doc python-wxgtk2.6
Line 8: Line 14:
 
  sudo apt-get -y install git-core autoconf libtool python-dev swig libfftw3-dev libcppunit-dev libusb-dev libboost1.37-dev guile-1.8-dev sdcc-nf libsdl1.2-dev libgsl0-dev
 
  sudo apt-get -y install git-core autoconf libtool python-dev swig libfftw3-dev libcppunit-dev libusb-dev libboost1.37-dev guile-1.8-dev sdcc-nf libsdl1.2-dev libgsl0-dev
  
  git clone http://gnuradio.org/git/gnuradio.git
+
  wget http://ftp.gnu.org/gnu/gnuradio/gnuradio-3.3.0.tar.gz
  cd gnuradio
+
  tar xzf gnuradio-3.3.0.tar.gz
git checkout v3.3.0
+
  cd gnuradio-3.3.0
  ./bootstrap
 
 
  ./configure --prefix=/usr --sysconfdir=/etc
 
  ./configure --prefix=/usr --sysconfdir=/etc
 
  make -j2
 
  make -j2

Latest revision as of 15:49, 29 October 2011

If you have installed Ubuntu and CRC mmbtools CD (beta 9 or older), you cannot use the WBX daughterboard because you need the latest version of gnuradio. In this case you can follow these steps to remove the old gnuradio and compile/install the new one. (taken from CRC Workshop organised at EBU)

First open /etc/apt/sources.list with a text editor, for example:

sudo gedit /etc/apt/sources.list

Inside this file, change all the URL's from http://(something).ubuntu.com/ubuntu into http://old-releases.ubuntu.com/ubuntu . Then save and close.

sudo apt-get update 
sudo apt-get remove -y gnuradio gnuradio-doc libgnuradio libgnuradio-core libgnuradio-omnithread libgruel python-gnuradio-core libusrp usrp-doc python-wxgtk2.6
sudo apt-get -y install git-core autoconf libtool python-dev swig libfftw3-dev libcppunit-dev libusb-dev libboost1.37-dev guile-1.8-dev sdcc-nf libsdl1.2-dev libgsl0-dev
wget http://ftp.gnu.org/gnu/gnuradio/gnuradio-3.3.0.tar.gz
tar xzf gnuradio-3.3.0.tar.gz
cd gnuradio-3.3.0
./configure --prefix=/usr --sysconfdir=/etc
make -j2
sudo make install
sudo ldconfig
sudo ln -s gnuradio-companion /usr/bin/grc 
sudo ln -s libgruel.so /usr/lib/libgruel.so.0