Just compiled rtl-sdr using instructions below, from: http://sdr.osmocom.org/trac/wiki/rtl-sdr –
!! but did not run: sudo make install – or sudo ldconfig !!
so the programs are just running locally in: tkzic/rtl-sdr/build/src
I didn’t want to overwrite the macports versions which are running in the exec path.
after compiling I was able to successfully test by running this from rtl-sdr/build/src:
./rtl_fm -f 94900000 -W -s 200000 -r 48000 - | play -r48000 -t s16 -L -c 1 -
which caused annoying pre-christmas music from WHOM to ruin this peaceful morning.
Building the software
rtlsdr library & capture tool
You have to install development packages for libusb1.0 and can either use cmake or autotools to build the software.
Please note: prior pulling a new version from git and compiling it, please do a “make uninstall” first to properly remove the previous version.
Building with cmake:
cd rtl-sdr/ mkdir build cd build cmake ../ make sudo make install sudo ldconfig
In order to be able to use the dongle as a non-root user, you may install the appropriate udev rules file by calling cmake with -DINSTALL_UDEV_RULES=ON argument in the above build steps.
cmake ../ -DINSTALL_UDEV_RULES=ON