简体   繁体   English

Doxygen make make install错误:无法统计“示例”:没有这样的文件或目录

[英]Doxygen make make install Error : cannot stat ‘examples’: No such file or directory

I am trying to setup doxygen on debian 7. But make and make install throws following errors. 我正在尝试在debian 7上安装doxygen。

# make 
 /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 -m 755 bin/doxywizard /usr/local/bin 
 cp -r html /usr/local/doc/doxygen 
 cp -r examples /usr/local/doc/doxygen 
 cp: cannot stat ‘examples’: No such file or directory 
 Makefile:13: recipe for target 'install' failed 
 make: *** [install] Error 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 -m 755 bin/doxywizard /usr/local/bin 
 cp -r html /usr/local/doc/doxygen 
 cp -r examples /usr/local/doc/doxygen 
 cp: cannot stat ‘examples’: No such file or directory 
 Makefile:13: recipe for target 'install' failed 
 make: *** [install] Error 1 

Am I missing something? 我想念什么吗? Anyone experienced similar issues? 有人遇到过类似的问题吗?

I know this question is quite old and the asker has probably found a sol'n or installed another way, but for anyone else finding there way here: 我知道这个问题已经很久了,询问者可能已经找到了解决方法或安装了另一种方法,但是对于其他在这里找到方法的人:

I'm guessing you're installing using the binaries. 我猜您正在使用二进制文件进行安装。 Have a look in the html folder, and you should see an examples folder in there. 看看html文件夹,您应该在其中看到一个示例文件夹。 I think the changing the cp -r examples ... line to cp -r html/examples ... in the makefile should fix things for you. 我认为在makefile中将cp -r examples ...行更改为cp -r html/examples ...应该可以为您解决问题。 I think this is because of the layout of the source files being different from the binaries, and the makefile that comes with the binaries may not have been adjusted to account for that. 我认为这是由于源文件的布局与二进制文件不同,并且二进制文件随附的makefile可能没有经过调整以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM