[S O L V E D] Broken installation of dump1090-fa by JP’s Scripts [S O L V E D]
Using JP’s “ADS-B Receiver Project Setup Scripts” to install dump1090-fa is broken. Even changing version numbers in file “variables.sh” and installing dependencies “libncurses5-dev” and “libbladerf-dev” did not solve the problem.
Thanks to Oliver (obj), who pointed out that the cause is an older version (2014) of “libbladerf-dev” installed by “sudo apt-get install libbladerf-dev” command, while a newer version (2016) is required for dump1090-fa 3.5.0.
Since the Raspbian repositories dont have newer version (2016), I decided to try Flightaware repositories, expecting it will contain latest version (2016). To do this, I added Flightaware repository to my RPi’s Apt cache, and then gave command “sudo apt-get install libbladerf-dev”, which pulled and installed latest (2016) version from Flightaware repositories. Following is the step-by-step method showing how I did it.
BEFORE running the installation script “install.sh”, complete following two steps:
STEP-1
Install latest versions of dependencies from Flightaware Repository.
#Add piaware repository to your RPi's apt cache
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.5.0_all.deb
sudo dpkg -i piaware-repository_3.5.0_all.deb
sudo apt-get update
#Now install dependencies required by dump1090-fa
sudo apt-get install libbladerf-dev
sudo apt-get install libncurses5-dev
#Now check the version of libbladerf-dev installed. It should show "Installed: 2016.06+fa1"
sudo apt-cache policy libbladerf-dev
libbladerf-dev:
Installed: 2016.06+fa1
Candidate: 2016.06+fa1
Version table:
*** 2016.06+fa1 0
500 http://flightaware.com/adsb/piaware/files/packages/ jessie/piaware armhf Packages
100 /var/lib/dpkg/status
0.2014.09~rc2-5 0
500 http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages
STEP-2
Update version numbers of Piaware, Planefinder, and Mlat Client in file “variables.sh”
To update version numbers, edit file variables.sh and change version numbers of following software as shown in red, which are latest version numbers:
- PIAWARE
- PFCLIENT
- MLATCLIENT
~$ sudo nano adsb-receiver/bash/variables.sh
#! / bin / bash
################################################################################## #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
SOFTWARE VERSIONS
The ADS-B Receiver Project
PROJECTVERSION=“2.5.0”
FlightAware PiAware
PIAWAREVERSION=“3.5.0”
PlaneFinder ADS-B Client
PFCLIENTVERSIONARM=“3.7.20”
PFCLIENTVERSIONI386=“3.7.20”
Flightradar24 Linux Debian package
FR24CLIENTVERSIONI386=“1.0.18-5”
mlat-client
MLATCLIENTVERSION=“0.2.9”
MLATCLIENTTAG=“v0.2.9”
PhantomJS
PHANTOMJSVERSION=“2.1.1”
STEP-3
AFTER completing Steps (1) and (2), run the install script
cd ~/adsb-receiver
./install.sh
.