Skip to content

Instantly share code, notes, and snippets.

@edy555
Created October 25, 2012 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edy555/3953514 to your computer and use it in GitHub Desktop.
Save edy555/3953514 to your computer and use it in GitHub Desktop.
build-gnuradio installation log
user@ubuntu12:~$ wget http://www.sbrac.org/files/build-gnuradio
--2012-10-25 00:40:04-- http://www.sbrac.org/files/build-gnuradio
Resolving www.sbrac.org (www.sbrac.org)... 174.142.32.20
Connecting to www.sbrac.org (www.sbrac.org)|174.142.32.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29827 (29K) [text/plain]
Saving to: `build-gnuradio'
100%[======================================>] 29,827 31.1K/s in 0.9s
2012-10-25 00:40:07 (31.1 KB/s) - `build-gnuradio' saved [29827/29827]
user@ubuntu12:~$ chmod a+x build-gnuradio
user@ubuntu12:~$ ./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: Thu Oct 25 00:40:24 JST 2012
SUDO privileges are required
Do you have SUDO privileges?y
Continuing with script
Installing prequisites...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 libboost-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 guile-1.8-dev
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 libasound2-dev
Checking for package python-gtk2
Checking for library libusb ...Found library libusb
Checking for library libboost ...Found library libboost
Checking for library libcppunit ...Found library libcppunit
Checking for library libguile ...Found library libguile
Checking for library libfftw ...Found library libfftw
Checking for library libgsl ...Found library libgsl
Done
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: Thu Oct 25 01:03:52 JST 2012
Building UHD...Done building/installing UHD
Done function uhd_build at: Thu Oct 25 01:12:39 JST 2012
Starting function firmware at: Thu Oct 25 01:12:39 JST 2012
Downloading images from: http://files.ettus.com/binaries/maint_images/archive/uhd-images_003.005.000-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: Thu Oct 25 01:13:01 JST 2012
Starting function gnuradio_build at: Thu Oct 25 01:13:01 JST 2012
/usr/local/lib already in ld.so.conf.d
Doing ldconfig...
Building Gnu Radio...
...Doing cmake
...Cmaking
...Building
...Installing
Done building and installing Gnu Radio
GRC freedesktop icons install ...Done
Done function gnuradio_build at: Thu Oct 25 01:37:54 JST 2012
Starting function rtl_build at: Thu Oct 25 01:37:54 JST 2012
Building rtl-sdr...Done building/installing rtl-sdr/gr-osmosdr
Done function rtl_build at: Thu Oct 25 01:38:41 JST 2012
Starting function extras at: Thu Oct 25 01:38:41 JST 2012
Doing GIT checkout for extra module gr-baz
Building extra module gr-baz
Doing GIT checkout for extra module grextras
Building extra module grextras
Done function extras at: Thu Oct 25 01:41:12 JST 2012
Starting function mod_groups at: Thu Oct 25 01:41:12 JST 2012
********************************************************************************
This script has just modified /etc/group to place your userid '('$USER')' into group 'usrp'
In order for this change to take effect, you will need to log-out and log back
in again. You will not be able to access your USRP1 device until you do this.
If you wish to allow others on your system to use the USRP1 device, you will need to use:
sudo usermod -a -G usrp userid
For each userid you wish to allow access to the usrp
********************************************************************************
Further
Done function mod_groups at: Thu Oct 25 01:41:12 JST 2012
Starting function mod_udev at: Thu Oct 25 01:41:12 JST 2012
Done function mod_udev at: Thu Oct 25 01:41:12 JST 2012
Starting function mod_sysctl at: Thu Oct 25 01:41:12 JST 2012
Applying updates to /etc/sysctl.conf
Group 'usrp' now has real-time scheduling privileges
You will need to log-out and back in again for this to
take effect
Done function mod_sysctl at: Thu Oct 25 01:41:12 JST 2012
Starting function pythonpath at: Thu Oct 25 01:41:12 JST 2012
************************************************************
You should probably set your PYTHONPATH to:
/usr/local/lib/python2.7/dist-packages
Using:
export PYTHONPATH=/usr/local/lib/python2.7/dist-packages
in your .bashrc or equivalent file prior to attempting to run
any Gnu Radio applications or Gnu Radio Companion.
*************************************************************
Done function pythonpath at: Thu Oct 25 01:41:12 JST 2012
Done all functions at: Thu Oct 25 01:41:12 JST 2012
All Done
user@ubuntu12:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment