Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-25 Thread Brad King
Martin Costabel wrote: Martin Costabel wrote: [] Now I only have to find out why another user gets the error find_package cannot find package FREETYPE because FREETYPE_DIR is set to /sw/lib/freetype219 which is not a directory containing a package configuration file (or it is not for the

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-21 Thread Martin Costabel
Bill Hoffman wrote: Martin Costabel wrote: [] QT_INCLUDE_DIR:PATH=QT_INCLUDE_DIR-NOTFOUND If I read the module correctly, cmake looks if the file $ENV{QTDIR}/include/qglobal.h exists, which should in principle be the case. I'll ask her if something is wrong with this file. Thanks Well,

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-21 Thread Martin Costabel
Martin Costabel wrote: [] Now I only have to find out why another user gets the error find_package cannot find package FREETYPE because FREETYPE_DIR is set to /sw/lib/freetype219 which is not a directory containing a package configuration file (or it is not for the requested version).

[CMake] How to make cmake-2.6 tell why it fails

2008-08-19 Thread Martin Costabel
I am trying to help a user whose effort to build scribus-1.3.3.12 with cmake-2.6.0 on MacOSX-10.4.11 always fail with the message CMake Error at CMakeLists.txt:234 (MESSAGE): No Qt3 With the exact same configuration(?), the build runs OK for me, and I am looking for clues on how to debug

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-19 Thread Bill Hoffman
Martin Costabel wrote: I am trying to help a user whose effort to build scribus-1.3.3.12 with cmake-2.6.0 on MacOSX-10.4.11 always fail with the message CMake Error at CMakeLists.txt:234 (MESSAGE): No Qt3 With the exact same configuration(?), the build runs OK for me, and I am looking for

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-19 Thread Martin Costabel
Bill Hoffman wrote: [] So, what are the values of QT_INCLUDE_DIR AND QT_QT_LIBRARY in the users CMakeCache.txt file? One of those must not be found. Indeed: QT_INCLUDE_DIR:PATH=QT_INCLUDE_DIR-NOTFOUND If I read the module correctly, cmake looks if the file $ENV{QTDIR}/include/qglobal.h

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-19 Thread Bill Hoffman
Martin Costabel wrote: Bill Hoffman wrote: [] So, what are the values of QT_INCLUDE_DIR AND QT_QT_LIBRARY in the users CMakeCache.txt file? One of those must not be found. Indeed: QT_INCLUDE_DIR:PATH=QT_INCLUDE_DIR-NOTFOUND If I read the module correctly, cmake looks if the file