无法为此处文档创建临时文件,使用 rvm 安装 ruby​​ 1.9.2

发布于 2024-12-02 08:49:09 字数 1650 浏览 2 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷默言语 2024-12-09 08:49:09

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

Check your permissions for your /tmp folder are 1777 (octal).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文