On 2007-11-23 23:12, Paul Moore wrote: > On 23/11/2007, Christian Heimes <[EMAIL PROTECTED]> wrote: >> bsddb is automatically build by a build step. But you have to convert >> the project files in build_win32 to VS 2008 first. Simply open the >> solution file and let VS convert the projects. > > VS 2008 Express doesn't have a devenv command, so the pre-link step > doesn't work. You need to open the bsddb project file, and build > db_static by hand. For a debug Python, you need the Debug > configuration, for a release Python you need the Release > configuration. Beware - the default config is Debug_ASCII which is not > checked by the pre-link step. > > So, from a checkout of Python, plus the various svn externals: > > - dowload nasm, install it somewhere on your PATH, and copy nasm.exe > to nasmw.exe (Why did you use nasmw.exe rather than nasm.exe? Is there > a difference in the version you have?)
The OpenSSL build process still uses the old nasmw.exe name (the build instructions there are for the old NASM version, but it also works with the latest NASM release). The NASM project has recently changed the name of the executable to nasm.exe. > - Open the bsddb solution file, and build debug and release versions > of db_static > - Open the Python pcbuild solution file, and build the solution. > > You'll get a total of 2 failures and 18 successes. Of the failures, > one (_sqlite3) is not actually fatal (the pre-link step fails, and > that only the first time), and the module is actually built correctly. > The other is _tkinter, which isn't sorted out yet. > > You can then run the tests with rt.bat. If you have an openssl.exe on > your path, test_socket_ssl may hang. Otherwise, everything should > pass, apart from test_tcl. (Actually, there's a failure in > test_doctest right now, seems to have come in with r59137, but I don't > have time to diagnose right now). > > This is the case for both trunk and py3k (ignoring genuine test failures). -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 24 2007) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com