[Kstars-devel] Problems with getting the frameworks branch of KStars to run on my Fedora 20 system
Samikshan Bairagya
samikshan at gmail.com
Sun Aug 31 11:48:11 UTC 2014
Hi all,
I have been trying to get frameworks branch to run on my Fedora 20 system for a
long time now and I'm still failing.
To start off I followed [1] [2] to download kf-* packages on my
system. The cmake
and 'make' step works, but the make install step fails with the following error:
-- Installing: /home/sbairagy/kde/usr/share/icons/hicolor/64x64/apps/./kstars.png
-- Installing: /home/sbairagy/kde/usr/share/icons/hicolor/128x128/apps/./kstars.png
-- Installing: /home/sbairagy/kde/usr/share/icons/hicolor/32x32/apps/./kstars.png
-- Installing: /home/sbairagy/kde/usr/share/icons/hicolor/scalable/apps/./kstars.svgz
-- Installing: /home/sbairagy/kde/usr/share/applications/kde4/kstars.desktop
-- Installing: /home/sbairagy/kde/usr/share/config.kcfg/kstars.kcfg
-- Installing: /home/sbairagy/kde/usr/share/config/kstars.knsrc
CMake Error at kstars/cmake_install.cmake:190 (FILE):
file cannot create directory: /kstars. Maybe need administrative
privileges.
Call Stack (most recent call first):
cmake_install.cmake:50 (INCLUDE)
make: *** [install] Error 1
The error occurs while trying to install the kstarsui.rc file. From
line numbers 190
and 50 in kstars/cmake_install.cmake and cmake_install.cmake it is obvious that
the KXMLGUI_INSTALL_DIR is not set to the correct path.
To resolve the above problem I tried setting the environment variable
manually as
shown in the diff below:
diff --git a/kstars/CMakeLists.txt b/kstars/CMakeLists.txt
index e33c83a..96968ad 100644
--- a/kstars/CMakeLists.txt
+++ b/kstars/CMakeLists.txt
@@ -529,12 +529,12 @@ install( PROGRAMS kstars.desktop DESTINATION
${XDG_APPS_INSTALL_DIR} )
install( FILES kstars.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES kstars.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
if (INDI_FOUND)
-install( FILES kstarsui-indi.rc DESTINATION
${KXMLGUI_INSTALL_DIR}/kstars RENAME kstarsui.rc)
+install( FILES kstarsui-indi.rc DESTINATION
/home/sbairagy/kde/usr/share/kxmlgui5/kstars RENAME kstarsui.rc)
else (INDI_FOUND)
-install( FILES kstarsui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kstars )
+install( FILES kstarsui.rc DESTINATION
/home/sbairagy/kde/usr/share/kxmlgui5/kstars )
endif(INDI_FOUND)
-install( FILES fitsviewer.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kstars )
+install( FILES fitsviewer.rc DESTINATION
/home/sbairagy/kde/usr/share/kxmlgui5/kstars )
if (WIN32)
- install( FILES kstarsui-win.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kstars )
+ install( FILES kstarsui-win.rc DESTINATION
/home/sbairagy/kde/usr/share/kxmlgui5/kstars )
endif (WIN32)
This does install KStars correctly, but trying to execute this
installation fails. I
have attached a screenshot with this email that shows this.
It would be great if I could get any help me with this.
[1] http://www.progdan.cz/2014/01/kde-frameworks-5-and-plasma-2-on-fedora/
[2] http://copr.fedoraproject.org/coprs/dvratil/kde-frameworks/
Thanks and Regards,
--
Samikshan Bairagya,
KDE India | Red Hat
http://samxan.wordpress.com
(samikshan on Freenode IRC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kf5_kstars.png
Type: image/png
Size: 402197 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20140831/b285ea17/attachment-0001.png>
More information about the Kstars-devel
mailing list