Summary: | Unknown CMake command "check_function_exists" | ||
---|---|---|---|
Product: | kde-windows | Reporter: | Chris <developerchris> |
Component: | buildsystem | Assignee: | Jarosław Staniek <staniek> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | juanjosemoralesarias, staniek |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | All | ||
Latest Commit: | Version Fixed In: |
Description
Chris
2013-04-21 00:08:49 UTC
I have the same problem when try to compile Kexi in Ubuntu. Im using this: cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde/inst5 $HOME/kexi/src/ -DCMAKE_BUILD_TYPE=RelWithDebInfo -Wno-dev and I get this: CMake Error at CMakeLists.txt:5 (check_function_exists): Unknown CMake command "check_function_exists". -- Configuring incomplete, errors occurred! @Juan What is the $HOME/kexi/src/ dir? I guess you're not pointing to the root dir of kexi.git's sources but to kexi.git/src/. This will never work. I see you might understood '/src' subdir of kexi as the source dir but it's not. Source code also exists in the / dir of the git tree. The same answer goes the original author, Chris: kioslave/fish is a subdir, don't build subdirs :) @Juan Assuming you have executed: cd $HOME/kde/src git clone kde:kexi and based on https://community.kde.org/Calligra/Building/3#Build_Calligra, you need: cd $HOME/kde/build/kexi cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde/inst5 $HOME/kde/src/kexi -DCMAKE_BUILD_TYPE=RelWithDebInfo Of course this won't end with success if you miss dependencies, and I guess you do so far :) You are right. And It worked for me . Apologize for my misunderstanding. |