2011-08-31 73 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