[op25-dev] new recipe for building OP25

Sean Kealy superstardodge@yahoo.com [op25-dev] op25-dev at yahoogroups.com
Fri Jul 1 15:46:58 UTC 2016


I spent about a year trying to install op25, until I came across this method which worked good, but it took my computer about 36 hours to install ! with 2gb of ramThe sudo modremove command is necessary to use everytime the rtl is plugged as it seems to reinstallthe kernel everytime it is plugged inAfter alot of effort and research this so far appears to be the most clear and best method of install


    On Friday, July 1, 2016 11:14 AM, "ikj1234i at yahoo.com [op25-dev]" <op25-dev at yahoogroups.com> wrote:
 

     Historically the use of pybombs to install OP25 has been very helpful since it takes care of building all the needed prerequisite software.  This is no longer necessary as of Ubuntu 14.04, which installs the 3.7 version of gnuradio.  As a result we have a new install method that takes 95% less time than the old pybombs method, is less error-prone, and requires no more RAM than a base install of Linux.  You can run this install in a machine with 1GB of RAM, although 2GB is recommended (this recommendation comes from ubuntu, and is caused by the memory-hog GUI - OP25 by itself currently does not require 2GB to compile, now that a source build of gnuradio is no longer required)...

This recipe has been tested on ubuntu 14.04 only, it is likely NOT to work in either 12.04 or 16.04...

First, use these commands to install the pre-reqs

sudo apt-get update
sudo apt-get build-dep gnuradio
sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev  libhackrf-dev libitpp-dev libpcap-dev git
Second, use these commands to build and install OP25:   [Note, the mkdir build; cd build; cmake ../; make; sudo make install sequence is a bog-standard form when source-building apps that utilize cmake.]

cd ~
git clone git://op25.osmocom.org/op25.git
cd op25
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Finally you may need to use the command 
sudo rmmod dvb_usb_rtl28xxu
to remove the DVB kernel module that conflicts with the RTL USB SDR.  You may also need to edit the system udev rules for the RTL -both are common issues and you can search for the needed resources if the RTL isn't getting recognized...  Once this is all done (no longer a need to source any env commands into the shell) you should be ready to invoke scope.py,  which is the principal OP25 GUI app...  As a pre-check, you can also run the osmocom_fft application (which should install as part of the pre-reqs) to test basic RTL connectivity and rule out related problems before invoking scope.py...

I would appreciate feedback and especially any trouble reports when using these procedures.  If all is OK we'll add this to the wiki...

73
Max
   #yiv4876110229 #yiv4876110229 -- #yiv4876110229ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4876110229 #yiv4876110229ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4876110229 #yiv4876110229ygrp-mkp #yiv4876110229hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4876110229 #yiv4876110229ygrp-mkp #yiv4876110229ads {margin-bottom:10px;}#yiv4876110229 #yiv4876110229ygrp-mkp .yiv4876110229ad {padding:0 0;}#yiv4876110229 #yiv4876110229ygrp-mkp .yiv4876110229ad p {margin:0;}#yiv4876110229 #yiv4876110229ygrp-mkp .yiv4876110229ad a {color:#0000ff;text-decoration:none;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ygrp-lc {font-family:Arial;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ygrp-lc #yiv4876110229hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ygrp-lc .yiv4876110229ad {margin-bottom:10px;padding:0 0;}#yiv4876110229 #yiv4876110229actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4876110229 #yiv4876110229activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4876110229 #yiv4876110229activity span {font-weight:700;}#yiv4876110229 #yiv4876110229activity span:first-child {text-transform:uppercase;}#yiv4876110229 #yiv4876110229activity span a {color:#5085b6;text-decoration:none;}#yiv4876110229 #yiv4876110229activity span span {color:#ff7900;}#yiv4876110229 #yiv4876110229activity span .yiv4876110229underline {text-decoration:underline;}#yiv4876110229 .yiv4876110229attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4876110229 .yiv4876110229attach div a {text-decoration:none;}#yiv4876110229 .yiv4876110229attach img {border:none;padding-right:5px;}#yiv4876110229 .yiv4876110229attach label {display:block;margin-bottom:5px;}#yiv4876110229 .yiv4876110229attach label a {text-decoration:none;}#yiv4876110229 blockquote {margin:0 0 0 4px;}#yiv4876110229 .yiv4876110229bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4876110229 .yiv4876110229bold a {text-decoration:none;}#yiv4876110229 dd.yiv4876110229last p a {font-family:Verdana;font-weight:700;}#yiv4876110229 dd.yiv4876110229last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4876110229 dd.yiv4876110229last p span.yiv4876110229yshortcuts {margin-right:0;}#yiv4876110229 div.yiv4876110229attach-table div div a {text-decoration:none;}#yiv4876110229 div.yiv4876110229attach-table {width:400px;}#yiv4876110229 div.yiv4876110229file-title a, #yiv4876110229 div.yiv4876110229file-title a:active, #yiv4876110229 div.yiv4876110229file-title a:hover, #yiv4876110229 div.yiv4876110229file-title a:visited {text-decoration:none;}#yiv4876110229 div.yiv4876110229photo-title a, #yiv4876110229 div.yiv4876110229photo-title a:active, #yiv4876110229 div.yiv4876110229photo-title a:hover, #yiv4876110229 div.yiv4876110229photo-title a:visited {text-decoration:none;}#yiv4876110229 div#yiv4876110229ygrp-mlmsg #yiv4876110229ygrp-msg p a span.yiv4876110229yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4876110229 .yiv4876110229green {color:#628c2a;}#yiv4876110229 .yiv4876110229MsoNormal {margin:0 0 0 0;}#yiv4876110229 o {font-size:0;}#yiv4876110229 #yiv4876110229photos div {float:left;width:72px;}#yiv4876110229 #yiv4876110229photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv4876110229 #yiv4876110229photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4876110229 #yiv4876110229reco-category {font-size:77%;}#yiv4876110229 #yiv4876110229reco-desc {font-size:77%;}#yiv4876110229 .yiv4876110229replbq {margin:4px;}#yiv4876110229 #yiv4876110229ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4876110229 #yiv4876110229ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4876110229 #yiv4876110229ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4876110229 #yiv4876110229ygrp-mlmsg select, #yiv4876110229 input, #yiv4876110229 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4876110229 #yiv4876110229ygrp-mlmsg pre, #yiv4876110229 code {font:115% monospace;}#yiv4876110229 #yiv4876110229ygrp-mlmsg * {line-height:1.22em;}#yiv4876110229 #yiv4876110229ygrp-mlmsg #yiv4876110229logo {padding-bottom:10px;}#yiv4876110229 #yiv4876110229ygrp-msg p a {font-family:Verdana;}#yiv4876110229 #yiv4876110229ygrp-msg p#yiv4876110229attach-count span {color:#1E66AE;font-weight:700;}#yiv4876110229 #yiv4876110229ygrp-reco #yiv4876110229reco-head {color:#ff7900;font-weight:700;}#yiv4876110229 #yiv4876110229ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ov li a {font-size:130%;text-decoration:none;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4876110229 #yiv4876110229ygrp-sponsor #yiv4876110229ov ul {margin:0;padding:0 0 0 8px;}#yiv4876110229 #yiv4876110229ygrp-text {font-family:Georgia;}#yiv4876110229 #yiv4876110229ygrp-text p {margin:0 0 1em 0;}#yiv4876110229 #yiv4876110229ygrp-text tt {font-size:120%;}#yiv4876110229 #yiv4876110229ygrp-vital ul li:last-child {border-right:none !important;}#yiv4876110229 

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20160701/dae3e70f/attachment.html>


More information about the op25-dev mailing list