David,
You have to build the whole package, or you need to use cmake -DBUILD_KRULER=ON if you wanna build kruler by itself
Calvin
"David C. Rankin" drankinatty@suddenlinkmail.com 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?"
If so (or regardless), here are the errors:
trinity-kdegraphics-kruler:
-- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at pics/CMakeLists.txt:16 (tde_install_icons): Unknown CMake command "tde_install_icons".
trinity-kdegraphics-kview:
-- Detecting CXX compiler ABI info - done 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".
So does this just tell me - they ain't ready yet?
-- David C. Rankin, J.D.,P.E.
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 03/03/2011 07:32 PM, Calvin Morrison wrote:
David,
You have to build the whole package, or you need to use cmake -DBUILD_KRULER=ON if you wanna build kruler by itself
Calvin
Calvin,
I'm trying. See my last reply to Serghei. It looks like the build isn't liking:
tde_install_icons( kruler )
in kruler/pics/CMakeLists.txt, ... and ... it doesn't like the following in the main kruler CMakeLists.txt:
install( FILES eventsrc ${DATA_INSTALL_DIR}/kruler ) ^^^^^^^^^^^^^^^^
Can I specify DATA_INSTALL_DIR as a CMake option? How? and what is it here? With kview, it is not liking:
tde_install_icons( kview )
in the kimageviewer CMakeLists.txt, the error point to:
install( FILES kimageviewercanvas.desktop kimageviewer.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
Taking both sets of errors as a whole, it looks like CMake doesn't know what to do with "tde_install_icons" and it doesn't know what the directories are (eg. ${DATA_INSTALL_DIR} and ${SERVICETYPES_INSTALL_DIR}) or it just doesn't like the "install" keyword.
Are they building for you??
On Thu, Mar 3, 2011 at 10:41 PM, David C. Rankin drankinatty@suddenlinkmail.com wrote: <snip>
Taking both sets of errors as a whole, it looks like CMake doesn't know what to do with "tde_install_icons" and it doesn't know what the directories are (eg. ${DATA_INSTALL_DIR} and ${SERVICETYPES_INSTALL_DIR}) or it just doesn't like the "install" keyword.
<snip>
Do you have trinity_prefix defined to the correct directory? Looks like the problem with building all and building kview, but looking at kruler, you probably have it set right, and it probably needs a function set to detect the prefix you've set. Either that or you need to specify other directories (such as config_dir to {trinity_prefix}/etc or something of the sort).
kruler looks like it's missing a function for cmake: tde_install_icons. Maybe it needs to be set in the cmake files to install to the correct directory withing the specified trinity_prefix?
These are just my newbish suggestions... no experience with cmake, and it will be at least another two weeks (maybe more depending on some issues) before I have a new hard disk to help.