Fatal error when installing the package (when installing libv8)

I am working on windows7 (32-bit) and I get an error message when installing the package:

Installing libv8 (3.3.10.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

       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! 

Therefore, I cannot complete the installation of the package.

+5
source share
4 answers

Install ActivePython version 2.7.2.5, then run:

gem install libv8 --version 3.11.8.0

to install libv8 on Windows, the latest version 3.11.8.3 cannot work on Windows, but 3.11.8.0 can on Windows 7.

+6
source

On Windows 7 with ruby193, I installed python27, I added the python folder to the PATH variable, I wrote gem install libv8 in the console, and libv8 was successfully installed

+5
source

python, libv8, , Python,

0
source

I opened question 29 on github and I found out that libv8 is not supported on Windows. therefore there is no solution for error. You can simply change your platform.

0
source

All Articles