From: leikind@... (Yuri Leikind) Date: 2002-09-26T21:34:19+09:00 Subject: bdb + BerkeleyDB + ruby 1.6.7 + Cygwin Hello all, I mostly use Ruby on Linux, but now I have to port some of my apps to Windows. Some of the use bdb. I compiled Ruby 1.6.7 for Cygwin, then compiled Berkeley DB 4.1.24 from sources with --prefix=/usr/local , now I take bdb 0.3.1, run extconf: $ ruby extconf.rb extconf.rb: Entering directory `src' checking for db_version() in -ldb-4... yes creating Makefile extconf.rb: Leaving directory `src' and run make $ make make[1]: Entering directory `/usr/src/bdb-0.3.1/src' gcc -DUSEIMPORTLIB -g -O2 -I. -I/usr/local/lib/ruby/1.6/i686-cygwin -I. -I/usr/local/incl ude -c -o bdb.o bdb.c bdb.c: In function `bdb_test_error': bdb.c:89: `DB_INCOMPLETE' undeclared (first use in this function) bdb.c:89: (Each undeclared identifier is reported only once bdb.c:89: for each function it appears in.) bdb.c: In function `Init_bdb': bdb.c:194: `DB_CHECKPOINT' undeclared (first use in this function) bdb.c:210: `DB_CURLSN' undeclared (first use in this function) make[1]: *** [bdb.o] Error 1 make[1]: Leaving directory `/usr/src/bdb-0.3.1/src' make: *** [all] Error 2 Are there any suggestions/ideas ? Yuri Leikind