本文介绍了doxygen INSTALL无法复制文件“ ... / doxygen / build / bin / doxygen”。到“ / usr / local / bin / doxygen”;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 在解决了一些初始问题后,尝试使doxygen起作用时,我在遵循 doxygen安装教程。 到目前为止有效: git克隆https://github.com/doxygen/doxygen.git cd doxygen mkdir版本 cd版本 sudo apt-get install flex (它丢失了,所以我不得不在 cmake 之前安装它) sudo apt-get install bison (它丢失了,所以我必须在 cmake 之前安装它) cmake -G Unix Makefiles .. makeAfter solving some initial problems while trying to get doxygen to work I stumbled upon the next error while following the doxygen install tutorial.What worked so far:git clone https://github.com/doxygen/doxygen.gitcd doxygenmkdir buildcd buildsudo apt-get install flex (it was missing so I had to install it before cmake)sudo apt-get install bison(it was missing so I had to install it before cmake)cmake -G "Unix Makefiles" ..make但随后在进行安装时出现以下错误:But then on make install I get following error:test@test-VirtualBox:~/doxygen/build$ make install[ 1%] Built target md5[ 19%] Built target qtools[ 24%] Built target vhdlparser[ 92%] Built target _doxygen[ 98%] Built target doxycfg[100%] Built target doxygenInstall the project...-- Install configuration: ""-- Installing: /usr/local/bin/doxygenCMake Error at src/cmake_install.cmake:42 (file): file INSTALL cannot copy file "/home/test/doxygen/build/bin/doxygen" to "/usr/local/bin/doxygen".Call Stack (most recent call first): cmake_install.cmake:40 (include)Makefile:148: recipe for target 'install' failedmake: *** [install] Error 1我做了哪些步骤 Edit 我检查了两条路径,第一个存在,并且另一个具有以下权限: Edit I checked the two paths, the first one exists and the other one has following permissions:test@test-VirtualBox:/usr/local$ ls -latotal 44drwxr-xr-x 11 root root 4096 Apr 2 00:03 .drwxr-xr-x 11 root root 4096 Feb 28 19:35 ..drwxr-xr-x 2 root root 4096 Feb 28 19:25 bin推荐答案关于安装,在以下情况下还要检查目标目录的权限(默认为/ usr / local / bin)没有正确的权限使用: sudo make installRegarding the installation, check also the permissions of the destination directory (default /usr/local/bin) when not the right permissions use:sudo make install 这篇关于doxygen INSTALL无法复制文件“ ... / doxygen / build / bin / doxygen”。到“ / usr / local / bin / doxygen”;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-16 09:28
查看更多