From: Jamis Buck Date: 2005-01-26T03:23:56+09:00 Subject: Re: SQLite-Ruby and Cygwin: Problem and Solution On 02:45 Wed 26 Jan , Erik Veenstra wrote: > > > I added just one single line to ext/extconf.rb > > > ('dir_config( "sqlite", "/usr/local" )'), compiled the > > > whole thing and build the gem. This one was indeed > > > installable! > > > > Non-standard install locations are problematic for compiled > > gems (like sqlite-ruby). If you installed by hand, you could > > easily specify the necessary "--with-sqlite-lib" and > > "--with-sqlite-include" parameters to the install script, but > > with gems.. > > Non-standard location? "/usr/local/bin" and "/usr/local/lib" > seem pretty standard to me... That's what SQLite decided to > use, anyway. As compared to "/usr/bin" and "/usr/lib", I meant. By default, that's what the mkmf.rb lib uses. You can pass parameters to specify otherwise (--with-sqlite-lib, etc) to extconf.rb, but not to the gem utility. Yet. To my knowledge. :) - Jamis -- Jamis Buck jamis_buck@byu.edu http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."