> Berkeley-DB can be told to use different types of mutexes. > The default on Tru64 seems to be Pthread API based. Look into > db.spec: we for instance force the use of x86/gcc-assembly > mutexes on the usual Intel platforms to avoid Pthread API > dependencies under FreeBSD, Linux and Solaris/x86. In > openpkg.spec we go even further: we enforce the UNIX/fcntl > mutex variant which is available really everywhere. I > recommend you to try in db.spec a check for Tru64 where you > enforce mutex="UNIX/fcntl". Check whether this works as expected... > > If yes, I think we should even use the following non-Tru64 > related patch: > > Index: db.spec > =================================================================== > RCS file: /e/openpkg/cvs/openpkg-src/db/db.spec,v > retrieving revision 1.44 > diff -u -d -u -d -u -d -r1.44 db.spec > --- db.spec 26 Apr 2004 08:59:43 -0000 1.44 > +++ db.spec 28 Apr 2004 16:39:26 -0000 > @@ -91,6 +91,7 @@ > mutex="no" > case "%{l_platform -p}" in > ix86-* ) mutex="x86/gcc-assembly" ;; > + * ) mutex="UNIX/fcntl" ;; > esac > cd build_unix > CC="%{l_cc}" \ >
Tried that patch and it seems to do the trick. If this is included then I guess the change from: > > http://cvs.openpkg.org/chngview?cn=16152 isn't needed anymore. Karl. ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List [EMAIL PROTECTED]