Compiling Berkeley db for Ruby under Cygwin
Gerrit P. Haase
gp@familiehaase.de
Fri Jan 4 15:46:00 GMT 2002
Hallo Albert,
> Am 2002-01-03 um 18:40 schriebst du:
>> Even as a Linux user, I probably stay as confused about compiling
>> under cygwin as some windows users. I cannot figure out just
>> where the linker is looking to find cygwin-ruby16.
> 1. Use the correct linker flag `-L/path/to/librubys.a/' and look
> if there is a lib named libcygwin-ruby16.a, isn't the name of
> the import lib librubys.a or was it changed since 1.6.5 and 1.6.6?
Ah, no, librubys.a is the static lib, the importlib is:
/usr/local/lib/libcygwin-ruby16.a in my build.
> 2. use `my' ruby-1.6.5 package which is available at this URI:
> http://familiehaase.de/cywgin/ruby/ and installs the lib and
> headers and dll in `cygwin-usual' places (/usr/local/lib/ruby/...,
> /usr/local/bin)
> 3. Build ruby yourself:
> ./configure --enable-shared
> make
> make test
> make install
Gerrit
--
=^..^= mailto:gp@familiehaase.de
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list