wiki:Internal/BuildingGNURadioImage

Version 5 (modified by ssugrim, 16 years ago) ( diff )

12/19/08

James and Bob go to the grid.

The first and lamest attempt was a simple apt-get install gnuradio. This failed miserably due to unresolved dependeniceis. Following the instructions of (http://gnuradio.org/trac/wiki/DebianPackages) for Ubuntu installations, we added

deb http://gnuradio.org/ubuntu stable main contrib
deb-src http://gnuradio.org/ubuntu stable main

to the /etc/apt/sources.list

This didn't help. The trail of failed dependencies goes as follows:

gnuradio -> python-gnuradio -> python-gnuradio-comedi ->  libcomedi-0.7.22

the last one is not installable as there is no package target.

It should be noted that the baseline image is based on debian (and not ubuntu, so this may be the problem).


We're going to attempt the debian source install, the apt install doesn't work for the previously mentioned reasons. We installed the build-essentials package. And we nnow modify the sources list again. we added

 deb http://ftp.at.debian.org/debian/ etch main non-free contrib

We then ran apt-get build-dep gnuradio which had 519 megs of stuff to install. It was followed by apt-get build-dep usrp which had nothing to install.

All of this was to "prep" the image for a build of the gnu-radio software by source. There is no source package for it, we have to check it out from svn. (note: this required installing subversion package).

Running

svn co http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio

yeilds a large download and a gnuradio directory. Hopefully with all the dep building of prior this should be a make / make install simple setup.

First running ./bootstrap required automake, that we didn't have. After apt-getting the automake package and all its dependencies, ./bootstrap chugs along. Note: this take a while, and throws a bunch of perl warnings.

./configure yeilds

*********************************************************************
The following GNU Radio components have been successfully configured:

config
omnithread
gnuradio-core
gr-audio-alsa
gr-audio-jack
gr-audio-oss
gr-audio-portaudio
gr-atsc
gr-gsm-fr-vocoder
gr-pager
gr-radio-astronomy
gr-trellis
gr-video-sdl
gr-wxgui
gnuradio-examples

You my now run the make command to build these components.

*********************************************************************
The following components were skipped either because you asked not
to build them or they didn't pass configuration checks:

usrp
gr-usrp
gr-audio-osx
gr-audio-windows
gr-comedi
gr-gpio
gr-radar-mono
gr-sounder
gr-utils

These components will not be built.

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.