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.
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?
Thanks. I believe you are correct. Going to work on it some more later.
Now, I just hope PHD2 is ok.
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.
Yes. But I still want it.
Kstars did complete. It's running now.
GSC is just for simulator camera. Good for troubleshooting, but not critical.
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
apt-get -y install libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev
The file CMake Error at /usr/local/lib/cmake/StellarSolver/StellarSolverConfig.cmake was also a couple days old. I've now cleaned it too.
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"
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.
I cleared the entire build folder that is used by the AstroPi3 setup script and Stellarsolver was rebuilt prior to the KStars build.
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)
- 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
Thanks I might try that soon.
I found a thorough looking guide on how to do it here.
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.
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
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