Better error message if one forgets to set KDEDIR variable
kde-ml at unormal.org
Tue Feb 21 12:09:28 UTC 2012
Yesterday evening I had a problem which dfaure helped me to solve. I forgot to
(re)set the KDEDIR variable and thus got errors like:
-- ************** ecm_version() is obsolete, use ecm_set_version_variables()
-- file RELATIVE_PATH relInstallDir /lib/i386-linux-gnu/cmake/itemmodels
CMake Error at /usr/local/share/extra-cmake-
file RELATIVE_PATH called with incorrect number of arguments
Call Stack (most recent call first):
Of line of the aboves is the debug line dfaure sent me as a patch. See  for
the whole output of cmake.
Here is my cmake line:
/home/fmario/devel/KDE/cmake-build/bin/cmake ../kdelibs -
After resetting KDEDIR to the correct directory everything worked fine but
dfaure told me to write this to the buildsystem list and thus Alex to mention
that there should be a better error message for this problem.
Oh and please CC: me as I'm not subscribed to this list.
More information about the Kde-buildsystem