×

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

Bi-monthly release with minor bug fixes and improvements

AstroSoftBuild scripts to easy build INDI and KStars

  • Posts: 326
  • Thank you received: 50
A question for Nou or other software experts: Does the script have to be run on the device which it will be used on? I have used Nou's script to build KStars 3.6.9 on Raspberry Pi OS 64bit Bookworm on both a Raspberry Pi 5 (8GB) and a Raspberry Pi 4 (4GB). I was surprised to find that the two images do not seem to be interchangable, although I have found that the RPi 4 one does run also on an RPi 4 (8GB) as I expected. Any explanations? Thanks.
2 months 2 weeks ago #99247

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

  • Posts: 44
  • Thank you received: 0
I have not the PI5, but I believe the PI4 and PI5 boards are completely different from the HW point of view. The boards have different design.
2 months 2 weeks ago #99248

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

  • Posts: 44
  • Thank you received: 0
HI, I apologise about this help request, but I have tried to compile phd2 unsuccesfully. From the shell, the command is ./build-soft-stable.sh phd2 and I have got this message:
fatal: invalid reference: v2.6.12
PHD2 configuration failed
fatal: invalid reference: v2.6.12
PHD2 configuration failed

Thaking you again for your useful and fantastic job.
Regards
Sergio
2 months 2 weeks ago #99249

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

  • Posts: 362
  • Thank you received: 114
Avocette:
There is used option "-march=native" which can cause that binaries are not interchangeable on different processors. So if the OS itself run and just compiled KStars does not then delete that string from beginning of script delete all build-* directories so it get rebuild and it should work across RPi4 and 5.

Sergio:
Please run "git tag" in phd2 directory and check if it contain that v2.6.12 line. If not try to run "git fetch --unshallow"
The following user(s) said Thank You: Avocette
2 months 2 weeks ago #99254

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

  • Posts: 971
  • Thank you received: 94
Hi NOU, everyone

I'm hopeless with git. A question which comes up quite often is how to roll back to a previous version.

Using your scripts, would it be possible to publish the steps we would take to install a previous version of INDI/kstars?
e.g. Let's say I have kstars 3.6.9 installed and wish to revert to kstars 3.6.8.

Cheers and clear skies,
Steve
2 months 2 weeks ago #99267

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

  • Posts: 362
  • Thank you received: 114
run "git log" and see which commit hash had this version. Then run "git checkout #hash#"

For 3.6.8 best commit is "git checkout 7d1d8f0574ab8d321d5c1fed1ac0e3499f140e65" as it is one before update to 3.6.9.

To return back to last one run "git checkout master"
The following user(s) said Thank You: alacant
2 months 2 weeks ago #99271

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

  • Posts: 44
  • Thank you received: 0
Hi, I have launched again the build-soft/stable.sh phd2, and this the message:
...
-- Up-to-date: /usr/share/doc/HTML/uk/kstars/xplanet_tab.png
-- Up-to-date: /usr/share/metainfo/org.kde.kstars.appdata.xml
HEAD is now at 94e611e8 bump rev to 2.6.12
PHD2 configuration failed

then "git tag" returns : v2.6.8dev
and git fetch --unshallow
returns
fatal: --unshallow on a complete repository does not make sense

Thank you in advance for the help.
Clear sky
2 months 2 weeks ago #99277

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

  • Posts: 41
  • Thank you received: 4
Hi nouI follow it here so as not to dirty the other thread
In the case of latests this appears now
Best regards

-- Up-to-date: /usr/lib/aarch64-linux-gnu/libPlayerOnePW.so.1.2.0
-- Up-to-date: /lib/udev/rules.d/99-astroasis.rules
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfocuser.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfocuser.so.1
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfocuser.so.1.0.5
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfilterwheel.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfilterwheel.so.1
-- Up-to-date: /usr/lib/aarch64-linux-gnu/liboasisfilterwheel.so.1.0.0
-- Up-to-date: /usr/include/libastroasis/AOFocus.h
-- Up-to-date: /usr/include/libastroasis/OasisFilterWheel.h
make: *** No targets specified and no makefile found. Stop.
INDI 3rd-party compilation failed
osvpaez@raspberrypi:~/astro-soft-build $
1 week 2 days ago #100544

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

  • Posts: 362
  • Thank you received: 114
Try delete build-indi-3rdparty directory and run again. Seems like initial configuration failed for some reason. If that doesn't help delete all build-* directories.
1 week 2 days ago #100545

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

  • Posts: 41
  • Thank you received: 4
Hi, I try again, but I already did it by deleting all astro-soft
1 week 2 days ago #100546

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

  • Posts: 41
  • Thank you received: 4
Deleted , new error

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'libavcodec>=57.64.101'
-- Found libavcodec, version 58.91.100
-- Checking for module 'libavdevice>=57.1.100'
-- Found libavdevice, version 58.10.100
-- Checking for module 'libavformat>=57.56.100'
-- Found libavformat, version 58.45.100
-- Checking for module 'libavutil>=55.34.100'
-- Found libavutil, version 56.51.100
-- Checking for module 'libswscale>=4.2.100'
-- Found libswscale, version 5.7.100
-- Found FFMPEG: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavdevice.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so, /usr/include/aarch64-linux-gnu
-- Since FFMPEG was found, INDI Webcam Driver can be built
-- Since an up to date nutclient was not found, INDI NUT Driver will not be built
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "2.0.7")
-- Found NOVA: /usr/lib/aarch64-linux-gnu/libnova.so
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.13")
-- Found GSL: /usr/include (found version "2.7.1")
-- Found AHP_GT: /usr/lib/aarch64-linux-gnu/libahp_gt.so
-- Found GTest: /usr/lib/aarch64-linux-gnu/cmake/GTest/GTestConfig.cmake (found version "1.12.1")
-- Could NOT find GMock (missing: GMOCK_LIBRARY GMOCK_INCLUDE_DIR)
-- Building unit tests
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GMock (missing: GMOCK_LIBRARY GMOCK_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindGMock.cmake:178 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
indi-eqmod/test/CMakeLists.txt:3 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/osvpaez/astro-soft/build-indi-3rdparty/CMakeFiles/CMakeOutput.log".
INDI lib configuration failed
osvpaez@raspberrypi:~/astro-soft-build $
1 week 2 days ago #100547

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

  • Posts: 41
  • Thank you received: 4
Attach log

File Attachment:

File Name: CMakeOutput.log
File Size:52 KB
1 week 2 days ago #100548
Attachments:

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

Time to create page: 0.821 seconds