superbuild: weird cmake error

Valentin Rusu kde at rusu.info
Tue Nov 29 20:41:41 UTC 2011


On 11/29/2011 07:34 PM, Alexander Neundorf wrote:
> It's the "--trace" in the command. I don't know how you got that in 
> there. 

Oh, sorry, my fault! I forgot I manually edited the Makefile to add 
--trace to cmake command.

> If you copy that command just to the command line 
> ("/usr/local/bin/cmake -- trace -E cmake_progress_start 
> /home/kde/src/superbuild/kdesupport/build/CMakeFiles 
> /home/kde/src/superbuild/kdesupport/build/CMakeFiles/progress.marks"), 
> you'll get the error you see below, if you remove the --trace, it 
> works. Alex 

Well, it won't work on my system :

[valentin at z build]$ cmake -E cmake_progress_start
CMake Error: cmake version 2.8.6
Usage: 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