libv8

In V8 why does Isolate::GetCurrent() return NULL?

喜夏-厌秋 提交于 2019-12-04 16:25:45
I have compiled V8 on Ubuntu and have a very simple V8 program called isolate_test.cc. It is based on the Hello World example from Google : #include <v8.h> using namespace v8; int main(int argc, char* argv[]) { V8::initialize(); Isolate* isolate = Isolate::GetCurrent(); //Always returns NULL return 0; } The command I use to compile this program is: g++ -Iinclude -g isolate_test.cc -o isolate_test -Wl,--start-group out/x64.debug/obj.target/{tools/gyp/libv8_{base,snapshot},third_party/icu/libicu{uc,i18n,data}}.a -Wl,--end-group -lrt -lpthread Problem is Isolate::GetCurrent() always returns NULL

Error when installing libv8 3.11.8.3

随声附和 提交于 2019-12-01 04:03:14
I'm running fresh install of OSX 10.9 Mavericks and XCode 5.0.1. When i'm trying to run bundle install in my project it fails on installing libv8 gem. Here's the output: ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb creating Makefile Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher Using compiler: g++ /Applications/Xcode.app/Contents

Error when installing libv8 3.11.8.3

♀尐吖头ヾ 提交于 2019-12-01 01:11:24
问题 I'm running fresh install of OSX 10.9 Mavericks and XCode 5.0.1. When i'm trying to run bundle install in my project it fails on installing libv8 gem. Here's the output: ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb creating Makefile Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Unable to find a compiler officially supported by v8.

therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension

一曲冷凌霜 提交于 2019-11-28 15:27:30
I'm trying to install the following gem versions on Mavericks libv8 (3.16.14.3) therubyracer (0.12.1) Obviously therubyracer gems depends on libv8. 1) Installing libv8 What is libv8? My bit of research seems to indicaite it's some sort of javascript library used by Google Chrome? I was having trouble installing it, but this great post had both my error and a well-explained answer on how to bypass it. So I installed libv8 with gem install libv8 -- --with-system-v8 It's my understanding that this installs the gem but uses my local system installation of the v8 library instead of... the version

Installing libv8 gem on OS X 10.9+

自古美人都是妖i 提交于 2019-11-27 09:58:08
I'm trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125. This is the output of running the command 'gem install libv8': ~/src(branch:master) » gem install libv8 Fetching: libv8-3.16.14.3.gem (100%) Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/me/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb creating Makefile Compiling v8 for x64 Using python 2.7.5 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx

gem install libv8 --version '3.11.8.17' on ruby (windows)

主宰稳场 提交于 2019-11-27 03:01:15
The problem is as following. Error installing libv8: ERROR: Failed to build gem native extension. D:/Ruby193/bin/ruby.exe extconf.rb creating Makefile The system can not find the specified path D:Ruby193/lib/ruby/gems/1.9.1/gems/libv8-3.11.8.17/ext/libv8/builder.rb:49:in'setup_python!':libv8 requires python 2 to be installed in order to build,but it is currently not available (RuntimeError) from D:Ruby193/lib/ruby/gems/1.9.1/gems/libv8-3.11.8.17/ext/libv8/builder.rb:35:in 'block in build_libv8!' from D:Ruby193/lib/ruby/gems/1.9.1/gems/libv8-3.11.8.17/ext/libv8/builder.rb:34:in 'chdir' from D

Error installing libv8: ERROR: Failed to build gem native extension

纵饮孤独 提交于 2019-11-26 19:14:58
I made a rails project with, rails new test_bootstrap. succeeded. moved to the project dir and added the gems gem "therubyracer" gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS gem "twitter-bootstrap-rails" and run bundle install after that, i have this error. Installing libv8 (3.16.14.3) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb creating Makefile 지정된 경로를 찾을 수 없습니다. 지정된 경로를 찾을 수 없습니다. 지정된 경로를 찾을 수 없습니다. c:/RailsInstaller/Ruby1.9.3/lib/ruby/ge ms/1.9.1/gems/libv8-3

Error installing libv8: ERROR: Failed to build gem native extension

為{幸葍}努か 提交于 2019-11-26 12:16:33
问题 I made a rails project with, rails new test_bootstrap. succeeded. moved to the project dir and added the gems gem \"therubyracer\" gem \"less-rails\" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS gem \"twitter-bootstrap-rails\" and run bundle install after that, i have this error. Installing libv8 (3.16.14.3) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb creating Makefile 지정된 경로를 찾을