-
Notifications
You must be signed in to change notification settings - Fork 780
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
Installing 2.0.0-p0 fails (BUILD FAILED) #309
Comments
@paulschreiber - What failure led you to try |
Because it didn't work without |
OK. This won't work with |
Can you stop playing hot potato and closing bug reports? Let's get the problem fixed. |
Sure. What'd you run into without CC set? |
|
Looks like openssl was built & installed fine, then the ruby extension was configured, but was neither compiled or installed. Could you keep the build dir, then check |
|
Argh. Very informative Perhaps try |
|
Looks like some others have had issues building openssl with
Do you show |
Ah, try |
|
|
Thanks @paulschreiber. One more thing: could you try changing https://github.com/sstephenson/ruby-build/blob/master/bin/ruby-build#L551-L552 from |
That seems to have fixed it. I didn't actually check the results (had to reboot), but |
Great! Committed the change. |
I am still having issues with the current master. It seems to get past the openssl stage but fails later with
Here's the full log. I've succeeded to compile by passing in |
@tadast Can you update to the latest Xcode (install the Command Line Tools) and try again? |
@sferik, I have the latest version of Xcode. I've updated the command line tools as well. ✗ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) I tried |
I'm having the exact same problem as @tadast here. |
17 libdyld.dylib 0x00007fff8a49e7e1 start + 0 -- Other runtime information -----------------------------------------------
[NOTE] /private/var/folders/t4/64nzkdp91g39j1ynt5mjh_4m0000gn/T/ruby-build.20130509222256.98762/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36) -- Crash Report log information -------------------------------------------- -- Control frame information ----------------------------------------------- ./tool/mkconfig.rb:11:in -- C level backtrace information ------------------------------------------- -- Other runtime information -----------------------------------------------
[NOTE] make: *** [.rbconfig.time] Abort trap: 6 |
@tadast @mauriciomdea This is a Ruby 2.0.0 bug: https://bugs.ruby-lang.org/issues/8171 Workaround is to build with clang instead of gcc, or hack around the Ruby typo:
|
Installing 2.0.0 fails, even with CC set manually. Here's the full log:
https://gist.github.com/paulschreiber/5025554
I have Mac OS X 10.8.2 and Xcode 4.6 installed.
And what I saw in console:
The text was updated successfully, but these errors were encountered: