Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169587 - dev-ruby/ruby-bdb-0.5.9 doesn't compile with sys-libs/db-4.5.20_p2
Summary: dev-ruby/ruby-bdb-0.5.9 doesn't compile with sys-libs/db-4.5.20_p2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-06 10:04 UTC by Pierre Guinoiseau
Modified: 2007-03-06 10:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,2.18 KB, text/plain)
2007-03-06 10:04 UTC, Pierre Guinoiseau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guinoiseau 2007-03-06 10:04:05 UTC
Hi, as said in the summary, dev-ruby/ruby-bdb-0.5.9 doesn't compile with sys-libs/db-4.5.20_p2 :

>>> Compiling source in /var/tmp/portage/dev-ruby/ruby-bdb-0.5.9/work/bdb-0.5.9 ...
 * Found db version 4.5
include version 4.5
 * Found db version 4.5
extconf.rb: Entering directory `src'
checking for db_version() in -ldb-4.5... yes
checking for rb_frame_this_func()... no
checking for rb_block_proc()... yes
checking for rb_io_stdio_file()... no
checking for Array#insert... yes
checking for Array#values_at... yes
creating Makefile
extconf.rb: Leaving directory `src'
gmake[1]: Entering directory `/var/tmp/portage/dev-ruby/ruby-bdb-0.5.9/work/bdb-0.5.9/src'
i686-gentoo-freebsd6.2-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-freebsd6.2 -I. -DHAVE_RB_BLOCK_PROC -I/usr/include/db4.5  -fPIC -O2 -march=pentium3 -pipe -fno-strict-aliasing  -fPIC -DHAVE_RB_BLOCK_PROC -DHAVE_RB_ARY_INSERT -DHAVE_RB_ARY_VALUES_AT  -c bdb.c
bdb.c: In function 'Init_bdb':
bdb.c:335: error: 'DB_MPOOL_CLEAN' undeclared (first use in this function)
bdb.c:335: error: (Each undeclared identifier is reported only once
bdb.c:335: error: for each function it appears in.)
bdb.c:400: error: 'DB_RECORDCOUNT' undeclared (first use in this function)
gmake[1]: *** [bdb.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/dev-ruby/ruby-bdb-0.5.9/work/bdb-0.5.9/src'
gmake: *** [all] Error 2

[ebuild   R   ] sys-libs/db-4.5.20_p2  USE="-bootstrap -doc -java -nocxx -tcl -test" 0 kB 
[ebuild   R   ] dev-ruby/ruby-bdb-0.5.9  USE="-examples" 0 kB
Comment 1 Pierre Guinoiseau 2007-03-06 10:04:49 UTC
Created attachment 112264 [details]
emerge --info
Comment 2 Richard Brown (RETIRED) gentoo-dev 2007-03-06 10:25:46 UTC
dev-ruby/ruby-bdb-0.6.0 is now in CVS, and should work with this version of db. Please allow it some time to propagate to the rsync mirrors.

Thank you for the report.