对于s390x的rhel发行版构建doxygen v1.8.15时,“make docs”失败了

问题描述 投票:1回答:1

“make docs”在构建doxygen v1.8.15 for rhel和sles发行版s390x时失败了。

使用“doxygen-latex”v1.8.5包装为rhel安装胶乳

bash-4.2$ make docs VERBOSE=1
[ 82%] Generating Latex and HTML documentation.
cd /home/test/workspace/Doxygen_rhel/doxygen/build/doc && /usr/bin/cmake -E env VERSION=1.8.15 /home/test/workspace/Doxygen_rhel/doxygen/build/bin/doxygen
CMake Error: cmake version 2.8.12.2
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 or extract a tar or zip 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[3]: *** [doc/CMakeFiles/run_doxygen] Error 1
make[3]: Leaving directory `/home/test/workspace/Doxygen_rhel/doxygen/build'
make[2]: *** [doc/CMakeFiles/run_doxygen.dir/all] Error 2
make[2]: Leaving directory `/home/test/workspace/Doxygen_rhel/doxygen/build'
make[1]: *** [doc/CMakeFiles/docs.dir/rule] Error 2
make[1]: Leaving directory `/home/test/workspace/Doxygen_rhel/doxygen/build'
make: *** [docs] Error 2
bash-4.2$

任何关于上述错误的指针都会有所帮助。

doxygen
1个回答
1
投票

来自CMake的旧文档:https://cmake.org/cmake/help/v2.8.12/cmake.html

我知道了

-E:CMake命令模式。

为了实现真正的平台独立性,CMake提供了可在所有系统上使用的命令列表。使用-E help运行使用信息。可用的命令有:chdir,compare_files,copy,copy_directory,copy_if_different,echo,echo_append,environment,make_directory,md5sum,remove,remove_directory,rename,tar,time,touch,touch_nocreate。此外,还提供了一些特定于平台的命令。在Windows上:comspec,delete_regv,write_regv。在UNIX上:create_symlink。

因此使用的CMake版本已经过时了。看起来,对于-E env,至少需要3.1。

编辑:

关于最小使用版本:我刚刚将一个提议的补丁推送到github(pull request 6771,https://github.com/doxygen/doxygen/pull/6771)。

编辑2:pul请求的代码已经集成在github上的master中。

© www.soinside.com 2019 - 2024. All rights reserved.