×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 219
  • Thank you received: 41
With the new Raspbian 64bits, the version of curl installed doesn't shows a textual description of the response. you can replace line 37:
if [[ "${testCommand}" == *"OK"* || "${testCommand}" == *"Moved"* ]]

with
if [[ "${testCommand}" == *"200"* || "${testCommand}" == *"301"* ]]

With this changes I was able to build an AstroPi3 64bits system. Unfortunately at this moment, KStars fails at build time.
The following user(s) said Thank You: Rob Lancaster, Alan Archer
2 years 11 months ago #70026

Please Log in or Create an account to join the conversation.

  • Posts: 114
  • Thank you received: 17
Many Thanks for the reply, I'll try that tonight.
2 years 11 months ago #70052

Please Log in or Create an account to join the conversation.

  • Posts: 114
  • Thank you received: 17
The script ran through with the line changed as recommended, but KSTARS fails to build on the Raspberry Pi 32 bit OS as well. I thought something wasn't right as the script completed too quickly.
2 years 11 months ago #70060

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
I just made an update for the change in curl.  It should find the websites now.  Please see if this fixes the problem.
2 years 11 months ago #70067

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Andrew, I just updated the documentation for the line you mentioned to explain the issue with a 2nd Monitor.  Please check that it correctly explains the problem.
2 years 11 months ago #70068

Please Log in or Create an account to join the conversation.

  • Posts: 114
  • Thank you received: 17
Rob, I've just tried the revised script and it runs through but again it fails to build KSTARS I caught the error shown on the terminal as below I used option 1 for the KSTARS install in the script

Thank you for looking into this.

make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:788: kstars/CMakeFiles/KStarsLib.dir/KStarsLib_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1385: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Alan
2 years 11 months ago #70071

Please Log in or Create an account to join the conversation.

  • Posts: 219
  • Thank you received: 41
Hi Alan,

Take a look to this thread indilib.org/forum/development/9372-compi...t-github-source.html. I've successfully compiled KStars/Ekos on 64bits Raspbian using the commit commented on this thread.

Rafa
2 years 11 months ago #70072

Please Log in or Create an account to join the conversation.

  • Posts: 114
  • Thank you received: 17
Rafa, Thank You, I will. I’m using the 32 bit system at the moment, but I’m willing to try the 64 bit OS to see if that improves the performance on the Pi
2 years 11 months ago #70073

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

FYI for anyone else encountering build issues that resemble this . I had a bit of an issue compiling KStars with the script recently when the script did not properly recompile updates to Stellarsolver 2.0. Although it looked like it recompiled it, something old must have remained that caused an issue. Solution should be as simple as deleting old build files.
1 year 11 months ago #82480

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I had an issue compiling Core INDI today, reported as 'Could not find Libev'. It was a simple fix to reinstall/update it.
sudo apt-get install libev-dev
1 year 9 months ago #83664

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Yep, that's a brand new dependency. I will have to update all my scripts for building Kstars to include it.
1 year 9 months ago #83667

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

Thank you.
I also encountered this while building KStars at a point when it is generating files called Options.h and Options.cpp.
Googling 'Too many signals to create unique bit masks' is no help. Any idea what's going on there?
I've deleted everything in the AstroRoot folder to try from a completely clean build. I'm still waiting to see if that helps.


Edit: It failed to compile again
Last edit: 1 year 9 months ago by Andrew.
1 year 9 months ago #83668
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.589 seconds