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

Try Install ree-1.8.7-2011.03 and 1.9.3.-rc1 - BUILD FAILED #71

Closed
danieldocki opened this issue Oct 21, 2011 · 3 comments
Closed

Try Install ree-1.8.7-2011.03 and 1.9.3.-rc1 - BUILD FAILED #71

danieldocki opened this issue Oct 21, 2011 · 3 comments

Comments

@danieldocki
Copy link

~ $ rbenv install ree-1.8.7-2011.03
Downloading http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz...
Installing ruby-enterprise-1.8.7-2011.03...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021133605.1745
Results logged to /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021133605.1745.log

and 1.9.3-rc1 is same case

@sstephenson
Copy link
Contributor

So, did you take a look at the log file?

@danieldocki
Copy link
Author

ree

~ $ tail /var/folders/v1/wfk93jv14q1_9hxlhs4f0qfh0000gn/T/ruby-build.20111021151712.1055.log

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 Seeconfig.log' for more details

~ $ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]

@sstephenson
Copy link
Contributor

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

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