2013-03-13 69 views
-1

嗨我試圖安裝ETHNOS,這是一個編程環境,用於設計由不同機器人,設備和外部監督或控制站組成的實時控制系統。 安裝指令很簡單: CD源 使 make install的cp:無法創建常規文件:

但是當我使用使安裝,然後它說:

cp *.h /usr/include 
cp: cannot create regular file `/usr/include/broadrx.h': Permission denied 
cp: cannot create regular file `/usr/include/broadtx.h': Permission denied 
cp: cannot create regular file `/usr/include/etconst.h': Permission denied 
cp: cannot create regular file `/usr/include/etctlmsg.h': Permission denied 
cp: cannot create regular file `/usr/include/etexpert.h': Permission denied 
cp: cannot create regular file `/usr/include/etkernel.h': Permission denied 
cp: cannot create regular file `/usr/include/etmasks.h': Permission denied 
cp: cannot create regular file `/usr/include/etmemory.h': Permission denied 
cp: cannot create regular file `/usr/include/etmsg.h': Permission denied 
cp: cannot create regular file `/usr/include/etmsgbmb.h': Permission denied 
cp: cannot create regular file `/usr/include/etsubsched.h': Permission denied 
cp: cannot create regular file `/usr/include/ettimer.h': Permission denied 
cp: cannot create regular file `/usr/include/exception.h': Permission denied 
cp: cannot create regular file `/usr/include/libsock.h': Permission denied 
cp: cannot create regular file `/usr/include/mastersocket.h': Permission denied 
cp: cannot create regular file `/usr/include/sockexrx.h': Permission denied 
cp: cannot create regular file `/usr/include/sockextx.h': Permission denied 
cp: cannot create regular file `/usr/include/trace.h': Permission denied 
cp: cannot create regular file `/usr/include/trace_generic.h': Permission denied 
make: *** [install] Error 1 
+0

你試過'sudo make install'嗎? – 2013-03-13 11:25:18

回答

2

您是否嘗試過運行命令爲根?

sudo make install

2

運行make install這根

須藤使安裝

3

您沒有權限創建文件/ usr/include目錄。通常這意味着你需要成爲root用戶。安裝時通常需要運行make; make test; sudo make install。 sudo以超級用戶身份(aka root)運行提供的命令。