Project

General

Profile

BeginnersBuildDeprecated » History » Version 2

Anonymous, 04/22/2017 04:04 PM
Build instructions for those new to Linux, based on svn rev 198

1 1
These instructions were compiled in January 2010.  These directions as very explicit, so that even those with little Linux experience should be able to follow along.  Please note you'll need a decent processor to get this to work -- I'd guess at least a dual core CPU running at 2.4GHz+.  This isn't a project for your five year old laptop to tackle.  
2
3
Here's what's worked for me, based on op25 svn revision 198:
4
5
1. Install Ubuntu 9.10
6
7
Upon reboot, login and launch a terminal window (Applications -> Accessories -> Terminal), and run the rest of the following instructions from this window.
8
9
2. The next commands will update your system with the latest patches:
10
{{{
11
apt-get upgrade
12
sudo shutdown -r now
13
}}}
14
15
3. After the system reboots, relaunch the terminal window as above and continue with these commands, which will install the gnuradio prerequisites:
16
17
{{{
18
sudo apt-get install gcc-4.1 g++-4.1 swig g++ automake libtool \
19
python-dev libfftw3-dev libcppunit-dev libboost1.38-dev libusb-dev \
20
fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 subversion \
21
git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl \
22
libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools \
23
libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools libitpp-dev \
24
libjack-dev texlive-latex-base
25
}}}
26
27
4. This next part installs gnuradio:
28
29
{{{
30
mkdir ~/src; cd ~/src
31
wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
32
tar zxvf gnuradio-3.2.2.tar.gz
33
cd gnuradio-3.2.2
34
./configure --prefix=/usr CC=gcc-4.1 CXX=g++-4.1
35
make CC=gcc-4.1 CXX=g++-4.1
36
make check
37
sudo make install
38
}}}
39
40
5. This part installs the gr-fsk4 demodulator:
41
42
{{{
43
cd ~/src
44
wget http://radiorausch.googlepages.com/gr-fsk4-22Apr08.tar.gz -O gr-fsk4-22Apr08.tar.gz
45
tar zxvf gr-fsk4-22Apr08.tar.gz
46
cd gr-fsk4
47
./bootstrap
48
./configure --prefix=/usr CC=gcc-4.1 CXX=g++-4.1
49
make CC=gcc-4.1 CXX=g++-4.1
50
sudo make install
51
}}}
52
53
6. And this part will setup the op25 source. Note that as of now, you need a login to get the source. Reply "yes" to prompts that ask if you want to save your password. And don't worry about the error about the folder not being empty when issuing the mv commands - I'll clean this up soon.
54
55
{{{
56
cd ~/src
57
svn --username YourUsername co http://sedition.org.au/svn/op25/trunk op25
58
cd op25/decoder
59
./bootstrap
60
./configure --prefix=/usr CC=gcc-4.1 CXX=g++-4.1
61
make CC=gcc-4.1 CXX=g++-4.1
62
sed -i 's/flow_graph/top_block/' src/python/qa_op25.py
63
make check
64
sudo make install
65
sudo mv /usr/local/include/gnuradio/swig/* /usr/include/gnuradio/swig
66
sudo mv /usr/local/include/gnuradio/* /usr/include/gnuradio/
67
68
cd ~/src/op25/imbe_vocoder
69
./bootstrap
70
./configure --prefix=/usr CC=gcc-4.1 CXX=g++-4.1 CXXFLAGS="-O3"
71
make CC=gcc-4.1 CXX=g++-4.1
72
sudo make install
73
74
echo -e "[wxgui]\nstyle=nongl\nfft_rate=4\n" > ~/.gnuradio/config.conf
75
}}}
76
77
7. You should be done ready to run the app. Plug your scanner into the mic input. Launch the sound mixer (under System -> Preferences -> Sound) and make sure you can see the signal coming in from the discriminator tap of the scanner. 
78
79
{{{
80
cd ~/src/op25/python
81
./audio_p25_rx.py -a
82
}}}
83
84
This last bit is up to you. Poke around the interface, read the rest of the wiki and mailing list, and, well, good luck!
Add picture from clipboard (Maximum size: 48.8 MB)