Created
July 22, 2011 00:14
-
-
Save lucascaton/1098549 to your computer and use it in GitHub Desktop.
Segmentation fault in (RVM) REE installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It looks like the source is already configured. | |
Skipping configure script... | |
/usr/bin/gcc -dynamiclib system_allocator.c -install_name @rpath/libsystem_allocator.dylib -o libsystem_allocator.dylib | |
mkdir -p .ext/common | |
make PREINCFLAGS='-I/opt/local/include' PRELIBS='-L/opt/local/lib -Wl,-rpath,/Users/caton/.rvm/rubies/ree-1.8.7-2011.03/lib -L/Users/caton/.rvm/rubies/ree-1.8.7-2011.03/lib -lsystem_allocator' | |
./ext/purelib.rb:2: [BUG] Segmentation fault |
A combination of the above discussed options worked for me.
sudo port -v install apple-gcc42
and then
export CC=/opt/local/bin/gcc-apple-4.2
then finally
rvm reinstall ree-1.8.7-2011.02 --force
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@maletor
if is not Ruby so much as it is llvm Apple's replacement to the tried and true gcc compiler.