Post by Gonzalo GarramunoThanks to the help of William Lash, IFMapper has now been updated to
work with ruby v2.X. The version is now v2.0.1. It is not backwards
compatible with ruby 1.8, so therefore the jump in version number.
The changes include a bug fix to the GUEMap reader and a fix to the
multithreading of ruby 2.0.
$ gem install -r ifmapper
Thanks and sorry this took so long.
First of all, it got nowhere without sudo.
Second, this is what it did with sudo.
server:~ John$ sudo gem install -r ifmapper
Password:
Fetching: rake-compiler-0.7.9.gem (100%)
Successfully installed rake-compiler-0.7.9
Fetching: mini_portile-0.6.2.gem (100%)
Successfully installed mini_portile-0.6.2
Fetching: fxruby-1.6.34.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing ifmapper:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
extconf.rb
*** 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=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
--with-fox-dir
--without-fox-dir
--with-fox-include
--without-fox-include=${fox-dir}/include
--with-fox-lib
--without-fox-lib=${fox-dir}/
--with-fxscintilla-dir
--without-fxscintilla-dir
--with-fxscintilla-include
--without-fxscintilla-include=${fxscintilla-dir}/include
--with-fxscintilla-lib
--without-fxscintilla-lib=${fxscintilla-dir}/
--enable-win32-cross
--disable-win32-cross
extconf.rb:32:in `find_installed_fox_version': couldn't find FOX header
files (RuntimeError)
from extconf.rb:344:in `<main>'
Gem files will remain installed in
/Library/Ruby/Gems/2.0.0/gems/fxruby-1.6.34 for inspection.
Results logged to
/Library/Ruby/Gems/2.0.0/gems/fxruby-1.6.34/ext/fox16_c/gem_make.out
server:~ John$
--
John W Kennedy
"Compact is becoming contract,
Man only earns and pays."
-- Charles Williams. "Bors to Elayne: On the King's Coins"