Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Akshay Kumar
I want to use sqlite but finding errors [ reply ]  
2009-04-28 04:48
aks:~/projects/rubyrail$ sudo gem install sqlite-1.3.0.gem
Building native extensions. This could take a while...
ERROR: Error installing sqlite-1.3.0.gem:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
checking for main() in -lsqlite... no
checking for sqlite.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.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-sqlite-dir
--without-sqlite-dir
--with-sqlite-include
--without-sqlite-include=${sqlite-dir}/include
--with-sqlite-lib
--without-sqlite-lib=${sqlite-dir}/lib
--with-sqlitelib
--without-sqlitelib


aks:~/projects/rubyrail$ sudo apt-get install libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libsqlite3-dev: Depends: libsqlite3-0 (= 3.2.8-1ubuntu1) but 3.4.2-1build1 is to be installed
E: Broken packages