On 02:32 Mon 07 Feb     , Andre Nathan wrote:
> Bil Kleb said:
> > The error message is little oblique,
> >
> > $ sudo gem install sqlite3
> 
> [snip]
> 
> > Gem files will remain installed in
> > /usr/local/pkgs/ruby-1.8.2/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.0.0
> > for inspection.
> >    ruby extconf.rb install sqlite3\nchecking for sqlite3.h... no
> >
> 
> I had to do a
> 
>   $ sudo gem install sqlite3 -- \
>     --with-sqlite3-include=/usr/local/include \
>     --with-sqlite3-lib=/usr/local/lib
> 
> It's funny, because the extconf.rb has
> 
>   dir_config( "sqlite3", "/usr/local", "/usr/local" )
> 
> When installing it from the source, changing it to
> 
>   dir_config( "sqlite3", "/usr/local/include", "/usr/local/lib" )
> 
> made it work, but I always thought the just passing the prefix to mkmf
> would be enough.
> 
> Andre

*grumble*

I could have *sworn* that I had that working. But I can duplicate what
you are reporting, so...

Anyway...

<rant about mkmf.rb elided to protect innocent eyes />

Sorry. I'm definitely not at my best today--we're all sick over here,
and didn't get much sleep at all last night.

I'll do some more tinkering and release a 1.0.1 that fixes this.

- Jamis

-- 
Jamis Buck
jamis_buck / byu.edu
http://jamis.jamisbuck.org
------------------------------
"I am Victor of Borge. You will be assimil-nine-ed."