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