Comments (3)
So, did you take a look at the log file?
from ruby-build.
ree
~ $ tail /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021151712.1055.log
- To install Zlib development headers:
Please download it from http://www.zlib.net/ - To install OpenSSL development headers:
Please download it from http://www.openssl.org/ - To install GNU Readline development headers:
Please download it from http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
But I have zlib, openssl and readline installed
1.9.3-rc1
~ $ tail /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021152331.1268.log
x ruby-1.9.3-rc1/win32/win32.c
x ruby-1.9.3-rc1/win32/winmain.c
/var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021152331.1268/ruby-1.9.3-rc1 /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021152331.1268 ~
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type... x86_64-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021152331.1268/ruby-1.9.3-rc1': configure: error: C compiler cannot create executables See
config.log' for more details
~ $ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
from ruby-build.
I believe this is because you're using Xcode 4.2, which no longer ships with GCC. You need GCC in order to build most versions of Ruby.
You can find GCC binary packages for OS X here: https://github.com/kennethreitz/osx-gcc-installer/downloads
from ruby-build.
Related Issues (20)
- OpenSSL version check fails HOT 1
- `print_command()` prints odd output v20231107 HOT 4
- Old Ruby, mismatched OpenSSL HOT 4
- Build fails on Alpine as BusyBox wget does not support --show-progress HOT 3
- Using CRuby snapshot archives instead of building from git HOT 8
- Ruby compilation broken for Ruby < 2.5
- Add option to not link against Homebrew openssl HOT 5
- ruby-build -l yields different output from rbenv install --list HOT 5
- Can we skip installing readline when Ruby version is greater than 3.3.0? HOT 3
- Giving multiple optflags raises unrecognized option error. HOT 3
- Cannot install Ruby versions 2.6 using asdf
- can't install 3.2.3 ruby version from rbenv
- ruby-build: definition not found: 3.3.0.rc1 HOT 3
- Wiki open to edits HOT 2
- Ruby 2.2.10 install fails due to OpenSSL issue HOT 3
- RUBY_BUILD_MIRROR_URL ignored HOT 7
- Can't upgrade above 20211019 via brew on macos HOT 3
- 3.3.1 fails to build YJIT with Homebrew LLVM 18 HOT 7
- install command prompts in non-interactive shell HOT 1
- Failure to detect bz2 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-build.