Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装不成功出错 #11

Open
130185830 opened this issue Feb 21, 2017 · 2 comments
Open

安装不成功出错 #11

130185830 opened this issue Feb 21, 2017 · 2 comments

Comments

@130185830
Copy link

用的 你提供的sh. 但还是出错.
ruby-2.3.1/thread.c
ruby-2.3.1/encindex.h
ruby-2.3.1/regcomp.c
ruby-2.3.1/CONTRIBUTING.md
ruby-2.3.1/GPL
ruby-2.3.1/vmtc.inc
ruby-2.3.1/probes_helper.h
ruby-2.3.1/ruby_atomic.h
checking for ruby... /usr/bin/ruby
downloader.rb:180: private method class_variable_set' called for Downloader:Class (NoMethodError) checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in /root/ruby-2.3.1':
configure: error: no acceptable C compiler found in $PATH
See config.log' for more details make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target install'. Stop.
sudo: gem: command not found

应该是少gem 安装了 rubygems 还是不行. 对了还有就是.在用脚本前先要安装git. 要不然不会git clone
我系统是centos6.8 默认没有安装git

@timlentse
Copy link
Owner

不好意思啊,脚本没考虑周全,执行这脚本前提是默认你安装了linux下的一些必备的依赖的,从这个报错信息来看是没有找到gcc编译器,安装gcc并且把路径加到环境变量里面,当然你应该还会遇到其他依赖的问题,所以保险起见 可以这么干 sudo yum groupinstall Development Tools

@timlentse
Copy link
Owner

@130185830 看上面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants