Registered Member
|
Trying to compile Calligra 3 following https://community.kde.org/Calligra/Building/3
the best (less bad) result I obtain is summarized here below leleu@leleu-portable:~/kde$ ls build inst5 src leleu@leleu-portable:~/kde$ cd build leleu@leleu-portable:~/kde/build$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde/inst5 $HOME/kde/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -- Using CMake version: 3.2.2 CMake Error at CMakeLists.txt:32 (message): Compiling Calligra inside the source directory is not possible. Please refer to the build instruction https://community.kde.org/Calligra/Building/3 -- Configuring incomplete, errors occurred! See also "/home/leleu/kde/src/calligra/CMakeFiles/CMakeOutput.log". leleu@leleu-portable:~/kde/build$ The relevant lines in ~/kde/src/calligra/CMakelists.txt are string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" isBuildInSource) if(isBuildInSource) message(FATAL_ERROR "Compiling Calligra inside the source directory is not possible. Please refer to the build instruction https://community.kde.org/Calligra/Building/3") endif() In the 995 lines log file I see no clue. My cmake command has been delivered from the build repertory $HOME/kde/build/calligra which is distinct of the source directory, so I don't find why it fails. |
Moderator
|
Moved the topic here.
Also as I suppose you would like to build Kexi 3: it's not in calligra.git anymore. So I added this note to the https://community.kde.org/Kexi/Building page:
I am sorry for the state of the instructions, it's Alpha stage. |
Moderator
|
Ideas:
- remove and recreate the build/ directory : "rm -rf build" - clean up the source directory ("cd calligra; git clean -fd"); to compile Kexi, get the kexi repository instead |
Registered Member
|
Hi leleu, this sounds like you before already tried to build inside the sources, and from that still have some build artifacts around in the sources (most important a file CMakeCache.txt). You are not the first to run into it, we should improve the error message.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]