[pybsddb] Published pybsddb3 4.7.0
Davies Liu
davies.liu at gmail.com
Tue May 27 12:53:25 CEST 2008
install bsddb3 4.7.0 using PYPI successly, but
Traceback (most recent call last):
File "./mdb.py", line 100, in <module>
bdb = BerkelyDBStore('mdb', 'localhost', 20101)
File "/home/davies/bdb/bdbstore.py", line 51, in __init__
env.repmgr_set_local_site(host, port)
bsddb3.db.DBError: (95, 'Operation not supported -- library build did not
include support for the Replication Manager')
my linux is Gentoo, :
davies at boromir ~/bdb $ eix -e db
[I] sys-libs/db
Available versions:
(1) *1.85-r1 1.85-r3
(3) 3.2.9-r11
(4.2) 4.2.52_p4-r2
(4.3) 4.3.29-r2
(4.4) (~)4.4.20_p4
(4.5) 4.5.20_p2
(4.6) [M](~)4.6.19 {M}(~)4.6.21
{bootstrap doc elibc_FreeBSD java nocxx tcl test}
Installed versions: 4.3.29-r2(4.3)(09:56:07 04/17/07)(-bootstrap -doc
-elibc_FreeBSD -java -nocxx -tcl -test)
4.5.20_p2(4.5)(11:11:22 11/12/07)(-bootstrap -doc
-elibc_FreeBSD -java -nocxx -tcl -test)
4.6.21(4.6)(00:00:04 03/11/08)(-bootstrap -doc
-elibc_FreeBSD -java -nocxx -tcl -test)
Homepage:
http://www.oracle.com/technology/software/products/berkeley-db/index.html
Description: Oracle Berkeley DB
build from svn( trunk -r 470) failed:
davies at boromir ~/soft/bsddb $ python setup.py build
Found Berkeley DB 4.6 installation.
include files in /usr/include
library files in /usr/lib64
library name is libdb-4.6
running build
running build_py
copying Lib/bsddb/dbobj.py -> build/lib.linux-x86_64-2.5/bsddb3
copying Lib/bsddb/__init__.py -> build/lib.linux-x86_64-2.5/bsddb3
copying Lib/bsddb/test/test_lock.py ->
build/lib.linux-x86_64-2.5/bsddb3/tests
copying Lib/bsddb/test/test_compare.py ->
build/lib.linux-x86_64-2.5/bsddb3/test
s
copying Lib/bsddb/test/test_associate.py ->
build/lib.linux-x86_64-2.5/bsddb3/te
sts
copying Lib/bsddb/test/test_all.py ->
build/lib.linux-x86_64-2.5/bsddb3/tests
copying Lib/bsddb/test/test_basics.py ->
build/lib.linux-x86_64-2.5/bsddb3/tests
running build_ext
building 'bsddb3._pybsddb' extension
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC
-DPYBSDDB_S
TANDALONE=1 -I/usr/include -I/usr/include/python2.5 -c Modules/_bsddb.c -o
build
/temp.linux-x86_64-2.5/Modules/_bsddb.o
Modules/_bsddb.c:4658: error: expected identifier or '(' before '<<' token
Modules/_bsddb.c:4686: error: expected identifier or '(' before '==' token
Modules/_bsddb.c:6222: error: 'DBEnv_log_stat' undeclared here (not in a
functio
n)
Modules/_bsddb.c:6233: error: 'DBEnv_rep_elect' undeclared here (not in a
functi
on)
Modules/_bsddb.c:6234: error: 'DBEnv_rep_process_message' undeclared here
(not
i
n a function)
Modules/_bsddb.c:6235: error: 'DBEnv_rep_start' undeclared here (not in a
functi
on)
Modules/_bsddb.c:6236: error: 'DBEnv_rep_stat' undeclared here (not in a
functio
n)
Modules/_bsddb.c:6237: error: 'DBEnv_rep_sync' undeclared here (not in a
functio
n)
Modules/_bsddb.c:6238: error: 'DBEnv_rep_set_config' undeclared here (not in
a
f
unction)
Modules/_bsddb.c:6239: error: 'DBEnv_rep_set_limit' undeclared here (not in
a
fu
nction)
Modules/_bsddb.c:6242: error: 'DBEnv_rep_set_request' undeclared here (not
in
a
function)
Modules/_bsddb.c:6244: error: 'DBEnv_rep_set_transport' undeclared here (not
in
a function)
Modules/_bsddb.c:4661:1: error: unterminated #if
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
On Thu, May 22, 2008 at 11:13 PM, Jesus Cea <jcea at jcea.es> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Please, read the release notes:
>
> http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.0
>
> - --
> Jesus Cea Avion _/_/ _/_/_/ _/_/_/
> jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> jabber / xmpp:jcea at jabber.org <xmpp%3Ajcea at jabber.org> _/_/
> _/_/ _/_/_/_/_/
> ~ _/_/ _/_/ _/_/ _/_/ _/_/
> "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
> "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQCVAwUBSDWNj5lgi5GaxT1NAQKCOAQAoV+XyBmv/1pfX5pFNxa9kyxtHKbhKRLY
> l0qJ2IjgeLm8VML7czVz6t/s2MpRIm8yAOM06gWCupCaYRTSKftrkTpcVu0PtkX5
> z+dSLGm61p46CKrE4bnEizvjFjJx6pGtg/gHI2EK6gEMCw2bGonV///g2RlAyk1L
> QYPPKOlLA7k=
> =4lld
> -----END PGP SIGNATURE-----
> _______________________________________________
> pybsddb mailing list
> pybsddb at argo.es
> http://mailman.argo.es/listinfo/pybsddb
> http://www.argo.es/~jcea/programacion/pybsddb.htm<http://www.argo.es/%7Ejcea/programacion/pybsddb.htm>
>
--
Best regards,
Davies Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20080527/350f7841/attachment.htm>
More information about the pybsddb
mailing list