赞
踩
Installing sqlite3 (1.3.4) with native extensions /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:529:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /opt/ruby-enterprise-1.8.7-2011.03/bin/ruby extconf.rb checking for sqlite3.h... nosqlite3.h is missing. Try 'port install sqlite3 +universal'or 'yum install sqlite3-devel' and check your shared library search path (thelocation where your sqlite3 shared library is located).*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack ofnecessary libraries and/or headers. Check the mkmf.log file for moredetails. You may need configuration options.
apt-get install libsqlite3-dev
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。