Version 11 (modified by 16 years ago) ( diff ) | ,
---|
Jrock and Ibob attempt to create the most recent gnu radio implementation fresh from the GNU radio svn.
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.
The make process takes a 1.5 hours. We've run out of time on our slot, so I'm saving an image.
INFO n_1_1: - Saving disk image from node n_1_1 in the file 'node-1-1-2008-12-19-16-01-15.ndz'
Image creation was a success:
INFO exp: - Saving process finished correctly at: Fri Dec 19 16:13:07 -0500 2008 INFO Experiment: DONE! INFO ExecApp: Application 'commServer' finished INFO run: Experiment sb5_2008_12_19_15_59_43 finished after 13:26
I moved a copy from the tmp directory to the images directory and renamed it.It has 777 permissions.
ssugrim@repository2:/export/orbit/image$ ls -al | grep james -rw-r--r-- 1 ssugrim winlab 585105408 2008-12-19 16:22 james-bob-gnuradio-ver0.ndz
1/28/09
The saga continues…
The make was actually successful. We ran make install intinally, but after consulting with the documentation the correct order of steps was:
$ ./bootstrap # Do NOT perform this step if you are building from a tarball. $ ./configure $ make $ make check $ sudo make install
Attachments (3)
- usrp-fft.JPG (59.4 KB ) - added by 16 years ago.
- usrp-Gaussian.JPG (73.6 KB ) - added by 16 years ago.
- usrp-gmsk-250kbps-fft.JPG (71.8 KB ) - added by 16 years ago.
Download all attachments as: .zip