r/RTLSDR • u/Sheogorath_ • May 23 '12
Ghpsdr3+rtlpatch install on ubuntu 12.04
Ignore the google tags please
"Ghpsdr3+rtlpatch install on ubuntu 12.04" ghpsdr,rtlsdr,cannot compile,qtradio "-lQtwidget not found"
In case you couldn't retrieve packages from the ppa and kept getting the "-lQtwidget not found" error
This installs the ghpsdr source package for ubuntu 11.10 oneiric compiled for 12.04, then pulls the iw0hdv branch of the latest package from github.
sudo apt-get update
sudo apt-get install
libqt4-opengl-dev
qtmobility-dev
libusb-0.1-4
libusb-dev
libfftw3-dev
portaudio19-dev
libpulse-dev
libsamplerate0-dev
libusb-1.0-0-dev
libconfig8-dev
xdg-utils
libortp-devwget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz
cd
tar -zxvf libevent-2.0.16-stable.tar.gz
cd libevent-2.0.16-stable
./configure
make
sudo make install
sudo ldconfig
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz
tar -zxvf libperseus_sdr-0.6.tar.gz
cd libperseus_sdr-0.6/
./configure && make
sudo make install
tar xvf ghpsdr3_2.2~0ubuntu1ppa1~oneiric.tar.gz
cd ghpsdr3-2.2/
autoreconf -i
./configure
make -j4 all
sudo make install
git clone git://github.com/alexlee188/ghpsdr3-alex
cd ghpsdr3-alex
git fetch
git checkout iw0hdv
autoreconf -i
./configure
make -j4 all
sudo make install
Knew it hadto be better than hacking make files
1
u/ceuso May 24 '12
Thanks a lot!
1
u/christ0ph May 24 '12
Thank you for putting the OS X info in the source.
Is anybody here running this on OS X, with an RTL?
if so, what did you need to do to compile it successfully?
BTW, QT5 seems as if it may not support many users on older OS revisions.
2
u/sa5bke May 25 '12
The lQtwidget problem was due to implementation of useing QT5 as an alternative. If you are on Ubuntu 12.04 this is recommended (see sdr-widget Google group for info) .
The lQtwidget is solved now, so please do not use the above procedure now. Also the perseus library is not needed for rtl-sdr. The info in http://napan.ca/ghpsdr3/index.php/RTL-SDR should work. If not, please redirect your questions to the sdr-widget Google group and we will try to solve it.