GNURadio - Failed rtl-sdr/gr-osmosdr build using buildscript

dell@ubuntu:~$ ./build-gnuradio
This script will install Gnu Radio from current GIT sources
You will require Internet access from the computer on which this
script runs. You will also require SUDO access. You will require
approximately 500MB of free disk space to perform the build.

This script will, as a side-effect, remove any existing Gnu Radio
installation that was installed from your Linux distribution packages.
It must do this to prevent problems due to interference between
a linux-distribution-installed Gnu Radio/UHD and one installed from GIT
source.

The whole process may take up to two hours to complete, depending on the
capabilities of your system.

!!!
NOTE: if you run into problems while running this script, you can re-run
it
with
the --verbose option to produce lots of diagnostic output to help debug
problems.
This script has been written to anticipate some of the more common
problems
one might
encounter building ANY large, complex software package. But it is not
pefect, and
there are certainly some situations it could encounter that it cannot
deal
with
gracefully. Altering the system configuration from something reasonably
standard,
removing parts of the filesystem, moving system libraries around
arbitrarily, etc,
it likely cannot cope with. It is just a script. It isn’t intuitive or
artificially
intelligent. It tries to make life a little easier for you, but at the
end
of the day
if it runs into trouble, a certain amount of knowledge on your part
about
system configuration and idiosyncrasies will inevitably be necessary.

Proceed?y
Starting all functions at: Fri Jun 21 15:50:50 HKT 2013
SUDO privileges are required
Do you have SUDO privileges?y
Continuing with script
Installing prerequisites.
====> THIS MAY TAKE QUITE SOME TIME <=====
Checking for package libfontconfig1-dev
Checking for package libxrender-dev
Checking for package libpulse-dev
Checking for package swig
Checking for package g++
Checking for package automake
Checking for package autoconf
Checking for package libtool
Checking for package python-dev
Checking for package libfftw3-dev
Checking for package libcppunit-dev
Checking for package libboost1.48-all-dev
Checking for package libusb-dev
Checking for package libusb-1.0-0-dev
Checking for package fort77
Checking for package libsdl1.2-dev
Checking for package python-wxgtk2.8
Checking for package git-core
Checking for package libqt4-dev
Checking for package python-numpy
Checking for package ccache
Checking for package python-opengl
Checking for package libgsl0-dev
Checking for package python-cheetah
Checking for package python-lxml
Checking for package doxygen
Checking for package qt4-dev-tools
Checking for package libusb-1.0-0-dev
Checking for package libqwt5-qt4-dev
Checking for package libqwtplot3d-qt4-dev
Checking for package pyqt4-dev-tools
Checking for package python-qwt5-qt4
Checking for package cmake
Checking for package git-core
Checking for package wget
Checking for package libxi-dev
Checking for package python-docutils
Checking for package gtk2-engines-pixbuf
Checking for package r-base-dev
Checking for package python-tk
Checking for package liborc-0.4-0
Checking for package liborc-0.4-dev
Checking for package libasound2-dev
Checking for package python-gtk2
Done checking packages
Checking for library libusb …Found library libusb
Checking for library libboost …Found library libboost
Checking for library libcppunit …Found library libcppunit
Checking for library libfftw …Found library libfftw
Checking for library libgsl …Found library libgsl
Done
Fetching various packages (Gnu Radio, UHD, gr-osmosdr, etc)
via the Internet
=======> THIS MAY TAKE QUITE SOME TIME <=========
Fetching Gnu Radio via GIT…Done
Fetching UHD via GIT…Fetching rtl-sdr (rtl-sdr, and gr-osmosdr) via
GIT
Done
Starting function uhd_build at: Fri Jun 21 15:56:45 HKT 2013
Building UHD…
=============> THIS WILL TAKE SOME TIME <=============

Done building/installing UHD
Done function uhd_build at: Fri Jun 21 16:07:24 HKT 2013
Starting function firmware at: Fri Jun 21 16:07:24 HKT 2013
Downloading images from:
http://files.ettus.com/binaries/maint_images/archive/uhd-images_003.005.003-release.zip
7.21 MB/7.21 MB (100.00%)
Images successfully installed to: /usr/local/share/uhd/images
Done downloading firmware to /usr/local/share/uhd/images
Done function firmware at: Fri Jun 21 16:07:57 HKT 2013
Starting function gnuradio_build at: Fri Jun 21 16:07:57 HKT 2013
/usr/local/lib already in ld.so.conf.d
Doing ldconfig…
Building Gnu Radio…
=========> THIS WILL TAKE QUITE A WHILE <=============

…Doing cmake
…Cmaking
…Building
…Installing
Done building and installing Gnu Radio
GRC freedesktop icons install …Done
Done function gnuradio_build at: Fri Jun 21 17:10:56 HKT 2013
Starting function rtl_build at: Fri Jun 21 17:10:56 HKT 2013
Building rtl-sdr…gr-osmosdr build apparently failed
Exit rtl-sdr/gr-osmosdr build
Send success/fail info to sbrac.org?

Anyone have the same problem with rtl-sdr/gr-osmosdr build using the
buildscript ?

Hi,

Go into the gr-osmosdr directory and type ‘make’. When the build fails
again you should be able to pinpoint the problem from the error message
produced.

Regards,

Mike


Mike J. M0MIK BSc MIET
Email: [email protected]
Web: http://scanoo.com

On 06/21/2013 05:39 AM, fei phung wrote:

GIT source.
problems one might
intelligent. It tries to make life a little easier for you, but at the
Installing prerequisites.
Checking for package libfftw3-dev
Checking for package ccache
Checking for package python-qwt5-qt4
Checking for package libasound2-dev
=======> THIS MAY TAKE QUITE SOME TIME <=========
Downloading images from:

Send success/fail info to sbrac.org http://sbrac.org?

Anyone have the same problem with rtl-sdr/gr-osmosdr build using the
buildscript ?


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
If you run with:

build-gnuradio --logfile build.log

You get more verbose output, into the build.log, which you can pastebin,
etc.