ADSBexchange / feedclient

Feed ADS-B Exchange using an existing receiver running readsb / dump1090 / piaware / Raspbian / Linux
MIT License
74 stars 22 forks source link

Error install #3

Open loewal opened 1 year ago

loewal commented 1 year ago

This is my output:

curl -L -o /tmp/axupdate.sh https://adsbexchange.com/feed-update.sh sudo bash /tmp/axupdate.sh

Installing mlat-client to virtual environment

34 Error: Command '['/usr/local/share/adsbexchange/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. 48 50 60 70

Compiling / installing the readsb based feed client

72 74 rm -f .o uat2esnt/.o compat/clock_gettime/.o compat/clock_nanosleep/.o readsb viewadsb cprtests crctests convert_benchmark In file included from readsb.h:419:0, from readsb.c:54: util.h:249:5: error: unknown type name ‘ZSTD_CStream’ ZSTD_CStream *cstream; ^ util.h:250:5: error: unknown type name ‘ZSTD_inBuffer’ ZSTD_inBuffer in; ^ util.h:252:5: error: unknown type name ‘ZSTD_outBuffer’ ZSTD_outBuffer out; ^ cc1: error: unrecognized command line option ‘-Wno-format-truncation’ [-Werror] cc1: all warnings being treated as errors make: [readsb.o] Error 1 make: Waiting for unfinished jobs....

[ERROR] Error in line 300 when executing: make -j2 AIRCRAFT_HASH_BITS=12 >> $LOGFILE

jackjmwelter22 commented 1 year ago

I'm having a similar issue is there a fix? Command: sudo bash /tmp/axupdate.sh

Output: _fatal: not a git repository (or any of the parent directories): .git rm -f .o uat2esnt/.o compat/clock_gettime/.o compat/clock_nanosleep/.o readsb viewadsb cprtests crctests convertbenchmark fatal: not a git repository (or any of the parent directories): .git

Any help is appreciated. Thanks!

milanmdev commented 1 year ago

I'm having the same issue as @jackjmwelter22, has anyone found a fix for this? I'm looking to run it on Raspbian running alongside FlightAware.

jackjmwelter22 commented 1 year ago

@milanmdev I couldn’t get it to work - I ended up using the image from adsbexchange here: https://www.adsbexchange.com/how-to-feed/adsbx-custom-pi-image/ and that worked for me - I’m currently feeding data to FlightAware, adsbexchange, and Flightradar24.

Hope that helps.

milanmdev commented 1 year ago

After some further digging, it seems that it doesn't error out, but rather the "make" script it runs just takes a long time to execute and displays nothing to the logs. It took my Pi Zero W around 20 minutes to run the whole make script, which I was able to monitor via viewing the Linux process logs. Hopefully, that helps anyone else with that same issue.

howroyd commented 1 year ago

Similar/same issue for me when running setup.sh.

50
60
70

Compiling / installing the readsb based feed client

72
74
fatal: not a git repository (or any of the parent directories): .git
rm -f *.o uat2esnt/*.o compat/clock_gettime/*.o compat/clock_nanosleep/*.o readsb viewadsb cprtests crctests convert_benchmark
fatal: not a git repository (or any of the parent directories): .git

Will be patient based on @milanmdev 's comment.

Are any of the repo maintainers interested in pull requests to this repo to fix this?

eisy commented 1 year ago

Similar/same issue for me when running setup.sh.

50
60
70

Compiling / installing the readsb based feed client

72
74
fatal: not a git repository (or any of the parent directories): .git
rm -f *.o uat2esnt/*.o compat/clock_gettime/*.o compat/clock_nanosleep/*.o readsb viewadsb cprtests crctests convert_benchmark
fatal: not a git repository (or any of the parent directories): .git

Will be patient based on @milanmdev 's comment.

Are any of the repo maintainers interested in pull requests to this repo to fix this?

Good day,

I had to struggle with exactly this problem myself. For days I tried everything possible to solve the problem. No chance. But then I suddenly realised that it might just take longer, and I just let the script continue running after this error is displayed. And lo and behold, I could have saved myself days of work! The script works perfectly, even with this error! You only have to let the script run when this error occurs and not cancel it. With a RaspberryPi 1, this takes about another 10 minutes after this error message is displayed and then it is finished and works perfectly! When the error is displayed, first of all there is no further output in the terminal window for almost 10 minutes (on a RaspberryPi 1), but the script continues to work anyway! And after about 10 minutes, the next output comes in the terminal and the script is then finished and it works!

Translated with www.DeepL.com/Translator (free version)

eisy commented 1 year ago

Similar/same issue for me when running setup.sh.

50
60
70

Compiling / installing the readsb based feed client

72
74
fatal: not a git repository (or any of the parent directories): .git
rm -f *.o uat2esnt/*.o compat/clock_gettime/*.o compat/clock_nanosleep/*.o readsb viewadsb cprtests crctests convert_benchmark
fatal: not a git repository (or any of the parent directories): .git

Will be patient based on @milanmdev 's comment. Are any of the repo maintainers interested in pull requests to this repo to fix this?

Good day,

I had to struggle with exactly this problem myself. For days I tried everything possible to solve the problem. No chance. But then I suddenly realised that it might just take longer, and I just let the script continue running after this error is displayed. And lo and behold, I could have saved myself days of work! The script works perfectly, even with this error! You only have to let the script run when this error occurs and not cancel it. With a RaspberryPi 1, this takes about another 10 minutes after this error message is displayed and then it is finished and works perfectly! When the error is displayed, first of all there is no further output in the terminal window for almost 10 minutes (on a RaspberryPi 1), but the script continues to work anyway! And after about 10 minutes, the next output comes in the terminal and the script is then finished and it works!

Translated with www.DeepL.com/Translator (free version)

Maybe I should add that I had already installed readsb on the Raspberrypi through all my previous attempts. I don't know if this is necessary for it to work. I guess not. So if I were you, I would first do it without the manual installation of Readsb. As I said, the installation of the feed client only takes longer than you think, and you think it won't go any further, but the installation script from the feed client continues to work in the background. But I wanted to mention it anyway.

Translated with www.DeepL.com/Translator (free version)