Re: [codezero-devel] ubuntu/python/bsddb
2011/11/5 Harold Grovesteen : > I just did not remember having to install it with SCons. Could be my > memory or a new requirement. Just curious. Could you share your Python and Scons versions? -- Dawid Ciężarkiewicz B-Labs. http://b-labs.com/ ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org
Re: [codezero-devel] ubuntu/python/bsddb
On Fri, 2011-11-04 at 16:51 +0100, Dawid Ciężarkiewicz wrote: > On Fri, Nov 4, 2011 at 2:51 PM, Harold Grovesteen > wrote: > > For what function is the BerkelyDB used by codezero? Is this a recent > > development? > > Hi, > > I guess it's Scons that uses it for some internal purposes. > > I just did not remember having to install it with SCons. Could be my memory or a new requirement. Just curious. Harold ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org
Re: [codezero-devel] ubuntu/python/bsddb
On Fri, Nov 4, 2011 at 2:51 PM, Harold Grovesteen wrote: > For what function is the BerkelyDB used by codezero? Is this a recent > development? Hi, I guess it's Scons that uses it for some internal purposes. -- Dawid Ciężarkiewicz B-Labs. http://b-labs.com/ ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org
Re: [codezero-devel] ubuntu/python/bsddb
On Fri, 2011-11-04 at 09:34 -0400, jegde jedge wrote: > SOLVED > > Problem 1: ubuntu python compiled with _bsddb missing. > Problem 2: python will not compile with latest version of berkeley db > Problem 3: codezero db files are built usinig version 4.6 of berkeley > bsddb which is known buggy and explicitly shunned by python. > Problem 4: changing python on ubuntu oneiric really honks the distro > > Fixed my problem with the following steps. Hope this helps somebody. > > 1) Download and install python versions 4.5 and 4.6 from: > http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz > http://download.oracle.com/berkeley-db/db-4.6.21.tar.gz > > use the default configure options as it installs in a > specific /usr/local/BerkeleyDB.4.5 directory that Python expects > This order is required > For what function is the BerkelyDB used by codezero? Is this a recent development? Harold Grovesteen ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org
Re: [codezero-devel] ubuntu/python/bsddb
SOLVED Problem 1: ubuntu python compiled with _bsddb missing. Problem 2: python will not compile with latest version of berkeley db Problem 3: codezero db files are built usinig version 4.6 of berkeley bsddb which is known buggy and explicitly shunned by python. Problem 4: changing python on ubuntu oneiric really honks the distro Fixed my problem with the following steps. Hope this helps somebody. 1) Download and install python versions 4.5 and 4.6 from: http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz http://download.oracle.com/berkeley-db/db-4.6.21.tar.gz use the default configure options as it installs in a specific /usr/local/BerkeleyDB.4.5 directory that Python expects This order is required #build python supported berkeley db cd rm -Rf db-* tar -xzf Downloads/db-4.5.20.tar.gz cd db-4.5.20/build ../dist/configure sudo make install # build local copy of python linked against berkeley db 4.5 cd rm -Rf Python* tar -xjf Python-2.7.2.tar.bz2 cd Python-2.7.2 ./configure make # do not make install #install berkeley 4.6 so we can recover the codezero configuration files cd tar -xzf Downloads/db-4.6.21.tar.gz cd db-4.6.21/build ../dist/configure sudo make install # recover the configuration files cd rm -Rf codezero* tar -xjf Downloads/codezero-toolkit-v0.5.0-full.tar.bz2 cd codezero-toolkit-v0.5.0-full/codezero-toolkit/prebuilt mv configuration configuration4.6 /usr/local/BerkeleyDB.4.6/bin/db_dump configuration4.5 | /usr/local/BerkeleyDB.4.5/bin/db_load configuration4.5 cp configuration4.5 configuration # now run the build.py using the local copy of python export PATH=~/Python-2.7.2:$PATH which python python -V cd cd codezero-toolkit-v0.5.0-full/codezero-toolkit/prebuilt python build.py ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org
Re: [codezero-devel] ubuntu/python/bsddb
I forgot to mention. I also tried these packages: sudo apt-get install libdb-dev sudo apt-get install python-bsddb3 ___ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org