简体   繁体   中英

permission denied error when I run make install to get setup with doxygen

I am following the steps from the doxygen online documentation to get doxygen up and running on OS X 10.7.5. I successfully cloned the repo, ran ./configure and make and then skipped the part that said make distclean . When I try to run make install I get the following error:

akh2103: make install
/usr/bin/install -d //usr/local/bin
install: chmod 755 //usr/local/bin: Operation not permitted
/usr/bin/install -m 755 bin/doxygen        //usr/local/bin
install: //usr/local/bin/doxygen: Permission denied
make: *** [install] Error 71
  1. I am new to linux/open source development (from .NET) and I'm assuming that making (creating the binary) is different from installing the built code. So I am assuming that I need to run make install even if I am not running the make distclean commands
  2. Assuming I need to run make install how do I go about debugging/getting around this error.

如果要在/ usr / local / bin中安装某些内容,请尝试sudo make install ,或使用configure的--prefix选项将其安装到可写位置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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