superbuild: weird cmake error
Valentin Rusu
kde at rusu.info
Sun Dec 4 12:13:10 UTC 2011
On 12/04/2011 12:41 PM, Valentin Rusu wrote:
>>
> And this is with starting from scratch with clean trees, no additional
> options
>
> Yes. I did almost the same thing as you:
>
> cd Everything
> mkdir build
> cd build
> cmake-gui ..
> make
>
> I have cmake compiled from sources on my system. I reset it to 2.8.6
> version.
Now I just uninstalled the compiled cmake, then installed the one from
my distribution package (ArchLinux), which is version 2.8.6-1. I removed
the contents of the build subdir, then reconfigured it. Same output:
$ make VERBOSE=1
/usr/bin/cmake -H/home/kde/src/superbuild/Everything
-B/home/kde/src/superbuild/Everything/build --check-build-system
CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/kde/src/superbuild/Everything/build/CMakeFiles
/home/kde/src/superbuild/Everything/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/kde/src/superbuild/Everything/build'
make -f CMakeFiles/AlwaysCheckDESTDIR.dir/build.make
CMakeFiles/AlwaysCheckDESTDIR.dir/depend
make[2]: Entering directory `/home/kde/src/superbuild/Everything/build'
cd /home/kde/src/superbuild/Everything/build && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /home/kde/src/superbuild/Everything
/home/kde/src/superbuild/Everything
/home/kde/src/superbuild/Everything/build
/home/kde/src/superbuild/Everything/build
/home/kde/src/superbuild/Everything/build/CMakeFiles/AlwaysCheckDESTDIR.dir/DependInfo.cmake
--color=
make[2]: Leaving directory `/home/kde/src/superbuild/Everything/build'
make -f CMakeFiles/AlwaysCheckDESTDIR.dir/build.make
CMakeFiles/AlwaysCheckDESTDIR.dir/build
make[2]: Entering directory `/home/kde/src/superbuild/Everything/build'
/usr/bin/cmake -DSB_INITIAL_DESTDIR="" -D_SB_CHECK_DESTDIR=TRUE -P
/home/kde/src/superbuild/SuperBuild.cmake
DESTDIR Ok. (now: "", at CMake time: "")
make[2]: Leaving directory `/home/kde/src/superbuild/Everything/build'
/usr/bin/cmake -E cmake_progress_report
/home/kde/src/superbuild/Everything/build/CMakeFiles
[ 0%] Built target AlwaysCheckDESTDIR
make -f CMakeFiles/automoc.dir/build.make CMakeFiles/automoc.dir/depend
make[2]: Entering directory `/home/kde/src/superbuild/Everything/build'
cd /home/kde/src/superbuild/Everything/build && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /home/kde/src/superbuild/Everything
/home/kde/src/superbuild/Everything
/home/kde/src/superbuild/Everything/build
/home/kde/src/superbuild/Everything/build
/home/kde/src/superbuild/Everything/build/CMakeFiles/automoc.dir/DependInfo.cmake
--color=
make[2]: Leaving directory `/home/kde/src/superbuild/Everything/build'
make -f CMakeFiles/automoc.dir/build.make CMakeFiles/automoc.dir/build
make[2]: Entering directory `/home/kde/src/superbuild/Everything/build'
/usr/bin/cmake -E cmake_progress_report
/home/kde/src/superbuild/Everything/build/CMakeFiles
[ 0%] Creating directories for 'automoc'
/usr/bin/cmake -E make_directory
/home/kde/src/superbuild/Everything/build/src/kdesupport_automoc
/home/kde/src/automoc
CMake Error: cmake version 2.8.6
Usage: /usr/bin/cmake -E [command] [arguments ...]
Available commands:
chdir dir cmd [args]... - run command in a given directory
compare_files file1 file2 - check if file1 is same as file2
copy file destination - copy file to destination (either file or
directory)
copy_directory source destination - copy directory 'source' content
to directory 'destination'
copy_if_different in-file out-file - copy file if input has changed
echo [string]... - displays arguments as text
echo_append [string]... - displays arguments as text but no new line
environment - display the current environment
make_directory dir - create a directory
md5sum file1 [...] - compute md5sum of files
remove [-f] file1 file2 ... - remove the file(s), use -f to force it
remove_directory dir - remove a directory and its contents
rename oldname newname - rename a file or directory (on one volume)
tar [cxt][vfz][cvfj] file.tar file/dir1 file/dir2 ... - create a tar
archive
time command [args] ... - run command and return elapsed time
touch file - touch a file.
touch_nocreate file - touch a file but do not create it.
Available on UNIX only:
create_symlink old new - create a symbolic link new -> old
make[2]: ***
[CMakeFiles/SuperBuild/stampfiles/kdesupport_automoc/automoc-mkdir] Error 1
make[2]: Leaving directory `/home/kde/src/superbuild/Everything/build'
make[1]: *** [CMakeFiles/automoc.dir/all] Error 2
make[1]: Leaving directory `/home/kde/src/superbuild/Everything/build'
make: *** [all] Error 2
Valentin
--
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)
More information about the Kde-buildsystem
mailing list