×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Kstars RPi cmake error: missing ECM?

  • Posts: 2
  • Thank you received: 0
I am trying to build Kstars/Ekos on a Raspberry Pi Zero W running Raspberry Pi OS Bullseye. I am for the most part using the AstroPi3 setup routines. I have successfully compiled/installed the INDI library and 3rd party drivers. However, when I go to do the same for Kstars, it throws the following error:
CMake Error at CMakeLists.txt:70 (find_package):
  Could not find a package configuration file provided by "ECM" (requested version 5.68.0) with any of the following names:
 
    ECMConfig.cmake
    ecm-config.cmake
 
   Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed.
It seems I need extra-cmake-modules , but I have not been able to figure out the right way to point Kstars' cmake at ECM. Can anyone advise?
3 months 1 week ago #85586

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

  • Posts: 1014
  • Thank you received: 302
Try out
sudo apt install libecm-dev
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
3 months 1 week ago #85587

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

  • Posts: 2
  • Thank you received: 0
I was able to apt install that package successfully. I then rebooted, but cmake is still throwing the same error about ECM. Do I need to tell it where to look for the libecm-dev package?
Last edit: 3 months 1 week ago by Lotad.
3 months 1 week ago #85588

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

  • Posts: 1014
  • Thank you received: 302
Is it possible that the supplied version is older than requested?

And btw, a RPi zero won’t be fun with KStars. Better use a RPi with at least 1GB RAM.
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
3 months 1 week ago #85597

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

  • Posts: 415
  • Thank you received: 99
Try
sudo apt install extra-cmake-modules
3 months 1 week ago #85613

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

  • Posts: 1279
  • Thank you received: 222
I am also having this issue.
For context, I perform my compilation with the help of AstroPi 3 script on a Raspberry Pi 4. Running Raspberry OS Buster.

Today I saw this error during the KStars compile
CMake Error at CMakeLists.txt:70 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "5.68.0".
 
  The following configuration files were considered but not accepted:
 
    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.54.0

I attempted to update it, but am told I have the latest version already.

Next I installed ECM from the KDE source on GIT
github.com/KDE/extra-cmake-modules

The result is I am now getting a similar error but for QT5
CMake Error at CMakeLists.txt:108 (find_package):
  Could not find a configuration file for package "Qt5" that is compatible
  with requested version "5.12.8".
 
  The following configuration files were considered but not accepted:
 
    /usr/lib/aarch64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.11.3

Again I can not upgrade QT5, as I am told it is also the latest version.

Please help. Thank you.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
2 months 1 week ago #86506

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

  • Posts: 415
  • Thank you received: 99
I believe the latest KStars needs Raspbian Bullseye to build. If you don't want to upgrade to Bullseye, you can try building an older version of KStars.
2 months 1 week ago #86508

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

  • Posts: 1279
  • Thank you received: 222
That's a pretty annoying development.
But I actually did try to do a full-upgrade. But it didn't do anything, so still on Buster. And I'm not thrilled at the prospect of setting everything up again from a clean installation.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
2 months 1 week ago #86510

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

  • Posts: 415
  • Thank you received: 99
You might be able to do an in-place upgrade from buster to bullseye. You need to edit /etc/apt/sources.list (and any files in /etc/apt/sources.list.d) and replace "buster" with "bullseye", then do the usual sudo apt update followed by sudo apt full-upgrade

The Raspbian people don't recommend in-place upgrades, they recommend installing from scratch, but it's worth a try. Make a backup of your SD card first.
2 months 1 week ago #86512

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

  • Posts: 1279
  • Thank you received: 222
Thanks I might try that soon.
I found a thorough looking guide on how to do it here.
ostechnix.com/upgrade-to-debian-11-bulls...om-debian-10-buster/
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
2 months 1 week ago #86513

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

Time to create page: 0.528 seconds