From owner-freebsd-ports@FreeBSD.ORG Thu Dec 2 00:29:50 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 019F416A50D for ; Thu, 2 Dec 2004 00:29:50 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7900C43D46 for ; Thu, 2 Dec 2004 00:29:49 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from april.chuckr.org (localhost [127.0.0.1]) by april.chuckr.org (8.13.1/8.12.11) with ESMTP id iB20s2kP060508 for ; Wed, 1 Dec 2004 19:54:02 -0500 (EST) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost)iB20s123060505 for ; Wed, 1 Dec 2004 19:54:02 -0500 (EST) (envelope-from chuckr@chuckr.org) X-Authentication-Warning: april.chuckr.org: chuckr owned process doing -bs Date: Wed, 1 Dec 2004 19:54:01 -0500 (EST) From: Chuck Robey To: FreeBSD-ports@FreeBSD.org Message-ID: <20041201194344.H59195@april.chuckr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: python 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 00:29:50 -0000 This question deals with the python ports, but bear with me ... it will look like a python question, but it's not, read on. I'm trying to get database (persistence) working, and I keep on hitting an exception, looks like: >>> db=bsddb.btopen("garbage") Traceback (most recent call last): File "gpython.py", line 123, in code_exec exec (code, self.globs, self.locs) 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) DBInvalidArgError: (22, 'Invalid argument -- architecture lacks fast mutexes: applications cannot be threaded') I remember, in doing the build, python is a build a lot like KDE in some ways, in that it's spread across a lot of ports, and each of those ports puts in some options of it's own. I can't remember which one it was, but one of those ports had an option for fast mutex support (of some kind, I can't recall the exact wording anymore) If anyone knows which of those python ports allows for the fast mutexes, I[d sure appreciate a pointer. Until then, I'm just browsing away, reading them all, and getting very, very bored. ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@chuckr.org | electronics, communications, and SF/Fantasy. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary (on the wall at my old fraternity, Signa Phi Nothing). ----------------------------------------------------------------------------