Ubuntu11.10 环境下: 在执行 bundle update 或 bundle install 的时候,安装 sqlite3 出错,错误日志如下,大意是所缺少一个本地扩展插件的头文件 sqlite3.h,不知道要怎么解决啊???
Installing sqlite3 (1.3.5) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/home/longerian/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/home/longerian/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
**checking for sqlite3.h... no
sqlite3.h is missing.** Try 'port install sqlite3 +universal'
or 'yum install sqlite-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** 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.