Author tan2
Recipients ikelly, tan2
Date 2008-02-24.08:56:42
SpamBayes Score 0.0572218
Marked as misclassified No
Message-id <1203843403.46.0.966332574565.issue1167@psf.upfronthosting.co.za>
In-reply-to
Content
According to gdbm NEW, the dbm/ndbm compatibility routines was moved to
libgdbm_compat in v1.8.1, which was released in late 2002.

The patch works for gdbm-1.8.1+. But I am afraid that the patch will
cause build error with gdbm-1.8.0 and earlier version. A more
sophisticated approach is needed. The approach will do the following:

1. find gdbm library and gdbm/ndbm.h header
2. check the presence of dbm_open() function in gdbm library
3. if present, link with gdbm
4. if not, link with gdbm_compat

Step 1 and 3 are already in setup.py. The patch adds step 4, but step 2
is missing.

I don't have enough skill in distutil to implement it though...
History
Date User Action Args
2008-02-24 08:56:43tan2setspambayes_score: 0.0572218 -> 0.0572218
recipients: + tan2, ikelly
2008-02-24 08:56:43tan2setspambayes_score: 0.0572218 -> 0.0572218
messageid: <1203843403.46.0.966332574565.issue1167@psf.upfronthosting.co.za>
2008-02-24 08:56:42tan2linkissue1167 messages
2008-02-24 08:56:42tan2create