Col*_*ass 5 doxygen cmake ubuntu-14.04
在尝试使 doxygen 工作时解决了一些初始问题后,我在遵循doxygen 安装教程时偶然发现了下一个错误。
到目前为止什么工作:(
git clone https://github.com/doxygen/doxygen.git
cd doxygen
mkdir build
cd build
sudo apt-get install flex它丢失了所以我之前必须安装它cmake)
sudo apt-get install bison(它丢失了所以我之前必须安装它cmake)
cmake -G "Unix Makefiles" ..
make
但是后来make install我收到以下错误:
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 doxygen
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/doxygen
CMake 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' failed
make: *** [install] Error 1
Run Code Online (Sandbox Code Playgroud)
我可能需要采取哪些步骤来消除此错误?
编辑我检查了两个路径,第一个存在,另一个具有以下权限:
test@test-VirtualBox:/usr/local$ ls -la
total 44
drwxr-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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3190 次 |
| 最近记录: |