memprof icon indicating copy to clipboard operation
memprof copied to clipboard

Can't build with 1.8.7p330

Open gnufied opened this issue 14 years ago • 5 comments

I get this:


Users/gnufied/.rvm/rubies/ruby-1.8.7-p330/bin/ruby extconf.rb
checking for main() in -lyajl_ext... yes
checking for json/json_gen.h... yes
checking for mach-o/dyld.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include        --without-opt-include=${opt-dir}/include        --with-opt-lib        --without-opt-lib=${opt-dir}/lib        --with-make-prog        --without-make-prog        --srcdir=.        --curdir        --ruby=/Users/gnufied/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
        --with-yajl_extlib
        --without-yajl_extlib
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/Users/gnufied/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
        --with-yajl_extlib
        --without-yajl_extlib
extconf.rb:204: Unsupported platform: ["^error,msg=\"No symbol table is loaded.  Use the \\\"file\\\" command.\"", "^error,msg=\"No struct type named heaps_slot.\"", "^error,msg=\"No symbol table is loa
ded.  Use the \\\"file\\\" command.\"", "^error,msg=\"No symbol table is loaded.  Use the \\\"file\\\" command.\"", "^error,msg=\"No symbol table is loaded.  Use the \\\"file\\\" command.\"",

gnufied avatar Jan 08 '11 17:01 gnufied

I had this problem on OSX too. I was using RVM and had run the cleanup command which wiped out the source/debug symbols. Reinstalling that ruby fixed it.

brianmario avatar Apr 12 '11 02:04 brianmario

I have the same problem. I've installed REE by classic ./configure && make install.

radarek avatar Jun 10 '11 09:06 radarek

Have the same problem on Mac OS X 10.7, Ruby 1.8.7-head from rvm. Latest XCode installed.

nvkv avatar Jul 23 '11 17:07 nvkv

Anyone find work around to this problem on snow leopard?

jnylund avatar Sep 02 '11 19:09 jnylund

I'm still having this issue as well. Lion + latest xcode + rbenv

coderberry avatar Oct 12 '11 18:10 coderberry