Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2004 01:17:38 +0900
From:      Hye-Shik Chang <perky@i18n.org>
To:        Tilman Linneweh <arved@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD Port: python-2.4.a3
Message-ID:  <20041202161738.GA81389@i18n.org>
In-Reply-To: <20041202160712.GA23336@arved.at>
References:  <41AE852D.8080909@chuckr.org> <20041202155542.GA79436@i18n.org> <20041202160712.GA23336@arved.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 02, 2004 at 05:07:12PM +0100, Tilman Linneweh wrote:
> * Hye-Shik Chang [Thu, 02 Dec 2004 at 16:55 GMT]:
> >> Everytime I try doing something with bsddb, I get this error:
> >> 
> >> >>> import bsddb
> >> >>> db = bsddb.btopen("myfile","c")
> >> Traceback (most recent call last):
> >>  File "<stdin>", line 1, in ?
> >>  File "/usr/local/lib/python2.4/bsddb/__init__.py", line 303, in btopen
> >>    e = _openDBEnv()
> >>  File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in _openDBEnv
> >>    e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | 
> >> db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
> >> bsddb._db.DBInvalidArgError: (22, 'Invalid argument -- architecture 
> >> lacks fast mutexes: applications cannot be threaded')
> >> 
> > It's a known problem of Berkeley DB on FreeBSD/amd64 (neither
> > Python's nor bsddb module's).  I think you'd better to set ia32
> > emulation up to get it working in that short time.
> 
> Which version of Berkley DB are you using?
> I thought db41 and db42 ports had a workaround (--with-mutex=x86/gcc-assembly
> to CONFIGURE_ARGS).
> 

Aah. My memory was quite outdated, then. :)

Hye-Shik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041202161738.GA81389>