Hi all
Running clean installation of Debian Linux, have attempted to follow instructions for installation of ADSBOX Software however encounter the following error;
brettr@rtl-sdr:~/Downloads/adsbox$ make
rm -f ./*.o ./adsbox
gcc -c db.c -Wall -O2
gcc -c http.c -Wall -O2
http.c:24:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
Makefile:36: recipe for target 'http' failed
make: *** [http] Error 1
brettr@rtl-sdr:~/Downloads/adsbox$
Any assistance would be greatly appreciated. I do have a rtl-sdr attached working without issue with Gqrx, however would also like
to track ads-b tracking also
Thanks in advance
VK3YMML
I installed ADSBox on Linux Mint and Debian 8 last year.
My notes show I "needed to install 'build-essential' and 'lib-devz' before it would compile. Needed 'zlib1g-dev' instead in Debian 8."
If you are using Debian 9 (Stretch) there may be other differences but I haven't ventured there yet.
Thanks IanH
I installed those two options and ADSBOX compiled
Now its up and running, but not receiving any data, do I need to have another
program running in unison?
Correction
I now have data after running ./adsbox --rtl-sdr however cannot see any aircraft on the map?
Try adding --lat and --lon options so program knows where you are to plot on map.
Google gives Melbourne location as 37.8136° S, 144.9631° E.
So I reckon --lat -37.81 --lon 144.96 might do it (I think south is negative, east is positive) but adjust to your actual location.
Your original post said "would also like to track ads-b tracking also" - why did you go for Adsbox?
Quote from: VK3YMML on April 09, 2018, 12:52:18 PM
Correction
I now have data after running ./adsbox --rtl-sdr however cannot see any aircraft on the map?
Hi, VK3YMML,
check if WITH_RTLSDR option is set to 'yes' in Makefile.
run adsbox as
./adsbox --rtlsdr
(not --rtl-sdr, see options list with --help). Also see any error output when running.
Other options are not mandatory. Set --lat --lon option after --rtlsdr if you want to decode aircraft ground positions or to see your receiver mark on the map, or to see your receiver coverage area on the map.
Open browser console (F12) and look for errors if any.
Hi All,
I'm sorry to ask this question, answer maybe obvious to most of you but I begin with Linux and I don't know how to proceed for some installations. I've been a long time playing with W$ softwares and, now that I'm retired, I try to test Linux. I have a Dell laptop running with Mint 18.3 32 bits Xfce.
I already installed Gqrx with RTL dongle and it works fine.
I also installed Dump1090 and it works too.
Since a few days, I would like to test ADSBox but I think I didn't understood all about the installation.
This is what I did :
(https://nsa40.casimages.com/img/2019/02/07/190207040112260117.png) (https://www.casimages.com/i/190207040112260117.png.html)
(I left the archive file but it doesn't matter I think)
(https://nsa40.casimages.com/img/2019/02/07/190207040113555952.png) (https://www.casimages.com/i/190207040113555952.png.html)
(https://nsa40.casimages.com/img/2019/02/07/190207040113679149.png) (https://www.casimages.com/i/190207040113679149.png.html)
Remember, I'm a beginner with Linux. Now, I opened a Terminal in /adsbox after I modified the "WITH_RTLSDR=yes" in Makefile.
I tried to launch compilation with make.
It stops with an error, so I need your help. Where am I wrong, what do I have to do more ???
This is the terminal with error :
(https://nsa40.casimages.com/img/2019/02/07/190207040112679487.png) (https://www.casimages.com/i/190207040112679487.png.html)
My thanks to all of you that could help me.
Denis
Just retried an install.
As I suspected your error message is the same as first post on here.
You need to install the zlib library.
I have not done this in Mint but at the command line try:
sudo apt-get install lib-devz
You will be asked for your password to allow zlib to be installed. If that works, try "make" again.
If zlib is not installed from the above, try "zlib1g" or "zlib1g-dev" instead of "lib-devz". Sorry I don't know exactly which one Mint needs.
Your sqlite files are at the correct location so whenzlib install, Adsbox should compile.
Ians
Hi Ian,
I was just coming here to write a message and say that problem was solved the same way you said on April 2018. I wasn't sure to try this solution on Mint (I'm a beginner, you konw) but it works fine and now all is working OK.
Many thanks for giving back this indication as an answer to my request, Ian.
Denis