doxygen的安装和make命令中的错误 [英] Installation of doxygen and error in make command

查看:62
本文介绍了doxygen的安装和make命令中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 CentOs 6.3 机器上安装 doxygen,但出现此错误.有什么想法吗??

I am trying to install doxygen in my CentOs 6.3 machine and I am getting this error. Any ideas??

[root@dell1 doxygen-1.8.3.1]# make install
/usr/bin/install -d /usr/local/bin
/usr/bin/install -d /usr/local/doc/doxygen
/usr/bin/install -m 755 bin/doxygen    /usr/local/bin
/usr/bin/install -m 755 bin/doxytag    /usr/local/bin
/usr/bin/install: cannot stat `bin/doxytag': No such file or directory
make: *** [install] Error 1

推荐答案

Bash 抱怨没有错:

Bash isn't wrong in complaining:

/usr/bin/install: cannot stat `bin/doxytag': No such file or directory

恰好是编译后的文件doxytag没有包含在下载的tar文件中.所以当你尝试make 时,它找不到那个文件.要成功制作,您有两种选择:

It happens to be that the compiled file doxytag was not included in the downloaded tar file. So when you try to make, it couldn't find that file. To make it successfully, you have two options:

您可以使用上述链接编译python文件doxytag.py:

You can compile the python file doxytag.py from the above link using:

python -m compileall path_to_the_file/doxytag.py

它应该生成一个带有 .pyc 扩展名的 python 编译可执行文件.现在将此文件移动到您的 doxygen-version 文件夹.例如,

It should generate a python compiled executable with .pyc extension. Now move this file to your doxygen-version folder. For example,

mv doxytag.pyc your_path/doxygen-1.8.5/bin/doxytag

或者从这里

现在,当您尝试制作时,它将完成而不会出现任何错误.

Now when you try to make, it will complete without any errors.

您可以从 https://www.star.bnl.gov/public/comp/sofi/doxygen/doxytag_usage.html.

如果您的文档中不需要此实用程序,只需通过注释掉或删除 doxygen-1.8.5(根据您的版本)目录中存在的 Makefile 中的行来跳过它:

If you do not really require this utility in your documentation, simply skip it by commenting out or deleting the line in the Makefile present in the doxygen-1.8.5(as per your version) directory by:

#$(INSTTOOL) -m 755 bin/doxytag    $(INSTALL)/bin

然后运行 ​​make 命令.

And then run the make command.

这篇关于doxygen的安装和make命令中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆