error message needs improvement (Fwd: kdebase requires more variables set?)

David Faure faure at kde.org
Wed May 2 10:38:03 CEST 2007


Everyone who gets an error like the one below, thinks it's about environment variables, obviously.
Could this error message be improved, to tell the user that the CMakeLists files are looking for
something that hasn't been set, which probably means a missing dependency or an error in the files,
but that this NOT related to any environment variables?
The wording "Please set the following variables" really makes people think it's about them setting them with "export"...

Of course the better fix is better configure checks, in general, but in the case below, simply
updating kdelibs leads to the definition of KMETADATA_LIBRARIES automatically; a kdebase-level
check for any var that it uses from kdelibs would just be overkill.

----------  Forwarded Message  ----------

Subject: kdebase requires more variables set?
Date: Tuesday 01 May 2007
From: Sebastian Pipping <webmaster at hartwork.org>
To: kde-devel at kde.org

cmakekde now gives this error for the latest trunk of kdebase:

    CMake Error: This project requires some variables to be set,
    and cmake can not find them.
    Please set the following variables:
    FONTCONFIG_INCLUDE_DIR
    FONTCONFIG_LIBRARIES (ADVANCED)
    KMETADATA_LIBRARIES

I am doing something wrong?
What do I set these vars to?
Thanks in advance for any help!



Sebastian
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


-------------------------------------------------------

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list