小编the*_*Jun的帖子

configure:error:C编译器在安装Ruby 1.9.3时无法创建可执行文件

尝试使用以下命令在Trisquel 6上安装Ruby 1.9.3时出现以下错误 rvm install 1.9.3

错误

Error running './configure
--prefix=/home/joshua/.rvm/rubies/ruby-1.9.3-p448 --disable-install-doc --enable-shared', please read /home/joshua/.rvm/log/1379507772_ruby-1.9.3-p448/configure.log There
has been an error while running configure. Halting the installation.

我的configure.log显示在下面

[2013-09-18 20:36:16] ./configure current path:
/home/joshua/.rvm/src/ruby-1.9.3-p448 command(4): ./configure --prefix=/home/joshua/.rvm/rubies/ruby-1.9.3-p448 --disable-install-doc --enable-shared
checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc...gcc
checking whether the C compiler works... no
configure: error: in `/home/joshua/.rvm/src/ruby-1.9.3-p448': configure: error: C compiler cannot create executables See `config.log' for more details …

c ruby linux gcc ruby-on-rails-3

8
推荐指数
1
解决办法
4万
查看次数

cc:尝试执行'cc1plus'时出错:execvp:没有这样的文件或目录

尝试使用此命令安装perl的Encode :: Detect模块时出现以下错误

perl -MCPAN -e "install Encode::Detect"
Run Code Online (Sandbox Code Playgroud)

错误信息

cc: error trying to exec 'cc1plus': execvp: No such file or directory
Run Code Online (Sandbox Code Playgroud)

perl perl-module

3
推荐指数
1
解决办法
3994
查看次数

为什么 Go 切片不能用作 Go 映射中的键,就像数组用作键一样?

为什么 Go 切片(Go 数组的实现)不能用作 Go 映射中的键,就像数组用作键一样?

arrays dictionary go slice

2
推荐指数
1
解决办法
2606
查看次数

如何使用 Markdown 对同一文档的各个部分进行链接引用,其中标题是带空格的句子?

虽然这有效

1. [Notifier system requirements](#requirements)
Run Code Online (Sandbox Code Playgroud)

这不起作用

1. [Deployment steps](#steps to deployment)
Run Code Online (Sandbox Code Playgroud)

Steps to deploymentrequirements是我的文件中的标题/部分标题README.md

documentation markdown multimarkdown github-flavored-markdown

2
推荐指数
1
解决办法
1135
查看次数