From: Joel VanderWerf Date: 2007-03-12T14:32:24+09:00 Subject: Re: [ ruby-Bugs-9031 ] make check for 1.8.6-preview3: TestDBM: DBMError: dbm_store failed This is a multi-part message in MIME format. --------------080902080106030602000301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Akinori MUSHA wrote: > At Mon, 5 Mar 2007 05:57:16 +0900, > wrote: >> Bugs item #9031, was opened at 2007-03-04 12:57 >> You can respond by visiting: >> http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9031&group_id=426 >> >> Category: Core >> Group: 1.8.x >> Status: Open >> Resolution: None >> Priority: 3 >> Submitted By: Joel VanderWerf (vjoel) >> Assigned to: Nobody (None) >> Summary: make check for 1.8.6-preview3: TestDBM: DBMError: dbm_store failed >> >> Initial Comment: >> In both 1.8.6-preview3 and 1.8.6-preview1 (didn't try preview2), make check gives this error: >> >> 1) Error: >> test_aset(TestDBM): >> DBMError: dbm_store failed >> ./test/dbm/test_dbm.rb:139:in `[]=' >> ./test/dbm/test_dbm.rb:139:in `test_aset' >> ./test/dbm/test_dbm.rb:122:in `times' >> ./test/dbm/test_dbm.rb:122:in `test_aset' >> >> 1611 tests, 16556 assertions, 0 failures, 1 errors >> make: *** [test-all] Error 1 >> >> >> This is on ubuntu linux 2.6.17, gcc 4.1.2. > > I wonder which version of db extconf.rb picked. Could you try looking > into config.log and tell us? Here's the mkmf.log for ext/dbm. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 --------------080902080106030602000301 Content-Type: text/plain; name="mkmf.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mkmf.log" have_library: checking for __db_ndbm_open() in -ldb... -------------------- yes "gcc -o conftest -I. -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 conftest.c -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -lruby-static -ldb -ldl -lcrypt -lm -lc" checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { __db_ndbm_open(); return 0; } /* end */ -------------------- have_type: checking for DBM... -------------------- yes "gcc -c -I. -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 -DDB_DBM_HSEARCH conftest.c" checked program was: /* begin */ #include /*top*/ static DBM t; /* end */ -------------------- have_func: checking for __db_ndbm_clearerr()... -------------------- yes "gcc -o conftest -I. -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 conftest.c -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -ldb -lruby-static -ldb -ldl -lcrypt -lm -lc" checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { __db_ndbm_clearerr(); return 0; } /* end */ -------------------- have_header: checking for cdefs.h... -------------------- no "gcc -E -I. -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 conftest.c -o conftest.i" conftest.c:1:19: error: cdefs.h: No such file or directory checked program was: /* begin */ #include /* end */ -------------------- have_header: checking for sys/cdefs.h... -------------------- yes "gcc -E -I. -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 conftest.c -o conftest.i" checked program was: /* begin */ #include /* end */ -------------------- --------------080902080106030602000301--