Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing less: Python not found! #15

Closed
jenshedqvist opened this issue Dec 20, 2011 · 2 comments
Closed

Error installing less: Python not found! #15

jenshedqvist opened this issue Dec 20, 2011 · 2 comments

Comments

@jenshedqvist
Copy link

It says nowhere I need python to run this thing on Windows 7 64-bit. Isn't this dependency supposed to be installed automatically?

C:\Users\jens>gem install less
Building native extensions.  This could take a while...
ERROR:  Error installing less:
        ERROR: Failed to build gem native extension.

C:/Ruby192/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:/Ruby192/bin/ruby
Checking for Python...Unable to build libv8: Python not found!


Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4/ext/libv8/gem_make.out

@cowboyd
Copy link
Owner

cowboyd commented Dec 22, 2011

We don't officially support Windows yet.

This is because less.rb depends on therubyracer which does not currently install on Windows. There is work currently going on to remedy this, but until that gets integrated into the main release, you'll have to build therubyracer manually.

@cowboyd cowboyd closed this as completed Dec 22, 2011
@fritzsche
Copy link

I run into the same issue. Any chance to get this running with execjs instead of therubyracer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants