尽管使用本论坛中陈述的所有方法,但出现以下错误。我正在mageia 2 Linux的捆绑安装错误与Linux mageia 2
Installing sqlite3 (1.3.6) with native extensions /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:533:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... no
sqlite3 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.
感谢。有效。但对于我使用的mageia(urpmi sqlite-devel而不是yum install)确定,这将用于具有类似分布的其他人。 –
很高兴为你工作。请将答案标记为已接受。 – nathan