Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63787

Summary: Porting: tdb
Product: Gentoo Linux Reporter: Ben Powers <bennyp>
Component: Current packagesAssignee: osx porters <osx>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Powers 2004-09-12 09:10:00 UTC
i get this error emerging tdb. i'm trying to get sweep to work, but sweep tries to emerge portage (oh boy not again)
i posted to sweep devel mailing list too, some other people area also trying to get it to work on mac os though.. although their tdb compile doesn't even get past configure

/bin/sh ./libtool --mode=link gcc  -mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt   -o tdbtorture -ldl tdbtorture.o libtdb.la 
ld: Undefined symbols:
_gdbm_close
_gdbm_delete
_gdbm_fetch
_gdbm_firstkey
_gdbm_nextkey
_gdbm_open
_gdbm_store
make: *** [tdbtest] Error 1
make: *** Waiting for unfinished jobs....
gcc -mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt -o tdbtorture -ldl tdbtorture.o .libs/libtdb.a
Comment 1 Ben Powers 2004-09-13 16:16:34 UTC
Conrad Parker writes

"that's a bug in libtdb's build process -- it builds some test programs
which link against libgdbm (to compare speed and correctness of tdb
and gdbm) and the build fails if libgdbm isn't installed. However this
is only for some test programs in the libtdb tarball, libtdb itself
doesn't need libgdbm.

I submitted a bug and patch against libtdb on sourceforge about this, so
please try that patch.

Conrad."
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-01-22 20:55:11 UTC
The libgdm issue is not a problem on macos, since libgdbm is keyworded already. Unfortunately this package has a collision problem with tdbtool and tdbdump provided by Apple. OSX devs: anyone know how similar these tools are? Can we just delete the two said files on osx?
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-06-12 17:15:51 UTC
successor is sqlite which is ported already