From owner-freebsd-ports@FreeBSD.ORG Thu Dec 2 16:17:39 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B398816A4CE; Thu, 2 Dec 2004 16:17:39 +0000 (GMT) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F4F643D55; Thu, 2 Dec 2004 16:17:39 +0000 (GMT) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id 8DFDBA97D; Fri, 3 Dec 2004 01:17:38 +0900 (KST) Date: Fri, 3 Dec 2004 01:17:38 +0900 From: Hye-Shik Chang To: Tilman Linneweh Message-ID: <20041202161738.GA81389@i18n.org> References: <41AE852D.8080909@chuckr.org> <20041202155542.GA79436@i18n.org> <20041202160712.GA23336@arved.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041202160712.GA23336@arved.at> X-Accept-Language: ko, en User-Agent: Mutt/1.5.6i cc: chuckr@chuckr.org cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: python-2.4.a3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 16:17:39 -0000 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 "", 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