×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Indi Support for Bullseye 64 bit RPI4

  • Posts: 51
  • Thank you received: 4
Hello Nou ..

When I run
$ ./install-dependencies.sh

I get:
...
./install-dependencies.sh: line1: syntax error near unexpected token 'newline'
,/install-dependencies.sh line 1: '<!DOCTYPE html>'
...
I don'f feel that cloning the repo would have any different effect than downloading the script.

And your post seems to suggest that we should run the cloned script in that way.

The problem seems to be that bash doesn't like the "looks-like-might be-html" script ... but as I said above I have never come across this before so I'm guessing.

Tks

R
2 years 2 months ago #80488

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

  • Posts: 46
  • Thank you received: 4
Nou...

Didn't seem to work.. I did the GIT to being in the files and create the scripts. Got presumably near to the very end and got this message:

C++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:864: kstars/CMakeFiles/KStarsLib.dir/KStarsLib_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1184: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
KStars failed
2 years 2 months ago #80489

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

  • Posts: 51
  • Thank you received: 4
Hope this may be encouraging .. I downloaded the repository and ran the scripts without a hitch.

All is now working.

With many thanks

R
2 years 2 months ago #80493

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

  • Posts: 460
  • Thank you received: 69
You might try running it again, and lower the number of concurrent jobs
JOBS=$(grep -c ^processor /proc/cpuinfo)
to
 
JOBS=2
or
JOBS=expr $(grep -c ^processor /proc/cpuinfo ) - 1
 
Last edit: 2 years 2 months ago by Jerry Black.
2 years 2 months ago #80496

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

  • Posts: 46
  • Thank you received: 4
Jerry..

Thanks.  May delete the directory ands try over with the downloaded version like Richard..  What does the JOBS reduction do (other than lower the number I mean). I have nothing else running that I'm aware of at the time.  Is this a "memory" constraint type issue, etc..

Thanks!!!

Jay S.
2 years 2 months ago #80497

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

  • Posts: 460
  • Thank you received: 69
If you have a 4 G RPi then I've seen memory issues with too many compile jobs at once. I haven't seen it with a 8 G machine (yet) ;)
2 years 2 months ago #80499

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

  • Posts: 46
  • Thank you received: 4
Jerry...

Thanks..  I have 8GB machines, but doing this on the 4GB I have (the "play" Raspberry Pi).  Will give it another go!

Jay S.
2 years 2 months ago #80501

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

  • Posts: 46
  • Thank you received: 4
Nou..

I am getting the following error (which is also being reported in a new thread about StellarSolver).  I have also seen other errors trying to finish the compile at different locations.

If I do another GIT will I pick up any fixes?

Thank you
Jay S.

/home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp: In member function ‘void SolverUtils::runSolver(FITSData*, const SSolver::Parameters&, double)’:
/home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp:81:22: error: ‘class StellarSolver’ has no member named ‘setLoadWCS’
   81 |     m_StellarSolver->setLoadWCS(false);
      |                      ^~~~~~~~~~
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:1579: kstars/CMakeFiles/KStarsLib.dir/ekos/auxiliary/solverutils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1184: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
KStars failed
The following user(s) said Thank You: Alan Archer
2 years 2 months ago #80509

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

  • Posts: 460
  • Thank you received: 69
You can peak at line 81 on the master distribution and it hasn't changed then there is nothing new to pull
Peak at line 81 using:
invent.kde.org/education/kstars/-/blob/m...iary/solverutils.cpp

this is based on the assumption that the proposed fix just removed that line.
The following user(s) said Thank You: Alan Archer
2 years 2 months ago #80510

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

  • Posts: 118
  • Thank you received: 19
Just out of sheer interest, I've just used Nou's script on a 32 bit Bullseye install on RPI 4, 4Gb and it's ran through perfectly. I've quickly tried out the basics with a mount and a ZWO ASI 385 between the clouds and it all behaves as it should, with no crashes and it appears to quite a bit faster than my current Ubuntu Mate 20.04 32 bit setup. I'll wait for some clear weather and try it again with my full imaging setup.
In the meantime I've a spare SD card and I'll run off a second install with the 64 bit Bullseye and see if I can recreate the success I've had so far.

Thanks to all involved for the useful information in this topic it's helped enormously in getting this working.
2 years 2 months ago #80513

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

  • Posts: 46
  • Thank you received: 4
Alan,

See the other thread I referenced..  There is a problem with that one section of the compile now (recent issue I believe)..  I have it installed now, but needed to comment out that one line in the compile scripting..

Jay S.
The following user(s) said Thank You: Alan Archer
2 years 2 months ago #80517

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

  • Posts: 351
  • Thank you received: 109
Jay are you running my build-soft-latest or stable? From that error message it seems like you run latest which can break from time to time.

As Jerry pointed out compiling on 4GB Pi with 64bit system need to lower number of jobs. So edit scripts and change line "
JOBS=$(grep -c ^processor /proc/cpuinfo)" to 
"JOBS=2". 8GB Pi should be fine.

Richard: did you right clicked on script name and selected save target as? Because you obviously saved HTML webpage that show script and not script itself. But it seems like you figured it out in the end.
The following user(s) said Thank You: Jay Sottolano
2 years 2 months ago #80530

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

Time to create page: 1.085 seconds