Public bug reported: Binary package hint: cmake
Hello, i'm developing Kde app, but cmake in Kubuntu 9.04 x86_64 is all screwed. First error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QT_QT_INCLUDE_DIR used as include directory in directory /home/adam/projects/db2client/build/CMakeFiles/CMakeTmp CMake Error: Internal CMake error, TryCompile configure of cmake failed CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1059 (message): Could not compile simple test program: #include <QtCore/QtGlobal> int main() { #ifdef QT_VISIBILITY_AVAILABLE return 0; #else return 1; #endif } Call Stack (most recent call first): /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE) CMakeLists.txt:7 (find_package) After adding set(QT_QT_INCLUDE_DIR /usr/include/qt4/) into my CMakeLists.txt, the following happens: CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake "cmTryCompileExec/fast" CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1059 (message): Could not compile simple test program: #include <QtCore/QtGlobal> int main() { #ifdef QT_VISIBILITY_AVAILABLE return 0; #else return 1; #endif } Change Dir: /home/adam/projects/db2client/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" No such file or directory Generator: execution of make failed. Make command was: /usr/bin/gmake "cmTryCompileExec/fast" Call Stack (most recent call first): /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE) CMakeLists.txt:7 (find_package) Now what? Make symlink to make? There seems to be something very wrong in ubuntu Cmake, in Fedora it builds fine. Thanks ** Affects: cmake (Ubuntu) Importance: Undecided Status: New -- Cmake is screwed building KDE Application https://bugs.launchpad.net/bugs/375012 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs