Привет вот мой лог консоли,камня установить therubyracer -v «0.12.0» на OSX Yosemite не работает
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/Users/user/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for main() in -lobjc... 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
--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=/Users/user/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
--with-pthreadlib
--without-pthreadlib
--with-objclib
--without-objclib
--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}/
/Users/user/.rvm/gems/[email protected]/gems/libv8-3.16.14.3/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.16.14.3 installed. You may
need to special --with-v8-dir options if it is in a non-standard
location
thanks,
The Mgmt
from /Users/user/.rvm/gems/[email protected]/gems/libv8-3.16.14.3/lib/libv8.rb:7:in `configure_makefile'
from extconf.rb:32:in `<main>'
Gem files will remain installed in /Users/user/.rvm/gems/[email protected]/gems/therubyracer-0.12.1 for inspection.
Results logged to /Users/user/.rvm/gems/[email protected]/gems/therubyracer- 0.12.1/ext/v8/gem_make.out
FDLMC060:helpkit user$
Я пробовал много ссылок, которые устанавливают libv8 через доморощенный, а затем попытались установить therubyracer но нет помощи.
и я попробовал эту ссылку, а ..
How to install therubyracer gem on 10.10 Yosemite?
но ошибки при забросил установке v8 себя.
переключатель --with-система-v8 устанавливает libv8 , но его установка не therubyracer -v '0.12.0'
OS -> OS X Yosemite
установлен яблочно-НКУ 4,2
и произведен экспорт по CC, CXX
Пожалуйста, помогите мне исправить это.
Я пробовал это .. но не помогал .. и я установил libv8 с опцией --with-system-v8 и дал расположение жука libv8 как -with-v8-dir =/Users/user/.rvm/gems/ruby-1.9.3-p448 @ projVer2.3/gems/libv8-3.16.14.3/ – sarathprasath