I've found lots of these questions around, but none of the solutions given work. I also haven't seen x64 mentioned, so maybe that is related.
The issue is this:
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:3:in `<main>'
What I've tried so far:
- installing
sqlite3
&libsqlite3-dev
through apt - installing
sqlite3
using newest binaries from http://www.sqlite.org/ - specifying sqlite3-dir (
gem install sqlite3 -- --with-sqlite3-dir=/usr/local/lib
)
I'm a little desperate at this point. Any thoughts?