Discussion:
IFMapper v2.0.1
(too old to reply)
Gonzalo Garramuno
2016-06-25 16:43:55 UTC
Permalink
Thanks 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.

Please grab the gem, with:

$ gem install -r ifmapper

Thanks and sorry this took so long.
John W Kennedy
2016-06-25 17:04:48 UTC
Permalink
Post by Gonzalo Garramuno
Thanks 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"
Gonzalo Garramuno
2016-06-25 21:16:50 UTC
Permalink
Post by John W Kennedy
/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.
Dear John,

Indeed sudo is needed. Your compilation seems to fail because you probably don't have the FOX library compiled and installed. You should check the mkmf.log for more info.

You need to compile the same version that the FXRuby library is.

For Fox, go to:

www.fox-toolkit.org

I am not very familiar with Macs so I cannot help you with install instructions for Fox. Maybe you can get it compiled already from some mac binary repository.
Otto Grimwald
2016-07-01 20:28:46 UTC
Permalink
hello,

thanks for this update for IFMapper. I managed to get it on linux, after
installing fox, ruby2 and the devel lib for ruby.

Loading...