I got this error while trying install sqlite on Ubuntu 10.4
/opt/ruby-1.9.1-p376/bin/ruby extconf.rb install sqlite3-ruby ruby=/opt/ruby-1.9.1-p376/bin/ruby
checking for fdatasync() in -lrt... yes
checking for sqlite3.h... 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.
1. Install sqlite3
luan@luan-laptop:~$ sudo apt-get install sqlite3
2. Install libsqlite3-dev
luan@luan-laptop:~$ sudo apt-get install libsqlite3-dev
3. Install sqlite3-ruby for using with sequel
luan@luan-laptop:~$ sudo gem install sqlite3-ruby
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment