[CMake] Re: CMake Error: Could not get source file entry for ...

Fabian Wein fabian.wein at lse.e-technik.uni-erlangen.de
Thu Nov 22 04:42:45 EST 2007


Hi Brandon,

>> ccmake --version -> "ccmake version 2.4-patch 6"
>> doxygen --version -> "1.5.0"
> 
> What about under ccmake 2.4.7, the current release?
> 
> Can you reproduce your problem in a short piece of code, i.e. a
> trivial project using doxygen?

I have the same problem compiling ccmake 2.4.7! I guess there is
something missing
on this Suse 10.2 machine.

I did a configure on cmake 2.4.7 (with only prefix set)

and got
...
-- Looking for setgroups
-- Looking for setgroups - not found.
running cd "/home/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/CMakeTmp"
&& /home/lse10/lse10/lse/fwein/t/cmake-2.4.7/Bootstrap.cmk/cmake -E
copy src2.c src.c  2>&1
-- Performing Test VA_LIST_ISNOT_ARRAY_DEFINE
-- Performing Test VA_LIST_ISNOT_ARRAY_DEFINE - Success
running cd "/home/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/CMakeTmp"
&& /home/lse10/lse10/lse/fwein/t/cmake-2.4.7/Bootstrap.cmk/cmake -E
copy src2.c src.c  2>&1
-- Performing Test ATTR_UNUSED_VAR
-- Performing Test ATTR_UNUSED_VAR - Success
CMake Error: Could not get source file entry for
/home/lse10/lse10/lse10/lse/fwein/t/cmake-2.4.7/Utilities/CMakeFiles/documentation
CMake Error: Cannot find source file
"/home/lse10/lse10/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/Continuous"
for target "Continuous"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error: Cannot find source file
"/home/lse10/lse10/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/ContinuousBuild"
for target "ContinuousBuild"
...
-- Configuring done
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------

Then I tried configure also with --verbose and got
...
cc -I/home/lse10/lse/fwein/t/cmake-2.4.7/Source
-I/home/lse10/lse/fwein/t/cmake-2.4.7/Bootstrap.cmk
-DKWSYS_NAMESPACE=cmsys -c
/home/lse10/lse/fwein/t/cmake-2.4.7/Source/kwsys/System.c -o System.o
g++  -I/home/lse10/lse/fwein/t/cmake-2.4.7/Source
-I/home/lse10/lse/fwein/t/cmake-2.4.7/Bootstrap.cmk  cmake.o
cmakemain.o cmakewizard.o cmCommandArgumentLexer.o
cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDepends.o
cmDependsC.o cmMakeDepend.o cmMakefile.o cmGeneratedFileStream.o
cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o
cmInstallFilesGenerator.o cmInstallScriptGenerator.o
cmInstallTargetGenerator.o cmSourceFile.o cmSystemTools.o
cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o
cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o
cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o
cmTarget.o cmTest.o cmCustomCommand.o cmCacheManager.o
cmListFileCache.o cmOrderLinkDirectories.o cmListFileLexer.o
Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o
System.o -o cmake
loading initial cache file
/home/lse10/lse/fwein/t/cmake-2.4.7/Bootstrap.cmk/InitialCacheFlags.cmake
Curses libraries were not found. Curses GUI for CMake will not be build.
-- Cannot determine repository type. Please set UPDATE_TYPE to 'cvs'
or 'svn'. CTest update will not work.
CMake Error: Could not get source file entry for
/home/lse10/lse10/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/Experimental
...

I installed ncurses_devel, removed the above message but not the problem.

Btw, the content of
/home/lse10/lse10/lse10/lse/fwein/t/cmake-2.4.7/CMakeFiles/

is
CMakeCCompiler.cmake  CMakeCXXCompiler.cmake  CMakeFiles
CMakeSystem.cmake
cmake.check_cache     CMakeError.log          CMakeOutput.log  CMakeTmp,

no idea, where there should be "Experimental"





More information about the CMake mailing list