
Hello ruby devs Am trying to install iruby on a windows machine and this error keeps appearing. Am currently doing some deep learning and I need to use sciruby and iruby to perform the actions required PS C:\> gem install irubyTemporarily enhancing PATH to include DevKit...Building native extensions. This could take a while... ERROR: Error installing iruby: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -r ./siteconf20150710-76680-1u0zekx.rb extconf.rb checking for windows.h... yes checking for winsock.h... yes checking for main() in -lkernel32... yes checking for main() in -lrpcrt4... yes checking for main() in -lgdi32... 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=C:/RailsInstaller/Ruby2.1.0/bin/ruby --with-kernel32lib --without-kernel32lib --with-rpcrt4lib --without-rpcrt4lib --with-gdi32lib --without-gdi32lib extconf.rb:49:in `<main>': uninitialized constant GNU_CHAIN (NameError) extconf failed, exit code 1 Gem files will remain installed in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rbczmq-1.7.9 for inspection. Results logged to C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/rbczmq-1.7.9/gem_make.out Please help

Hey Chris, From the output the problem seems to be with the rbczmq gem <https://github.com/methodmissing/rbczmq/issues/41> not iruby. And you can watch this issue on it’s repo (seems you’re not the only one - opened 3 days ago) … https://github.com/methodmissing/rbczmq/issues/41 <https://github.com/methodmissing/rbczmq/issues/41> Maybe you might have some luck on the Nairuby mailing list ... https://groups.google.com/forum/#!forum/nairuby <https://groups.google.com/forum/#!forum/nairuby> — King’ori Maina (kingori.co <http://kingori.co/>)
On 13 Jul 2015, at 2:49 PM, Chris K. Mucheke via skunkworks <skunkworks@lists.my.co.ke> wrote:
Hello ruby devs
Am trying to install iruby on a windows machine and this error keeps appearing. Am currently doing some deep learning and I need to use sciruby and iruby to perform the actions required
PS C:\> gem install iruby Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing iruby: ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -r ./siteconf20150710-76680-1u0zekx.rb extconf.rb checking for windows.h... yes checking for winsock.h... yes checking for main() in -lkernel32... yes checking for main() in -lrpcrt4... yes checking for main() in -lgdi32... 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=C:/RailsInstaller/Ruby2.1.0/bin/ruby --with-kernel32lib --without-kernel32lib --with-rpcrt4lib --without-rpcrt4lib --with-gdi32lib --without-gdi32lib extconf.rb:49:in `<main>': uninitialized constant GNU_CHAIN (NameError)
extconf failed, exit code 1
Gem files will remain installed in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rbczmq-1.7.9 for inspection. Results logged to C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/rbczmq-1.7.9/gem_make.out Please help
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (2)
-
Chris K. Mucheke
-
King'ori Maina