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

Can't install 2.0.0-rc2 #288

Closed
frodsan opened this Issue Feb 12, 2013 · 9 comments

Comments

Projects
None yet
3 participants
@frodsan
Copy link
Contributor

frodsan commented Feb 12, 2013

$ rbenv install 2.0.0-rc2
Downloading openssl-1.0.1e.tar.gz...
-> https://www.openssl.org/source/openssl-1.0.1e.tar.gz
Installing openssl-1.0.1e...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212134232.22481
Results logged to /var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212134232.22481.log

Last 10 log lines:
x openssl-1.0.1e/VMS/TODO
x openssl-1.0.1e/VMS/ucx_shr_decc_log.opt
x openssl-1.0.1e/VMS/ucx_shr_decc.opt
x openssl-1.0.1e/VMS/ucx_shr_vaxc.opt
x openssl-1.0.1e/VMS/VMSify-conf.pl
x openssl-1.0.1e/VMS/WISHLIST.TXT
/var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212134232.22481/openssl-1.0.1e /var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212134232.22481 ~
Operating system: i686-apple-darwinDarwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Configuring for darwin64-x86_64-cc
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]

Error log: https://gist.github.com/frodsan/4772191

Any thoughts on this?

@jeremy

This comment has been minimized.

Copy link
Member

jeremy commented Feb 12, 2013

Could you go into the build dir and try KERNEL_BITS=64 ./config by hand?

@frodsan

This comment has been minimized.

Copy link
Contributor Author

frodsan commented Feb 12, 2013

btw, I have already installed openssl with brew. So, i tried this but it didn't work:

$ RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` rbenv install 2.0.0-rc2
Downloading ruby-2.0.0-rc2.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz
Installing ruby-2.0.0-rc2...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212142528.65640
Results logged to /var/folders/cy/yn06vn5j6psfz7y2q83xqd7c0000gn/T/ruby-build.20130212142528.65640.log

Last 10 log lines:
    0 enumerator.so

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Abort trap: 6
make: *** Waiting for unfinished jobs....
make: *** [.rbconfig.time] Abort trap: 6

Error log https://gist.github.com/frodsan/4773007

@jeremy

This comment has been minimized.

Copy link
Member

jeremy commented Feb 12, 2013

Betting you're on an older Xcode with outdated clang.

$ clang -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
@frodsan

This comment has been minimized.

Copy link
Contributor Author

frodsan commented Feb 12, 2013

Yes, that was generating the error. Thanks! 😄

@frodsan frodsan closed this Feb 12, 2013

@jeremy

This comment has been minimized.

Copy link
Member

jeremy commented Feb 12, 2013

@sstephenson @sferik we need a minimum clang version check 😢

@sferik

This comment has been minimized.

Copy link
Contributor

sferik commented Feb 12, 2013

👊 😿

Do you know what the minimum version is? Is it >= 4 or is the constraint more precise? What was the last version of Xcode that shipped with that version? What should we do if that constraint is not met? Just output an message to upgrade Xcode with a link to https://developer.apple.com/xcode/?

@jeremy

This comment has been minimized.

Copy link
Member

jeremy commented Feb 12, 2013

I don't know the minimum, unfortunately. @frodsan, what were you running before?

Think it'd be fine to set the bar at current Xcode, in any case.

@frodsan

This comment has been minimized.

Copy link
Contributor Author

frodsan commented Feb 12, 2013

I was running:

$ clang -v
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple
@sferik

This comment has been minimized.

Copy link
Contributor

sferik commented Feb 12, 2013

It looks like LLVM 3.0 was released on December 1, 2011. There was one release (3.1) between that and the latest release on May 22, 2012. It would be nice if we knew whether that version worked or not. I’d rather not require people to upgrade a version of Xcode that is less than a year old unnecessarily, since Xcode a rather large package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.