So, a few nights ago I decided to replace my SD card in my setup with a clean install and I followed the instructions here. From what limited I can tell, it seems that the program is installed, just isn’t running automatically, and the original dump1090(that is with the piaware install) continues to run.
I installed v1.14 of Mutability since I had issues with trying to compile the Dev version following the instructions here. Though I didn’t attempt the other fix that was mentioned with the - issue. Any suggestions are appreciated, as I miss the improvements that mutability added to my stats.
Here are the steps I have used on multiple installations to install PiAware 2.1-3 and dump1090-mutability 1.15~dev.
I have had no issues using this on Raspbian, Ubuntu, or Debian. swiftbyte.com/articles/soft … -or-debian
If you need only dump1090-mutability 1.15~dev the following commands should get you running:
As you can see it is really easy. Obj is doing a great job with this project.
Honestly it takes more time sifting through the links pointing to HOWTOs to find the instructions then it does to build and install the package.
EDIT:
Changed sudo service lighttpd force-reload To sudo /etc/init.d/lighttpd force-reload.
dpkg-shlibdeps: error: no dependency information found for /usr/lib/librtlsdr.so.0 (used by debian/dump1090-mutability/usr/bin/dump1090-mutability)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/dump1090-mutability.substvars debian/dump1090-mutability/usr/bin/view1090-mutability debian/dump1090-mutability/usr/bin/dump1090-mutability returned exit code 2
debian/rules:30: recipe for target ‘binary’ failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Taking a guess here being the message we need is above the first line but I bet you compiled librtlsdr0 yourself.
If your trying to build dump1090-mutability skip the librtlsdr0 build steps and let the package builder take care of it.
Try and get rid of what ever librtlsdr package or binaries that you built yourself or by following anyone elses instructions. Afterwards try the steps you should be fine. Ran into this problem the first time following tutorials out there. From what I understand the dump1090-mutability package builder will take care of this lib for you hence the reason you are getting this error when trying to build with a version already present.
If your looking for a bash script to install dump1090-mutability1.5~dev I put one together and tested it on a fresh installation of Debian.
Being it worked on Debian I am sure it will work just as well on Raspbian. In fact its the same commands I used on my Raspbian setup.
I am a bit rusty when it comes to bash scripts so it may not be the prettiest thing but it gets the job done.
The script basically uses the commands I posted earlier and will ask questions such as where to build the packages as well as if you want Lighttpd installed and configured or not.
I wouldn’t doubt you still run into the librtlsdr error using this script on your current set up. However this can be used on a fresh installation or your current one if you can get rid of the version of librtlsdr which is causing you problems currently.
The librtlsdr that’s interfering is possibly one that’s installed as part of the piaware sdcard image, IIRC that’s a manual build rather than a package install unfortunately. You can usually get away with removing the libraries and installing a packaged version instead. Recent FA dump1090 packages should be OK with that now as they use static linking to avoid a dependency on the shared libraries.
Just tried it, and the errors at the end of the script(didn’t parse through everything to see if there were more):
./install_dump1090-mutability.sh: line 87: cd: /home/pi/build/dump1090: No such file or directory
tail: cannot open `debian/changelog’ for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
Installing the dump1090-mutability package…
dpkg: error processing /home/pi/a03a0d9a39469cd26b58/build/dump1090-mutability_1.15~dev_.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/home/pi/a03a0d9a39469cd26b58/build/dump1090-mutability_1.15~dev_.deb
I think I was able to install v1.14… it just won’t run and the Flightaware packaged dump1090 continues to run, and I just can’t figure out how to swap them out(or why these compile scripts keep failing)
Try running the commands I posted earlier manually and skip the whole script nonsense.
That error is likely from my script not making the specified build directory properly on Raspbian which is something I wont be able to look into right this second without a RPi around me to test it on. Like I said my scripting skills are a bit rusty.
My script checks for the presence of the library via dpkg-query and if not there it will grab the pi-package branch from git and build a deb… Don’t want to be breaking anything if my process is incorrect.