日誌


2013/10/30

Gnu Radio version 3.6.5.1を入れ直す

Tweet ThisSend to Facebook | by 山田洋
GNU Radio 3.7.1は、未完成のような気がする。Gnu Radio version 3.6.5.1を入れ直す。

$ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio -o
--2013-10-30 00:01:50--  http://www.sbrac.org/files/build-gnuradio
www.sbrac.org (www.sbrac.org) をDNSに問いあわせています... 67.212.80.242
www.sbrac.org (www.sbrac.org)|67.212.80.242|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 36032 (35K) [text/plain]
`build-gnuradio' に保存中

100%[======================================>] 36,032       164K/s   時間 0.2s 

2013-10-30 00:01:51 (164 KB/s) - `build-gnuradio' へ保存完了 [36032/36032]

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: 2013年 10月 30日 水曜日 00:01:53 JST
SUDO privileges are required
Do you have SUDO privileges?y
Continuing with script
[sudo] password for kanri:
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
This script will fetch Gnu Radio version 3.6.5.1 from the repositories, along with compatible
extras.
Is this OK?y
Fetching various packages (Gnu Radio, UHD, gr-osmosdr, gr-iqbal, 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, gr-osmosdr, gr-iqbal and hackrf) via GIT
Cloning into 'gr-iqbal'...
remote: Counting objects: 201, done.
remote: Compressing objects: 100% (157/157), done.
remote: Total 201 (delta 98), reused 99 (delta 40)
Receiving objects: 100% (201/201), 126.10 KiB | 85 KiB/s, done.
Resolving deltas: 100% (98/98), done.
Branch gr3.6 set up to track remote branch gr3.6 from origin.
Switched to a new branch 'gr3.6'
Done
Starting function uhd_build at: 2013年 10月 30日 水曜日 00:06:53 JST
Building UHD...
=============> THIS WILL TAKE SOME TIME <=============

Done building/installing UHD
Done function uhd_build at: 2013年 10月 30日 水曜日 00:16:32 JST
Starting function firmware at: 2013年 10月 30日 水曜日 00:16:32 JST
Downloading images from: http://files.ettus.com/binaries/master_images/archive/uhd-images_003.005.004-145-ge6f21482.zip
 13.33 MB/13.33 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: 2013年 10月 30日 水曜日 00:16:44 JST
Starting function gnuradio_build at: 2013年 10月 30日 水曜日 00:16:44 JST
/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: 2013年 10月 30日 水曜日 01:02:07 JST
Starting function rtl_build at: 2013年 10月 30日 水曜日 01:02:07 JST
Building rtl-sdr...Done building rtl-sdr
Building hackrf...Done building hackrf
Building gr-iqbal...Done building gr-iqbal
Building gr-osmosdr...Done building gr-osmosdr
Done building/installing rtl-sdr/gr-osmosdr
Done function rtl_build at: 2013年 10月 30日 水曜日 01:03:36 JST
Starting function extras at: 2013年 10月 30日 水曜日 01:03:36 JST
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: 2013年 10月 30日 水曜日 01:06:46 JST
Starting function mod_groups at: 2013年 10月 30日 水曜日 01:06:46 JST
Group 'usrp' already in /etc/group
User kanri already in group 'usrp'
Done function mod_groups at: 2013年 10月 30日 水曜日 01:06:46 JST
Starting function mod_udev at: 2013年 10月 30日 水曜日 01:06:46 JST
Done function mod_udev at: 2013年 10月 30日 水曜日 01:06:47 JST
Starting function mod_sysctl at: 2013年 10月 30日 水曜日 01:06:47 JST
Required updates to /etc/sysctl.conf already in place
usrp group already has real-time scheduling privilege
Done function mod_sysctl at: 2013年 10月 30日 水曜日 01:06:47 JST
Starting function pythonpath at: 2013年 10月 30日 水曜日 01:06:47 JST


************************************************************
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: 2013年 10月 30日 水曜日 01:06:47 JST
Done all functions at: 2013年 10月 30日 水曜日 01:06:47 JST
All Done
Send success/fail info to sbrac.org?y
Thanks
08:39 | 投票する | 投票数(0) | コメント(0)