openastroproject / openastro

Open Astro Project
GNU General Public License v3.0
91 stars 27 forks source link

./configure stops on libusb error #342

Closed ChristianHen closed 5 years ago

ChristianHen commented 5 years ago

Hello, trying to compile oacapture on nanopi m4 aarch64.

autoreconf -i runs through.

./configure --> warnings: configure: WARNING: No suitable version of system libusb library found. Using internal version. configure: WARNING: No suitable version of system dc1394 library found. Using internal version. configure: WARNING: No suitable version of system libuvc library found. Using internal version.

and stops with error message

Configuring included libusb-1.0 instance with args --prefix=NONE --disable-shared --enable-examples-build ./config.status: line 2485: ./configure: No such file or directory config.status: error: Failed to configure embedded libusb-1.0 tree

Anyone any idea?

openastroproject commented 5 years ago

Are you using the 1.5.0 sources, or the current development master branch?

James

ChristianHen commented 5 years ago

Hallo James, I am using the current development master branch

Do you think that cross-compiling could be a solution?

Christian

dragonlost commented 5 years ago

hello ! you can look here: https://github.com/Patrick-81/NAFABox/blob/beta/ConfigTinker/install_oacapture.sh it's my script to install oacapture

ChristianHen commented 5 years ago

Hello, your script did it! Thank you!

openastroproject commented 5 years ago

Before you tried the script, when you were getting the error, did you run the bootstrap script at the top level first? I think that might have been the problem.

ChristianHen commented 5 years ago

I didn't! What does the bootstrap do?

openastroproject commented 5 years ago

I'm fairly sure that's the cause then. It runs autoreconf in all the right places to make sure the configure scripts are set up.

As everything is working, I'll close this issue unless there's anything else relating to this problem?

ChristianHen commented 5 years ago

That is fine, thank you. At the moment I am struggeling with low framerates, but that - most likely - has nothing to do with the build-process. Maybe it is a power-supply issue of the asi120 ? I'll try to find out. If I can't resolve this, i will open a new thread.

Thank you for your assistance!