2011-08-31 71 views
2

RVM安裝1.9.2不能在這裏文檔創建的臨時文件,安裝Ruby 1.9.2與RVM

給出:

[2011-08-31 00:54:45] ./configure --prefix=/home/pklingem/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/home/pklingem/.rvm/usr 
configure: WARNING: unrecognized options: --with-libyaml-dir 
./configure: line 2307: cannot create temp file for here-document: Invalid argument 
./configure: line 2319: cannot create temp file for here-document: Invalid argument 
./configure: line 2354: cannot create temp file for here-document: Invalid argument 
./configure: line 2516: cannot create temp file for here-document: Invalid argument 
./configure: line 2520: cannot create temp file for here-document: Invalid argument 
./configure: line 2524: cannot create temp file for here-document: Invalid argument 
./configure: line 2528: cannot create temp file for here-document: Invalid argument 
./configure: line 2532: cannot create temp file for here-document: Invalid argument 
./configure: line 2536: cannot create temp file for here-document: Invalid argument 
checking build system type... x86_64-unknown-linux-gnu 
checking host system type... x86_64-unknown-linux-gnu 
checking target system type... x86_64-unknown-linux-gnu 
checking for gcc... gcc 
./configure: line 3356: cannot create temp file for here-document: Invalid argument 
checking whether the C compiler works... no 
sed: can't read conftest.c: No such file or directory 
configure: error: in `/home/pklingem/.rvm/src/ruby-1.9.2-p290': 
configure: error: C compiler cannot create executables 
See `config.log' for more details 

我運行Fedora 16的Alpha。這真的(希望)沒有關係。有沒有其他人遇到這個錯誤?

回答

7

檢查您的/ tmp文件夾的權限是1777(八進制)。

+0

你可能是對的。我跑了一些更新並重新設置了1.9.2設置,一切都很好。謝謝! –

+0

你絕對是對的。我正在玩tmpfs(RAM),並且我讀過的指南建議使用1755,它使終端中的自動完成無用... – Ajax