Do you really have sqlite3 installed?  What happens when you type:
which sqlite3

i.e.: which sqlite3
/opt/local/bin/sqlite3

On my system I would then install the gem using:

gem install sqlite3-ruby -- --with-sqlite3-include=/opt/local/include
--with-sqlite3-lib=/opt/local/lib


On Aug 29, 10:12 am, Joonas Lindholm <rails-mailing-l...@andreas-
s.net> wrote:
> I borrow this thread because I have the same problem but with sqlite3.
>
> ...
> checking for sqlite3.h... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers.
> ...
>
> I tried to fix it by downloading the source code for sqlite 
> fromhttp://www.sqlite.org/and installing it. Now i have the sqlite3.h
> header file and tried again with
>
> gem install sqlite3-ruby --
> --with-sqlite3-dir=/my/sqlite/path/sqlite-3.6.17
>
> The sqlite3.h file is in that directory but I get the same errors
> again..
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to