FC10: strange cmake error

Ralf Corsepius rc040203 at freenet.de
Mon May 12 06:10:53 UTC 2008


Hi,

I am facing a strange cmake-related error when trying to upgrade
OpenSceneGraph to version 2.4.0 on FC10:

...
-- Looking for pthread_yield
CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE):
  Target "cmTryCompileExec" links to item " -lpthread" which has leading or
  trailing whitespace.  This is now an error according to policy CMP0004.
...

Full logs:

http://koji.fedoraproject.org/koji/getfile?taskID=604094&name=build.log
http://koji.fedoraproject.org/koji/getfile?taskID=604094&name=root.log
http://koji.fedoraproject.org/koji/getfile?taskID=604094&name=state.log

Local mock-building the srpm for fc8 and fc9 works without problems,
which makes me think something in cmake-2.6.0 on FC10 is broken.

Any ideas?

Ralf





More information about the Fedora-perl-devel-list mailing list