Meino Christian Cramer wrote:
> From: Jamis Buck <jgb3 / email.byu.edu>
> Subject: [ANN] SQLite-Ruby 1.3.0
> Date: Mon, 12 Jul 2004 06:00:23 +0900
> 
> Hi, 
> 
>  I tried to install with 
> 
>    sudo ruby install.rb
> 
>  which works properly with previous versions (including 1.2.9.1)
>  and got
> 
>     cp ext/extconf.rb ext/sqlite.c build
>     cp -r lib build
>     cd build
>     checking for main() in -lsqlite... no
>     checking for sqlite.h... no
>     make: *** No targets specified and no makefile found.  Stop.
>     could not build sqlite module
>  
>  but ls /usr/lib/libsqlite* gives me:
> 
>     [sqlite-ruby-1.3.0/] :ls /usr/lib/libsqlite*
>     /usr/lib/libsqlite-2.8.13.so.0      /usr/lib/libsqlite.so.0.8.6
>     /usr/lib/libsqlite-2.8.13.so.0.8.6  /usr/lib/libsqlite3.la
>     /usr/lib/libsqlite.la               /usr/lib/libsqlite3.so
>     /usr/lib/libsqlite.so               /usr/lib/libsqlite3.so.0
>     /usr/lib/libsqlite.so.0             /usr/lib/libsqlite3.so.0.8.6
> 
>  and ls /usr/include/sqlite*
> 
>     [sqlite-ruby-1.3.0/] :ls /usr/include/sqlite*
>     /usr/include/sqlite.h  /usr/include/sqlite3.h
> 
>  so it /seems/ that everything need is installed, but sqlite-ruby does
>  not find it. What wnet wrong here ?

Interesting. Has anyone else had problems? Nothing changed in the setup 
scripts between 1.2.9.1 and 1.3.0, so I'm surprised it doesn't work for 
you now, when it used to. Could you send me the contents of the mkmf.log 
file? (It should be in the 'build' subdirectory that gets created by the 
install scripts.) That might help to troubleshoot this.

-- 
Jamis Buck
jgb3 / email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."