小编gen*_*ral的帖子

安装libv8 3.11.8.3时出错

我正在运行全新安装的OSX 10.9 Mavericks和XCode 5.0.1.当我试图在我的项目中运行bundle install时,它无法安装libv8 gem.这是输出:

ERROR:  Error installing libv8:
        ERROR: Failed to build gem native extension.

        /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
    creating Makefile
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Unable to find a compiler officially supported by v8.
    It is recommended to use GCC v4.4 or higher
    Using compiler: g++
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/user1/.rvm/gems/ruby-1.9.3-p448/gems/libv8-3.11.8.3/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o has no symbols
    In file included from ../src/accessors.cc:28:
    In file included from ../src/v8.h:60:
    In file included from ../src/objects-inl.h:38:
    In file included from ../src/elements.h:33:
    In file included from ../src/heap.h:41:
    ../src/store-buffer.h:229:9: error: private …
Run Code Online (Sandbox Code Playgroud)

ruby macos gcc libv8 osx-mavericks

7
推荐指数
2
解决办法
3803
查看次数

标签 统计

gcc ×1

libv8 ×1

macos ×1

osx-mavericks ×1

ruby ×1