×

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: 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 1 week ago #99254

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

  • Posts: 970
  • 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 1 week 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 1 week 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 1 week ago #99277

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

  • Posts: 40
  • Thank you received: 3
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 $
2 days 13 hours 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.
2 days 13 hours ago #100545

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

  • Posts: 40
  • Thank you received: 3
Hi, I try again, but I already did it by deleting all astro-soft
2 days 13 hours ago #100546

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

  • Posts: 40
  • Thank you received: 3
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 $
2 days 13 hours ago #100547

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

  • Posts: 40
  • Thank you received: 3
Attach log

File Attachment:

File Name: CMakeOutput.log
File Size:52 KB
2 days 13 hours ago #100548
Attachments:

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

  • Posts: 362
  • Thank you received: 114
Install libgmock-dev
2 days 9 hours ago #100560

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

  • Posts: 40
  • Thank you received: 3
Thanks!!, I'll try it in a while
2 days 8 hours ago #100561

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

  • Posts: 40
  • Thank you received: 3
Hi nou installed libgmock-dev as you told me and it compiled everything OK, even PHD2 which always failed me!!!
This other thing does it to me almost always, in that longest download ( Remote Compressing object:32%, etc) it cuts off randomly, I relaunch the script and after several attempts it continues, it also does it to me in 3rdparty, it's like it cuts me off due to timeout

Thank you so much!!
Osvaldo

Last edit: 1 day 7 hours ago by Osvaldo Paez.
1 day 7 hours ago #100582
Attachments:

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

Time to create page: 1.272 seconds