Note that there are some explanatory texts on larger screens.

plurals
  1. POrvm install 1.8.7 (snow leopard) make.log error
    text
    copied!<p>I'm installing ruby 1.8.7 with rvm on a new macbook pro. I'm on 10.6.8 and I have xcode 4.0.2. RVM is up. I can install 1.9.2 with no problems. But when I try 1.8.7 I get an error:</p> <pre><code>ERROR: Error running 'make ', please read /Users/brentw/.rvm/log/ruby-1.8.7-p352/make.log ERROR: There has been an error while running make. Halting the installation. </code></pre> <p>In the make.log file the last few lines read:</p> <pre><code>ld: warning: ignoring file ../../../libruby.dylib, file was built for unsupported file format which is not the architecture being linked (i386) compiling win32ole compiling zlib making ruby /usr/bin/gcc-4.2 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -L. -arch i386 -arch x86_64 -bind_at_load main.o -lruby -lpthread -ldl -lobjc -o ruby ld: warning: ignoring file ./libruby.dylib, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols for architecture i386: "_ruby_init_stack", referenced from: _main in main.o "_ruby_init", referenced from: _main in main.o "_ruby_options", referenced from: _main in main.o "_ruby_run", referenced from: _main in main.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/ay/aypnf68iFrumAawnjs+96FjhQuk/-Tmp-//cc7BuLDX.out (No such file or directory) make[1]: *** [ruby] Error 1 make: *** [all] Error 2 </code></pre> <p>I've been searching all over the place, trying multiple things but I can't seem to get 1.8.7 up. I tried different patches (though probably not all), tried installing ree instead, installed rvm readline, tried "rvm install 1.8.7 -C --with-arch=x86_64, --with-readline-dir=$rvm_path/usr"... no luck...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload