From: David Craine Date: 2005-01-12T03:34:40+09:00 Subject: Re: Compiling native extension into Ruby --Apple-Mail-2-459741324 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed RIght...I've got that part. But what I'm trying to do is compile and statically link the extension into the ruby executable itself. I've created an entry in the /ext/Setup file for bdb so that it will try and build it when Ruby builds. When I try to make ruby it will actually try and compile the bdb extension, but without passing in the --with-db-dir parameter. I need to know how to pass this parameter through to the extconf.rb file for the bdb extension when running the make file for ruby. Dave On Jan 11, 2005, at 1:22 PM, ts wrote: >>>>>> "D" == David Craine writes: > > D> ruby. Anyone have any ideas regarding this? > > you don't need to put it into ruby-1.8.2/ext > > * Install normally ruby > > * extract bdb-0.5.4 *outside* the ruby directory > > * then run > > ruby extconf.rb --with-db-dir=... > make > make install > > > Guy Decoux > > > --Apple-Mail-2-459741324--