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

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

问题描述

我试图安装doxygen在我的CentOs 6.3机器,我得到这个错误。任何想法??

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

或者从此处下载doxytag

现在,当您尝试 make 时,它会完成而不会出现任何错误。

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

您可以从www.stack.nl/~dimitri/doxygen/阅读关于doxytag实用程序doxytag_usage.html。

You may read about the doxytag utility from www.stack.nl/~dimitri/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 命令。

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

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