Thank you kindly for the complete list.
I was working from the AstroPi script, which is evidently out of date, and adding what ever I was told was missing.
I ultimately got it to build. But I might've missed something. As some things weren't quite right.

Read More...

I am working on compiling KStars on Ubuntu Mate. Yes, I am aware it is available pre-compiled from the repository. But I have some custom code for KStars to build myself.

I have been pretty successful at finding the needed dependencies sofar. But these two have been hard to satisfy.

Package 'kio-dev' has no installation candidate
Package 'kdoctools-dev' has no installation candidate

What packages do I need to install to satisfy these dependencies on Ubuntu Mate 22.04 Jammy?
Thank you.

Read More...

Thanks. I believe you are correct. Going to work on it some more later.
Now, I just hope PHD2 is ok.

Read More...

I understand why it might look like that to you as I only shared a small excerpt from the terminal as it was running the script. But I can assure you it is indicative of GSC not being compiled. I believe it says GSC is already installed due to it having been present before the upgrade to Bullseye, and the fact that the images produced by the simulator are currently corrupted.
And I also see no new build directory for GSC. Furthermore I saw PHD2 compile properly, and it runs fine.
Maybe there are also some other things I need to clean up first.

Read More...

Yes. But I still want it.

Read More...

Kstars did complete. It's running now.
GSC is just for simulator camera. Good for troubleshooting, but not critical.

Read More...

Great news. After going in and cleaning some of those things up in the build directory and elsewhere. I have successfully compiled everything. With the exception of GSC.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Building and Installing GSC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

GSC is already installed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libwxgtk3.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libwxgtk3.0-dev' has no installation candidate
I found that version was replaced with libwxgtk3.0-gtk3-dev hand installed it, but the compiler isn't using it.
apt-get -y install libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev


Read More...

The file CMake Error at /usr/local/lib/cmake/StellarSolver/StellarSolverConfig.cmake was also a couple days old. I've now cleaned it too.

Read More...

Upon rebuilding Stellarsolver, Kstars compile error locating that library.

Make Error at /usr/local/lib/cmake/StellarSolver/StellarSolverConfig.cmake:79 (message):
  The imported target "StellarSolver::stellarsolver" references the file

     "/usr/local/lib/libstellarsolver.so.2.2"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/StellarSolver/StellarSolverConfig.cmake"
And as matter of fact a file new version of the file appeared in /usr/lib/aarch64-linux-gnu
libstellarsolver.so.2.4
Note it is now 2.4, not 2.2

Read More...

I found libstellarsolver.so.2.2 in /usr/local/lib. No conflicting versions to be found in /usr/lib.
Although the version found in /usr.local/lib is a couple days old, from just before I performed the inplace upgrade. I should probably delete it and re-try. Thank you.

Read More...

I cleared the entire build folder that is used by the AstroPi3 setup script and Stellarsolver was rebuilt prior to the KStars build.

Read More...

First off, I recently performed an inplace upgrade from Linux Buster to Bullseye to allow me to compile latest version of KStars. But I have encountered a missing shared library issue that looks like this during KStars build.

/usr/bin/ld: warning: libcfitsio.so.7, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgsl.so.23, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libwcs.so.6, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcfitsio.so.7, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgsl.so.23, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libwcs.so.6, needed by /usr/local/lib/libstellarsolver.so.2.2, not found (try using -rpath or -rpath-link)

It also appears to have failed to find some things at the start of the process.
- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found


Read More...

Andrew replied to the topic 'Kstars RPi cmake error: missing ECM?' in the forum. 2 weeks ago

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/

Read More...

Andrew replied to the topic 'Kstars RPi cmake error: missing ECM?' in the forum. 2 weeks ago

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.

Read More...

Andrew replied to the topic 'Kstars RPi cmake error: missing ECM?' in the forum. 2 weeks ago

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.

Read More...