Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 安装rice gem时出错_Ruby On Rails_Ruby_Gem_Bundle_Ruby Rice - Fatal编程技术网

Ruby on rails 安装rice gem时出错

Ruby on rails 安装rice gem时出错,ruby-on-rails,ruby,gem,bundle,ruby-rice,Ruby On Rails,Ruby,Gem,Bundle,Ruby Rice,我正试图通过Ubuntu12.4中的ruby 1.9.3安装ricegem,但我得到了: An error occurred while installing rice (1.4.2), and Bundler cannot continue. Make sure that `gem install rice -v '1.4.2'` succeeds before bundling. 我尝试在下面安装libs,但对我无效: sudo apt-get install libmapnik libm

我正试图通过Ubuntu12.4中的ruby 1.9.3安装
rice
gem,但我得到了:

An error occurred while installing rice (1.4.2), and Bundler cannot continue.
Make sure that `gem install rice -v '1.4.2'` succeeds before bundling.
我尝试在下面安装libs,但对我无效:

sudo apt-get install libmapnik libmapnik-dev mapnik-utils python-mapnik
这是我得到的完全例外:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb 
extconf.rb:20:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:20:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:20:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:25:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
...
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
-e:1:in `<main>': uninitialized constant CONFIG (NameError)
checking for ruby.h... yes
checking for node.h... no
checking for ruby/node.h... no
checking for version.h... no
checking for env.h... no
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rice/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating ruby/Makefile
config.status: creating ruby/lib/Makefile
config.status: creating test/ext/Makefile
config.status: creating ruby/lib/mkmf-rice.rb
config.status: creating rice/detail/ruby_version_code.hpp
config.status: creating rice/config.hpp
config.status: rice/config.hpp is unchanged
config.status: executing depfiles commands

make "DESTDIR=" clean
Making clean in ruby
make[1]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby'
Making clean in lib
make[2]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib'
Making clean in .
make[2]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby'
make[1]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby'
Making clean in sample
make[1]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/sample'
/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby -I/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib -C enum extconf.rb --with-cppflags="-I/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2" --with-libpath="/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice"
checking for main() in -lrice... 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/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby
    --with-libpath
    --with-libpath
    --with-ricelib
    --without-ricelib
/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib/mkmf-rice.rb:79:in `init_mkmf_rice': unhandled exception
    from /home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib/mkmf-rice.rb:215:in `<top (required)>'
    from /home/vagrant/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/vagrant/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from extconf.rb:1:in `<main>'
make[1]: *** [enum/Makefile] Error 1
make[1]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/sample'
make: *** [clean-recursive] Error 1

make "DESTDIR="
Making all in rice
make[1]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice'
make  all-am
make[2]: Entering directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice'
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Class.o -MD -MP -MF .deps/Class.Tpo -c -o Class.o Class.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Class.Tpo .deps/Class.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Data_Type.o -MD -MP -MF .deps/Data_Type.Tpo -c -o Data_Type.o Data_Type.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Data_Type.Tpo .deps/Data_Type.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Director.o -MD -MP -MF .deps/Director.Tpo -c -o Director.o Director.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Director.Tpo .deps/Director.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Exception.o -MD -MP -MF .deps/Exception.Tpo -c -o Exception.o Exception.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Exception.Tpo .deps/Exception.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Identifier.o -MD -MP -MF .deps/Identifier.Tpo -c -o Identifier.o Identifier.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Identifier.Tpo .deps/Identifier.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Module.o -MD -MP -MF .deps/Module.Tpo -c -o Module.o Module.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Module.Tpo .deps/Module.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Object.o -MD -MP -MF .deps/Object.Tpo -c -o Object.o Object.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/Object.Tpo .deps/Object.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT String.o -MD -MP -MF .deps/String.Tpo -c -o String.o String.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
mv -f .deps/String.Tpo .deps/String.Po
g++ -DHAVE_CONFIG_H -I.  -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  -fPIC -fPIC -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0 -I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux -MT Struct.o -MD -MP -MF .deps/Struct.Tpo -c -o Struct.o Struct.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from Hash.hpp:207:0,
                 from Struct.hpp:5,
                 from Struct.cpp:1:
Hash.ipp: In member function ‘Rice::Hash::Iterator<Hash_Ref_T, Value_T>& Rice::Hash::Iterator<Hash_Ref_T, Value_T>::operator++()’:
Hash.ipp:221:18: error: ‘st_table’ has no member named ‘bins’
Hash.ipp: In member function ‘Rice::Hash::iterator Rice::Hash::begin()’:
Hash.ipp:289:34: error: ‘st_table’ has no member named ‘bins’
Hash.ipp: In member function ‘Rice::Hash::const_iterator Rice::Hash::begin() const’:
Hash.ipp:296:40: error: ‘st_table’ has no member named ‘bins’
make[2]: *** [Struct.o] Error 1
make[2]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice'
make: *** [all-recursive] Error 1

make failed, exit code 2

Gem files will remain installed in /home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2 for inspection.
Results logged to /home/vagrant/.rvm/gems/ruby-2.1.0/extensions/x86_64-linux/2.1.0/rice-1.4.2/gem_make.out

An error occurred while installing rice (1.4.2), and Bundler cannot continue.
Make sure that `gem install rice -v '1.4.2'` succeeds before bundling.
Gem::Ext::BuildError:错误:无法生成Gem本机扩展。
/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
extconf.rb:20:in`:使用RbConfig而不是过时和不推荐的配置。
extconf.rb:20:in`:使用RbConfig而不是过时和不推荐的配置。
extconf.rb:20:in`:使用RbConfig而不是过时和不推荐的配置。
extconf.rb:25:in`:使用RbConfig而不是过时和不推荐的配置。
正在检查BSD兼容的安装/usr/bin/install-c
正在检查生成环境是否正常。。。对
正在检查线程安全的mkdir-p/bin/mkdir-p
正在检查是否有呆滞。。。目瞪口呆
正在检查make是否设置$(make)。。。对
正在检查g++。。。g++
检查C++编译器默认输出文件名…a、 出去
检查C++编译器是否工作…对
正在检查我们是否正在交叉编译。。。不
正在检查可执行文件的后缀。。。
正在检查对象文件的后缀。。。o
检查我们是否使用GNU C++编译器…对
正在检查g++是否接受-g。。。对
正在检查make使用的包含样式。。。GNU
正在检查g++的依赖项样式。。。gcc3
正在检查ranlib。。。兰利布
正在检查生成系统类型。。。x86_64-unknown-linux-gnu
正在检查主机系统类型。。。x86_64-unknown-linux-gnu
-e:1:in`:使用RbConfig而不是过时和不推荐的配置。
...
-e:1:in`:使用RbConfig而不是过时和不推荐的配置。
-e:1:in`:使用RbConfig而不是过时和不推荐的配置。
-e:1:in`:未初始化的常量配置(NameError)
正在检查ruby.h。。。对
正在检查node.h。。。不
正在检查ruby/node.h。。。不
正在检查版本。h。。。不
正在检查环境卫生。。。不
正在检查主机系统类型。。。(缓存)x86_64-unknown-linux-gnu
正在检查强氧剂。。。不
配置:警告:未找到doxygen-不会生成任何doxygen文档
正在检查perl/usr/bin/perl
配置:创建./config.status
config.status:正在创建Makefile
config.status:正在创建rice/Makefile
config.status:正在创建测试/生成文件
config.status:正在创建示例/生成文件
config.status:正在创建ruby/Makefile
config.status:正在创建ruby/lib/Makefile
config.status:正在创建test/ext/Makefile
config.status:正在创建ruby/lib/mkmf-rice.rb
config.status:正在创建rice/detail/ruby\u version\u code.hpp
config.status:正在创建rice/config.hpp
config.status:rice/config.hpp保持不变
config.status:正在执行depfiles命令
使“DESTDIR=”干净
用红宝石做清洁剂
make[1]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby”
清洁图书馆
make[2]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib”
make[2]:对于“干净”一词,没有什么可做的。
make[2]:离开目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib”
把房间打扫干净。
make[2]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby”
make[2]:对“clean am”不做任何事情。
make[2]:离开目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby”
make[1]:离开目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby”
样品清洗
make[1]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/sample”
/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby-I/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib-C enum extconf.rb——带cppflags=“-I/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2”——带libpath=“/home/vagrant/.1.1.1.0/gems/rice”
正在检查-lrice中的main()。。。不
***extconf.rb失败***
由于某些原因无法创建Makefile,可能缺少必要的
库和/或标题。有关详细信息,请查看mkmf.log文件。你可以
需要配置选项。
提供的配置选项:
--使用opt dir
--不带opt dir
--选择包含
--不带opt include=${opt dir}/include
--使用opt lib
--不带opt lib=${opt dir}/lib
--用make prog
--没有make prog
--srcdir=。
--库尔迪尔
--ruby=/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby
--用libpath
--用libpath
--里塞利
--没有ricelib
/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib/mkmf-rice.rb:79:in'init_mkmf_rice':未处理的异常
from/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/ruby/lib/mkmf-rice.rb:215:in`'
from/home/vagrant/.rvm/rubies/ruby-2.1.0/lib/ruby/site\u ruby/2.1.0/rubygems/core\u ext/kernel\u require.rb:55:in'require'
from/home/vagrant/.rvm/rubies/ruby-2.1.0/lib/ruby/site\u ruby/2.1.0/rubygems/core\u ext/kernel\u require.rb:55:in'require'
来自extconf.rb:1:in`'
生成[1]:***[enum/Makefile]错误1
make[1]:离开目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/sample”
make:**[clean recursive]错误1
使“DESTDIR=”
全米饭
make[1]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice”
让所有人都成为我
make[2]:进入目录“/home/vagrant/.rvm/gems/ruby-2.1.0/gems/rice-1.4.2/rice”
g++-DHAVE_CONFIG_H-I.-I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0-I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux-O3-fno快速数学-ggdb3-Wall-Wextra-Wno未使用的参数-Wno括号-Wno长-Wno-long-Wno缺少字段初始值设定项-Wunused变量-Wpointer-arith-Wwrite字符串-Wdeclaration after statement-Wimplicit函数声明-fPIC-fPIC-I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0-I/home/vagrant/.rvm/rubies/ruby-2.1.0/include/ruby-2.1.0/x86_64-linux-MT Class.o-MD-MP-MF.deps/Class.Tpo-c-o Class.cpp
Cc1Puls:警告:命令行选项'W声明在语句之后'对于C/Objc有效,但不适用于C++(默认启用)
cc1plus:警告:comman