Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: robc on August 18, 2009, 08:13:56 PM
-
I am getting the following error:
ImportError: No module named _bsddb
This can be seen by testing bsddb:
python /usr/local/lib/python2.5/test/test_bsddb.py
Does this mean it was not built with the extension?
or was this left out intentionally in favor of a pybsddb extension?
-
From what I understand Berkely db would need to be build against to support that module. Perhaps db extension could be built, and then a bsddb extension created with db as a dep.
-
Actually, it would probably be best to build python with full functionality as mentioned in another thread - with openssl bsddb sqlite and maybe tk. I can maybe get to it eventually, but anyone is free to build it with the deps and submit it. We would need to stay with the same version unless the maintainers of the pythons dependent apps dont mind rebuilding (pyqt, pygtk, pycairo, etc).
-
I'm still getting this error with the python-testing extension. There seems to be problems with the builtin bsddb module from python. There is a separate pybsddb module that can be built for the python bindings to bsddb. The site is here: http://www.jcea.es/programacion/pybsddb.htm (http://www.jcea.es/programacion/pybsddb.htm). I can build this but would like to wait and see if python will be updated first.
-
I would like to go ahead with the python update, I already have an extension made. I will pm JLS and see if he does not mind rebuilding his pygtk extensions as part of the update.
I think the seperate python bsddb sounds good and could be made when we update.
-
Python and the pygtk extensions will be updated to 2.6.2, and python-bsddb can be an extension. I will replace the python-testing with the 2.6.2 version and with ssl, tk, and sqlite support hopefully later today. The python dependent extensions can then be rebuilt against it, tested, and replace the current ones in the repo.