[Python-Dev] Problems with dbhash in Python-2.1? (fwd)

Skip Montanaro skip@pobox.com (Skip Montanaro)
Thu, 1 Nov 2001 13:10:42 -0600


--U1goaZGhxW
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit


I forward this note from Roy Smith along because it might be a setup.py bug
that could be fixed easily for the 2.1.2 release.  My guess is that
distutils couldn't find the necessary libraries or header files, so declined
to build bsddb.  If Roy Smith can locate them on the solaris and debian
machines, the patch to setup.py should be pretty straightforward.  Roy, can
you dig up that info?

Skip


--U1goaZGhxW
Content-Type: message/rfc822
Content-Description: forwarded message
Content-Transfer-Encoding: 7bit

Return-Path: <python-list-admin@python.org>
Received: from granite.pobox.com (granite.pobox.com [207.8.152.160])
        by manatee.mojam.com (8.11.0/8.11.0) with ESMTP id fA1J1kh08286
        for <skip@manatee.mojam.com>; Thu, 1 Nov 2001 13:01:46 -0600
Received: from granite (localhost [127.0.0.1])
        by granite.pobox.com (Postfix) with ESMTP id 58EC67DF0D
        for <skip@manatee.mojam.com>; Thu,  1 Nov 2001 14:01:46 -0500 (EST)
Delivered-To: skip@pobox.com
Received: from mail.python.org (mail.python.org [63.102.49.29])
        by granite.pobox.com (Postfix) with ESMTP id D2E2A7DF30
        for <skip@pobox.com>; Thu,  1 Nov 2001 14:01:45 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=mail.python.org)
        by mail.python.org with esmtp (Exim 3.21 #1)
        id 15zN5N-0002eN-00; Thu, 01 Nov 2001 14:01:05 -0500
Path: news.baymountain.net!uunet!ash.uu.net!lore.csc.com!nntp.abs.net!howland.erols.net!panix!news.panix.com!panix2.panix.com!not-for-mail
Newsgroups: comp.lang.python
Organization: PANIX -- Public Access Networks Corp.
Lines: 23
Message-ID: <9rs60o$b0n$1@panix2.panix.com>
NNTP-Posting-Host: panix2.panix.com
X-Trace: news.panix.com 1004641112 1428 166.84.1.2 (1 Nov 2001 18:58:32 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 1 Nov 2001 18:58:32 GMT
Xref: news.baymountain.net comp.lang.python:129718
Errors-To: python-list-admin@python.org
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.0.6 (101270)
Precedence: bulk
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Post: <mailto:python-list@python.org>
List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>,
        <mailto:python-list-request@python.org?subject=subscribe>
List-Id: General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe: <http://mail.python.org/mailman/listinfo/python-list>,
        <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <http://mail.python.org/pipermail/python-list/>
From: roy@panix.com (Roy Smith)
Sender: python-list-admin@python.org
To: python-list@python.org
Subject: Problems with dbhash in Python-2.1?
Date: 1 Nov 2001 13:58:32 -0500

I've got an application written in Python-2.0, which used the dbhash
module.  I've had two different people report similar problems running
it under Python-2.1.  One of them on Debian Linux, the other on
Solaris-8.

The solaris guy reports the following stack trace:

Traceback (most recent call last):
  File "/export/home/emermels/source/src/tools/cvt1418.py", line 6, in
  ?
    import smic
  File "/export/home/emermels/source/src/tools/pylib/smic.py", line 9,
  in ?
    import dbhash
  File "/usr/local/lib/python2.1/dbhash.py", line 5, in ?
    import bsddb
ImportError: No module named bsddb

The Debian guy got some other strange error involving bsddb (which
unfortunately I didn't save, because when he down-graded to 2.0 the
problem went away).

Is this a known problem?
-- 
http://mail.python.org/mailman/listinfo/python-list

--U1goaZGhxW--