无法为此处文档创建临时文件,使用 rvm 安装 ruby 1.9.2
rvm安装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。这真的(希望)不重要。还有其他人遇到过这个错误吗?
rvm install 1.9.2
gives:
[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
I am running Fedora 16 Alpha. That really (hopefully) shouldn't matter. Has anyone else encountered this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查 /tmp 文件夹的权限是否为 1777(八进制)。
Check your permissions for your /tmp folder are 1777 (octal).