====== Building dl-fldigi Version 3.1 (Github) on Raspbian (Raspberry Pi) ====== These are based on the Ubuntu instructions, which used to work on Raspbian but no longer do. Hopefully the following instructions will remain correct for more than 5 minutes. **Note: If you don't want to build from source, it is much quicker and easier to install the binaries see [[projects:dl-fldigi:install-raspbian|Installing and Using dl-fldigi Version 3.1 on Raspbian (Raspberry Pi)]] ===== Hardware ===== Since the Pi does not have an audio input device, you need to add one. Do this before running dl-fldigi for the first time, so that the setup process can see the device. You can check that the device has been installed by running lsusb which should show something like: Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc. ===== Software Dependencies ===== Open a terminal (ssh, or Pi logo -> Accessories) and then type in the following sudo apt-get update sudo apt-get upgrade sudo apt-get install git-core libcurl4-openssl-dev autoconf sudo apt-get install libfltk1.3-dev sudo apt-get install libjpeg9-dev sudo apt-get install libsamplerate0-dev sudo apt-get install libssl-dev sudo apt-get install gettext sudo apt-get install portaudio19-dev ===== Software Build (Stable release) ===== Enter the following commands: git clone git://github.com/ukhas/dl-fldigi.git cd dl-fldigi git checkout DL3.1 git submodule init git submodule update you now need to edit the file src/Makefile.am and comment out the line that starts "TESTS =" (line 229) by adding a # to the start of the line. You can now continue with the build process as before. autoreconf -vfi ./configure --disable-flarq make You will now have a copy of dl-fldigi at src/fldigi. dl-fldigi will run just fine without make installing, if you prefer. To get started, run: ./src/dl-fldigi Step through the setup, entering your receiver callsign and then on the Audio page selecting "PortAudio" and checking that your USB device is selected in the drop-down box. Once the configuration is done, you can close the program and restart in HAB mode (from a terminal within an X window): ./src/dl-fldigi --hab