/Users/rlancaste/IndiRoot/kstars-cmake/Applications/KDE/kstars.app/Contents/Resources/KSTARS_APP_SRCS.icns is missing
cp: /Users/rlancaste/IndiRoot/kstars-cmake/Applications/KDE/kstars.app/Contents/Resources/KSTARS_APP_SRCS.icns: No such file or directory
We haven't been able to figure out what the deal with those are - it doesn't seem to cause any problems...
That was mostly for my benefit - it is the kstars build dir after the build, but before the fix-libraries call, so I could just untar rather than have to rebuild to test that function. Once we are sure that the libs are all pointing to the right place I will disable it (or I can just make it optional)
Glad you suggested that - it makes it so I don't have to post an update every time I fix a typo
CMake Error at CMakeLists.txt:30 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 1.7.0) with any of the following names:
So do you remember Jamie how you were always getting annoyed at libgsl? I am the same way with ECM in its various versions. If you will recall for the original method, I had to install the kf5 version, then to do emerge, I had to install by building the latest source myself. Then I had problems because the two conflicted. Now it is back again on my new computer.
So for the CMAKE version, I did manage to get ECM to work by doing this set of steps I had posted a long time ago. The brew version of ecm did not work. I would rather not use the haraldkf5 versions because they rely on the brew qt5, which we all know takes forever.
mkdir ~/Projects
cd ~/Projects
• Setup environment (path must contain your Qt install, here 5.7 default location and brew's gettext)
export PATH=~/Qt/5.7/clang_64/bin:/usr/local/Cellar/gettext/0.19.7/bin:$PATH
git clone github.com/KDE/extra-cmake-modules.git
cd extra-cmake-modules
cmake .
make
sudo make install
However, not having the haraldkf versions of things installed means we have the following complaints on cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Config" with
any of the following names:
KF5ConfigConfig.cmake
kf5config-config.cmake
Add the installation prefix of "KF5Config" to CMAKE_PREFIX_PATH or set
"KF5Config_DIR" to a directory containing one of the above files. If
"KF5Config" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Crash" with any
of the following names:
KF5CrashConfig.cmake
kf5crash-config.cmake
Add the installation prefix of "KF5Crash" to CMAKE_PREFIX_PATH or set
"KF5Crash_DIR" to a directory containing one of the above files. If
"KF5Crash" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5Crash: found neither KF5CrashConfig.cmake nor kf5crash-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5DocTools" with
any of the following names:
KF5DocToolsConfig.cmake
kf5doctools-config.cmake
Add the installation prefix of "KF5DocTools" to CMAKE_PREFIX_PATH or set
"KF5DocTools_DIR" to a directory containing one of the above files. If
"KF5DocTools" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor kf5doctools-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5WidgetsAddons"
with any of the following names:
Add the installation prefix of "KF5WidgetsAddons" to CMAKE_PREFIX_PATH or
set "KF5WidgetsAddons_DIR" to a directory containing one of the above
files. If "KF5WidgetsAddons" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5WidgetsAddons: found neither KF5WidgetsAddonsConfig.cmake nor kf5widgetsaddons-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5NewStuff" with
any of the following names:
KF5NewStuffConfig.cmake
kf5newstuff-config.cmake
Add the installation prefix of "KF5NewStuff" to CMAKE_PREFIX_PATH or set
"KF5NewStuff_DIR" to a directory containing one of the above files. If
"KF5NewStuff" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5NewStuff: found neither KF5NewStuffConfig.cmake nor kf5newstuff-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5I18n" with any
of the following names:
KF5I18nConfig.cmake
kf5i18n-config.cmake
Add the installation prefix of "KF5I18n" to CMAKE_PREFIX_PATH or set
"KF5I18n_DIR" to a directory containing one of the above files. If
"KF5I18n" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5KIO" with any
of the following names:
KF5KIOConfig.cmake
kf5kio-config.cmake
Add the installation prefix of "KF5KIO" to CMAKE_PREFIX_PATH or set
"KF5KIO_DIR" to a directory containing one of the above files. If "KF5KIO"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5KIO: found neither KF5KIOConfig.cmake nor kf5kio-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5XmlGui" with
any of the following names:
KF5XmlGuiConfig.cmake
kf5xmlgui-config.cmake
Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
"KF5XmlGui_DIR" to a directory containing one of the above files. If
"KF5XmlGui" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Plotting" with
any of the following names:
KF5PlottingConfig.cmake
kf5plotting-config.cmake
Add the installation prefix of "KF5Plotting" to CMAKE_PREFIX_PATH or set
"KF5Plotting_DIR" to a directory containing one of the above files. If
"KF5Plotting" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5Plotting: found neither KF5PlottingConfig.cmake nor kf5plotting-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
Could not find a package configuration file provided by "KF5Notifications"
with any of the following names:
Add the installation prefix of "KF5Notifications" to CMAKE_PREFIX_PATH or
set "KF5Notifications_DIR" to a directory containing one of the above
files. If "KF5Notifications" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:66 (find_package)
-- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake
CMake Error at /usr/local/Cellar/cmake/3.7.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find KF5 (missing: Config Crash DocTools WidgetsAddons NewStuff
I18n KIO XmlGui Plotting Notifications)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.7.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
CMakeLists.txt:66 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/rlancaste/IndiRoot/kstars-cmake/kstars-build/CMakeFiles/CMakeOutput.log".
See also "/Users/rlancaste/IndiRoot/kstars-cmake/kstars-build/CMakeFiles/CMakeError.log".
I am not sure what the best solution is. We might want to go back to using the haraldkf5 versions of these programs, maybe we could somehow convince these programs to use the other version of qt5 instead of the silly home-brew one, maybe we could install alternate versions of these programs building from source sort of like emerge does, or maybe we should run emerge and then afterwards set environment variables for these programs for the cmake to succeed?