[英]fatal error while bundle install (while installing libv8)
我在windows7(32位)上工作,我在安裝捆綁時遇到錯誤;
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!
所以我無法完成“捆綁安裝”。
安裝ActivePython版本2.7.2.5,然后運行:
gem install libv8 --version 3.11.8.0
要在Windows中安裝libv8,最新版本3.11.8.3無法在Windows中運行,但3.11.8.0可以在Windows 7中運行。
在Windows 7上,我用ruby193安裝了python27,我在PATH變量中添加了python的文件夾,我在控制台中編寫了gem install libv8,並成功安裝了libv8
您需要安裝python,因為libv8似乎依賴於Python,您可以在項目統計中看到
我在github上打開了第29期 ,我了解到windows上不支持libv8。 所以沒有解決錯誤的方法。 只是你可以改變你的平台。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.