johnson icon indicating copy to clipboard operation
johnson copied to clipboard

Can't install 2.0.0.pre3 on windows

Open citizenmatt opened this issue 14 years ago • 7 comments

Johnson fails to install on windows, using 2.0.0.pre3, ruby 1.8.7, the 4.5.0 devkit and running on 64 bit Windows 7. It appears to be trying to run the "configure" script for spidermonkey, and Windows doesn't seem to like it.

Thanks Matt

gem install -v 2.0.0.pre3 johnson Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing johnson: ERROR: Failed to build gem native extension.

C:/Ruby187/bin/ruby.exe 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=C:/Ruby187/bin/ruby extconf.rb:27: could not run configure (RuntimeError) from extconf.rb:23:in `chdir' from extconf.rb:23

Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3 for inspection. Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3/ext/tracemonkey/gem_make.out

citizenmatt avatar Oct 22 '10 07:10 citizenmatt

Don't think any of us have had the need to have Johnson run on windows. It you want to try and can come up with a patch, that'd be great.

smparkes avatar Oct 22 '10 15:10 smparkes

Anyone haves a solution? I'm trying to install on windows7 (same configuration and version as above) too with no success...

MartinPessoa avatar Feb 05 '11 20:02 MartinPessoa

I'm trying to install on Windows 7 32bit with Ruby 1.9.3, also no success.

Sprachprofi avatar Apr 16 '12 08:04 Sprachprofi

I have the same issue, anyone have the solution. thanks in advance.

chorylee avatar Mar 20 '13 23:03 chorylee

I have the same issue exactly on Mevricks (MAC OS). :(

LitalFiverr avatar Dec 15 '13 14:12 LitalFiverr

@LitalFiverr I'd guess you're seeing a somewhat different compiler error... more like http://stackoverflow.com/questions/20051330/cant-install-ruby-gem-johnson, perhaps?

What's your ruby version?

matthewd avatar Dec 16 '13 05:12 matthewd

:+1:

AnthonyMastrean avatar Jan 22 '14 16:01 AnthonyMastrean