A
Alexandre Alex
Hi everybody...!
I'm having some trouble with mkmf.
I'm on Ruby 1.9.1, Windows
Each time I try to use have_library (pretty sure it's not the only
method that doesn't work..), it raises errors:
C:/ruby191/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:723:in `block in
have_library'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:668:in `block in
checking_for'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels)
in postp
one'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:274:in `block in
postpone'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:718:in `have_library'
from extconf.rb:6:in `<main>'
-----
I wonder why? And if it is really caused by the fact that development
tools are missing, how do we install them? Never heard of such a thing
before.
Hope someone can help me.
Thank you very much
I'm having some trouble with mkmf.
I'm on Ruby 1.9.1, Windows
Each time I try to use have_library (pretty sure it's not the only
method that doesn't work..), it raises errors:
C:/ruby191/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:723:in `block in
have_library'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:668:in `block in
checking_for'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels)
in postp
one'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:274:in `block in
postpone'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from C:/ruby191/lib/ruby/1.9.1/mkmf.rb:718:in `have_library'
from extconf.rb:6:in `<main>'
-----
I wonder why? And if it is really caused by the fact that development
tools are missing, how do we install them? Never heard of such a thing
before.
Hope someone can help me.
Thank you very much