2011-11-09 27 views
1

我想在Ubuntu上安裝野馬(與捆綁安裝)。野馬和V8 - 安裝失敗

我在我的系統上安裝了scons。

我得到以下錯誤:

Installing mustang (0.2.2) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. 

     /home/scope/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb 
checking for main() in -lv8... yes 
checking for main() in -lpthread... yes 
checking for string.h... yes 
checking for ruby.h... yes 
checking for v8.h... yes 
checking for v8-debug.h... yes 
checking for v8-profiler.h... no 
creating Makefile 

make 
g++ -I. -I/home/scope/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/scope/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/scope/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_STRING_H -DHAVE_RUBY_H -DHAVE_V8_H -DHAVE_V8_DEBUG_H -D_FILE_OFFSET_BITS=64 -Wall -g -rdynamic -fPIC -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -o v8_string.o -c v8_string.cpp 
In file included from v8_string.cpp:2: 
v8_cast.h:21: error: ‘RegExp’ was not declared in this scope 
v8_cast.h:21: error: template argument 1 is invalid 
make: *** [v8_string.o] Error 1 
+0

我在Ubtuntu 10.04 –

+0

一個非常類似的問題是在追蹤器中,但它的最後一個條目是2011年6月20日,所以它看起來不會很快就會被修復。 –

+1

Ubuntu版本?你安裝了'libv8-dev'嗎?它適用於我的11.10 Ubuntu的。 –

回答

0

看來,野馬需要libv8版本> = 3.0時,您可能會遇到在issue #14報道了野馬的問題跟蹤器同樣的問題。