emerge kdepimlibs cmake problem?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon May 5 19:27:24 CEST 2008


Bernhard Reiter schrieb:
> Just tried an 
> svn up emerge
> emerge --update mingw
> emerge --update qt
> emerge --update kdepimlibs
> 
> The latter failed with messages like:
> 
> 
> CMake Error at E:/devel/share/apps/cmake/modules/KDE4Macros.cmake:813 
> (add_custom_target):
>   add_custom_target cannot create target "buildtests" because another target
>   with the same name already exists.  The existing target is a custom target
>   created in source directory
>   "E:/devel/svn/trunk/KDE/kdepimlibs/kmime/tests".  See documentation for
>   policy CMP0002 for more details.
> Call Stack (most recent call first):
>   akonadi/tests/CMakeLists.txt:26 (kde4_add_unit_test)
>   akonadi/tests/CMakeLists.txt:42 (add_akonadi_test)
> 
> commandstring python e:
> \devel\emerge\portage\kde\kdepimlibs\kdepimlibs-20080202.py compile
> emerge fatal error: running python e:
> \devel\emerge\portage\kde\kdepimlibs\kdepimlibs-20080202.py compile
> emerge error: fatal error: package kde/kdepimlibs-20080202 all failed
> 
> I also see warnings like:
> CMake Error in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
> 
>     cmake_minimum_required(VERSION 2.6)
> 
>   should be added at the top of the file.  The version specified may be lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> 
> 
> -- Configuring done
> 
> 
> Got to stop analysing this for the moment, so this is just an early report.
> Hints welcome of course.
> 
Works fine for me with cmake 2.6.0-rc10 and current svn.


Christian


More information about the Kde-windows mailing list