fractaloop/libv8 — Issue #25: Python Not Found
Author: dvereber
Created: 2011-12-02 00:43:59+00:00
State: open

Hi all, I am still coming up to speed with this whole rails/gems thing. I am trying to bundle install to get therubyracer working when bundeler says:

> Installing libv8 (3.3.10.4) with native extensions
> Gem::Installer::ExtensionBuildError: 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!

I then installed python....C:\Python32\
Gem files will remain installed in C:/triton2/execjs/ruby/1.9.1/gems/libv8-3.3.10.4 for inspection.
Results logged to C:/triton2/execjs/ruby/1.9.1/gems/libv8-3.3.10.4/ext/libv8/gem_make.out
An error occured while installing libv8 (3.3.10.4), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.3.10.4'` succeeds before bundling.