2013-01-21 2 views
1

우분투 12.04에는 theruraracer-heroku를 설치할 수 없습니다. 인터넷에서 한 두 곳의 다른 장소에서이 오류를 보았지만 해결 방법은 없습니다. 내가 실행 명령은 다음과 같습니다 도와주세요우분투에 therubyracer-heroku를 설치할 수 없습니다.

src/bootstrapper.cc: In static member function 'static bool v8::internal::Genesis::CompileScriptCached(v8::internal::Vector<const char>, v8::internal::Handle<v8::internal::String>, v8::internal::SourceCodeCache*, v8::Extension*, v8::internal::Handle<v8::internal::Context>, bool)': 
src/bootstrapper.cc:1002:18: error: variable 'result' set but not used [-Werror=unused-but-set-variable] 
src/bootstrapper.cc: In member function 'bool v8::internal::Genesis::InstallNatives()': 
src/bootstrapper.cc:1227:24: error: variable 'name' set but not used [-Werror=unused-but-set-variable] 
cc1plus: all warnings being treated as errors 
scons: *** [obj/release/bootstrapper.o] Error 1 
scons: building terminated because of errors. 
make: *** [build/v8/libv8.a] Error 2 
*** 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=/usr/bin/ruby1.8 
extconf.rb:9: Error compiling V8 (RuntimeError) 

:

sudo gem install therubyracer-heroku -v '0.8.1.pre3' 

출력이 긴, 이들은 (오류를 포함) 마지막 몇 줄은! 감사합니다

답변

2

닉,

therubyracer-에게 Heroku와 therubyracer 버전 0.8.1 고대합니다. 그것을 가장 최근에 출시, 현재 버전을 therubyracer의 일반 버전을 사용하여 보시기 바랍니다 0.11.3

gem install therubyracer 

또는, 당신은 당신이 특정 버전

gem install therubyracer -v 0.11.3 
에 충실해야한다 생각한다면
관련 문제