Install Dependencies¶
The following command line scripts will install all the required dependencies. Before running them you should ensure that the Universe repository are enabled in "Software Sources".
To execute the script copy & paste the relevant command line into a terminal.
Maverick (10.10)
II. Get the source code
To build and install GNU Radio, you may either download a release tarball, or you may use the git client software to check out code from our git repository. Please refer to the download page for pointers on where to get the code.
To get a handle on what's going on, clone the repository (if you haven't already), then run "qgit" or one of the other git viewers on it. It will show you all of the branching and merging, diffs, etc.
III. Start the build process
To compile, there are 5 steps. Start by cd'ing to the gnuradio directory, then complete the following commands:
For my configuration:
*********************************************************************
The following components were skipped either because you asked not
to build them or they didn't pass configuration checks:
gcell
gr-gcell
gr-comedi
gr-qtgui
gr-uhd
gr-shd
These components will not be built.
Configured GNU Radio release 3.4.2 for build.
Answer From FAQ:
How come not all the components are getting installed?
When you run
./configure
, it might say that some components are not being installed. It might look like this:
This is not a problem per se. It is not usual to install all the components of GNU Radio. However, if a component is listed here which you actually need, you're probably lacking some dependencies. Check the build guide again, or try the automatic build script.
Error:
ImportError: libgnuradio-core-3.4.2.so.0: cannot open shared object file: No such file or directory
Path Setting?
add /usr/local/bin to etc/ld.so.conf
Common Problems
Bad LD_LIBRARY_PATH
You get
The problem is that your LD_LIBRARY_PATH does not include a path to the named library, libosip2.so.4 in this example. You need to define your LD_LIBRARY_PATH in your .bashrc or your .cshrc, depending on which shell type you use.
Fix LD_LIBRARY_PATH
Then (sudo) ldconfig
Fixed!
Installing NumPy/SciPy/Linux
Installing Yum
sudo apt-get install yum
Installing SIP (Required by PyQt4 Version4.12 or later)
http://www.riverbankcomputing.com/software/sip/download
SIP A Tool for Generating Python Bindings for C & C++ Libraries
SIP A Tool for Generating Python Bindings for C & C++ Libraries
http://www.ics.uci.edu/~dock/manuals/sip/sipref.html#installing-sip
Installing Qt 4.7.4 (Required by PyQt4)
Installing PyQt4
Error Msg:
$ python ./configure.py
Determining the layout of your Qt installation...
Error: Unable to find the qmake configuration file
/usr/local/Trolltech/Qt-4.5.2/mkspecs/default/qmake.conf. Use the QMAKESPEC
environment variable to specify the correct platform.
How to fix?
A possible explanation:
According to above two installation guides, change environment variable settings.
sudo apt-get install python-matplotlib
Installing iPython(Suggested)
No comments:
Post a Comment