Hallo,
I try to install the ruby building tool buildr with rubygems on Windows
XP.
When I type “gem install buildr” within the console I get following
error message:
Building native extensions. This could take a while…
ERROR: Error installing rjb:
ERROR: Failed to build gem native extension.
C:/Programme/ruby/bin/ruby.exe extconf.rb install rjb
checking for jni.h… no
*** 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
–srcdir=.
–curdir
–ruby=C:/Programme/ruby/bin/ruby
Gem files will remain installed in
C:/Programme/ruby/lib/ruby/gems/1.8/gems/rjb-
1.1.3 for inspection.
Results logged to
C:/Programme/ruby/lib/ruby/gems/1.8/gems/rjb-1.1.3/ext/gem_mak
e.out
I know that buildr needs native C extensions, but according to the
official buildr homepage
“http://incubator.apache.org/buildr/getting_started.html#windows” you
should be asked on which platform buildr should be installed and on
mswin32 buildr should come with precompiled dlls. But I wasn’t asked!
Even when I type “gem install buildr --platform mswin32” the same error
occures.
Is there anybody with experience in installing buildr on Windows?
Thank you for your help.
maxxo