无法为here-document创建临时文件,使用rvm安装ruby 1.9.2

时间:2011-08-31 05:08:14

标签: ruby install rvm fedora ruby-1.9.2

  

rvm install 1.9.2

给出:

[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。那真的(希望)应该不重要。还有其他人遇到过这个错误吗?

1 个答案:

答案 0 :(得分:7)

检查/ tmp文件夹的权限是1777(八进制)。