2013-05-16 2 views
0

rubyracer gem을 설치하려고 시도하면 오류가 발생합니다.rubyracer arm chromebook을 (를) 설치할 수 없습니다.

왜 내가 젬을 이미 다운로드 받았을 때 v8에 대해 불평하는지 잘 모르겠다.

나는 libv8을 설치하는 데 원래의 문제가 있었지만 --system-v8 플래그로 설치하는 것을 관리했지만 지금은 루비 라이서가 불평하고있다.

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. 

    /home/glenn/.rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb 
checking for main() in -lpthread... yes 
checking for v8.h... no 
*** 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=/home/glenn/.rvm/rubies/ruby-1.9.3-p392/bin/ruby 
    --with-pthreadlib 
    --without-pthreadlib 
    --enable-debug 
    --disable-debug 
    --with-v8-dir 
    --without-v8-dir 
    --with-v8-include 
    --without-v8-include=${v8-dir}/include 
    --with-v8-lib 
    --without-v8-lib=${v8-dir}/ 
/home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.17/ext/libv8/location.rb:50:in `configure': You have chosen to use the version of V8 found on your system (Libv8::Location::System::NotFoundError) 
and *not* the one that is bundle with the libv8 rubygem. However, 
it could not be located. please make sure you have a version of 
v8 that is compatible with 3.11.8.17 installed. You may 
need to special --with-v8-dir options if it is in a non-standard 
location 

thanks, 
The Mgmt 

    from /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.17/lib/libv8.rb:7:in `configure_makefile' 
    from extconf.rb:32:in `<main>' 


Gem files will remain installed in /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/therubyracer-0.11.4 for inspection. 
Results logged to /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/therubyracer-0.11.4/ext/v8/gem_make.out 
+0

현재 Windows에서도 사용할 수 없기 때문에 Chrome OS에서는 사용할 수 없다고 생각합니다. (일부 보석은 v8.dll 및 기타 지원을 제공하기 위해 git에서 사용할 수 있음) – swapnesh

+0

gem "therubyracer", : require = > 'v8'이것을 gemfile에 추가하고 – Bijendra

답변

0

난 당신이 크롬 북 (직접 또는 chroot을 통해)에 리눅스 배포판을 사용하고 있다고 가정합니다. 이 올바른지?

그것은 v8.h을 찾고, 그래서 당신은뿐만 아니라 V8 개발 패키지를 설치해야합니다 : 그것은 데비안/우분투 (및 레드햇과 비슷한에 뭔가 -devel)에 libv8-dev입니다.

+0

ah를 확인하십시오. apt-get libv8-dev를 설치 하시겠습니까? – user901790

+0

정확히 그런 것! – threedaymonk