1
우분투에 mustang (번들 설치 포함)을 설치하려고합니다.mustang 및 v8 - 설치 실패
시스템에 스콘을 설치했습니다.
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
저는 Ubuntu 10.04입니다. –
매우 비슷한 문제는 추적기에 있지만 마지막 항목은 20/20/2011이므로 곧 수정 될 것으로 보입니다. –
우분투 버전? 'libv8-dev'를 설치 했습니까? 11.10 우분투에서 작동합니다. –