superbuild: weird cmake error

Valentin Rusu kde at rusu.info
Sun Dec 4 10:14:50 UTC 2011


On 12/03/2011 09:55 PM, Alexander Neundorf wrote:
>
> Hmm, works here for me.
> Does the same work for you ?
>
> This is what I did:
>
> ~/src/kde-git/superbuild$ cd test
> ~/src/kde-git/superbuild$ mkdir test
> ~/src/kde-git/superbuild$ cd test/
> hammer:~/src/kde-git/superbuild/test$ /opt/cmake-2.8.6-Linux-i386/bin/cmake-
> gui ../Everything/
>
> .. in cmake-gui, I enabled only automoc, and set CMAKE_INSTALL_PREFIX to
> /opt/superbuild/

Well, it won't work here. Here is my output:

$ make VERBOSE=1
/usr/local/bin/cmake -H/home/kde/src/superbuild/Everything 
-B/home/kde/src/superbuild/Everything/build --check-build-system 
CMakeFiles/Makefile.cmake 0
/usr/local/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/local/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/local/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/local/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/local/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/local/bin/cmake -E cmake_progress_report 
/home/kde/src/superbuild/Everything/build/CMakeFiles
[  0%] Creating directories for 'automoc'
/usr/local/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/local/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


-- 
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)



More information about the Kde-buildsystem mailing list