On 03/03/2011 05:42 PM, Serghei Amelian wrote:
On Friday 04 March 2011 01:34:21 David C. Rankin
wrote:
Guys,
Here are the errors I'm getting with kdegraphics kruler and kview. I know
they are both recently ported (or may be still in the process). So question
(1) is: "should they be considered ready to build?" Question (2), "do I
build them both independently or do I have to build the whole kdegraphics
package at once?"
Both are possible, but relative to kdegraphics directory (using -DBUILD_ALL=ON
or -DBUILD_KVIEW=ON / -DBUILD_KRULER=ON)
Hmm,
I can't get them to build either way. Trying to build the whole kdegraphics
package with:
cmake ./ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DWITH_PAM=ON \
-DBUILD_ALL=ON
make
I get
-- checking for 'TDE'
-- found 'TDE', version 3.5.13
CMake Error at kruler/CMakeLists.txt:29 (install):
install FILES given no DESTINATION!
-- Configuring incomplete, errors occurred!
Aborting...
changing to:
cmake ./ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DWITH_PAM=ON \
-DBUILD_KRULER=ON \
-DBUILD_KVIEW=ON
make
gives the same error. If I then try the individual modules with -DBUILD_KVIEW=ON
/ -DBUILD_KRULER=ON), I get:
kruler:
cmake ./ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_DOCDIR=/opt/qt/man \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DBUILD_KRULER=ON
make
==> Setting PATH, CMAKE and Trinity Environment variables
CMake Error at pics/CMakeLists.txt:16 (tde_install_icons):
Unknown CMake command "tde_install_icons".
**same error with -DBUILD_ALL=ON
kview:
cmake ./ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_DOCDIR=/opt/qt/man \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DBUILD_KVIEW=ON
make
CMake Error at kimageviewer/CMakeLists.txt:25 (install):
install FILES given no DESTINATION!
CMake Error at kimageviewer/CMakeLists.txt:32 (tde_add_library):
Unknown CMake command "tde_add_library".
**same error with -DBUILD_ALL=ON
What am I doing wrong?
--
David C. Rankin, J.D.,P.E.