Message63204
| Author |
mark |
| Recipients |
loewis, mark |
| Date |
2008年03月03日.08:52:18 |
| SpamBayes Score |
0.021231418 |
| Marked as misclassified |
No |
| Message-id |
<200803030848.29221.mark@qtrac.eu> |
| In-reply-to |
<1204533338.23.0.199110297918.issue2219@psf.upfronthosting.co.za> |
| Content |
On 2008年03月03日, Martin v. Löwis wrote:
> Martin v. Löwis added the comment:
>
> Modules/Setup is out of date; _bsddb supports anything between 3.3 and 4.5.
>
FYI, only now I've just realised that Fedora 8's db version is 4.6.21,
but I thought I'd try it anyway.
% locate db-4.6
/lib/libdb-4.6.so
/usr/lib/libdb-4.6.a
/usr/lib/libdb-4.6.la
/usr/lib/libdb-4.6.so
% ls -l /usr/include/db.h
lrwxrwxrwx 1 root root 8 2008年01月10日 14:57 /usr/include/db.h -> db4/db.h
I edited Modules/Setup as follows:
DB=/usr
DBLIBVER=4.6
DBINC=$(DB)/include
DBLIB=$(DB)/lib
_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
The last gcc call is this:
gcc -pthread -Xlinker -export-dynamic -o python \
Modules/python.o \
libpython3.0.a -lpthread -ldl -lutil -L/usr/lib -ldb-4.6 -lm
running build
running build_ext
Failed to find the necessary bits to build these modules:
_bsddb
I can't see the DB -I or -L lines but I'm no makefile expert so maybe
they come from somewhere else. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年03月03日 08:52:20 | mark | set | spambayes_score: 0.0212314 -> 0.021231418 recipients:
+ mark, loewis |
| 2008年03月03日 08:52:19 | mark | link | issue2219 messages |
| 2008年03月03日 08:52:18 | mark | create |
|