From: Eddie Catflap Date: 2007-08-29T23:11:49+09:00 Subject: Re: SQLIte3 DL driver deprecated, how to use native? ------=_Part_2376_23085424.1188396704509 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jeremy Thanks for the quick reply! On 8/29/07, Jeremy Hinegardner wrote: > > Hi, > > It would appear that rubygems cannot find your ruby.h for your ruby > installation, which it needs to build the native driver. I have not > installed ruby on Solaris myself, but is there a ruby.h in the directory > printed out with this: > > ruby -rrbconfig -e 'puts ::Config::CONFIG["includedir"]' You are onto something there - there isn't: -bash-3.00$ ruby -rrbconfig -e 'puts ::Config::CONFIG["includedir"]' /usr/local/include -bash-3.00$ ls /usr/local/include c++ libcharset.h ncurses readline zconf.h iconv.h localcharset.h python2.5 sqlite3.h zlib.h However I have found it under /usr/local/lib/ruby/1.8/sparc-solaris2.10 /ruby.h I'm guessing the ruby package installed on this system (from Sunfreeware.comby the looks of things) sticks the header files in a strange place. Adding this dir to PATH or LD_LIBRARY_PATH wasn't enough to resolve the problem. I'll do a bit more digging around, thanks for pointing me in the right direction - I'll update this once I get the answer. > ------=_Part_2376_23085424.1188396704509--