Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install #3

Open
loewal opened this issue Dec 5, 2022 · 7 comments
Open

Error install #3

loewal opened this issue Dec 5, 2022 · 7 comments

Comments

@loewal
Copy link

loewal commented Dec 5, 2022

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

tmantti pushed a commit to tmantti/feedclient that referenced this issue Feb 9, 2023
@jackjmwelter22
Copy link

jackjmwelter22 commented Jun 27, 2023

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 convert_benchmark
fatal: not a git repository (or any of the parent directories): .git

Any help is appreciated. Thanks!

@milanmdev
Copy link

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
Copy link

@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
Copy link

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
Copy link

howroyd commented Jul 20, 2023

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
Copy link

eisy commented Aug 15, 2023

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
Copy link

eisy commented Aug 15, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants