[Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition (original) (raw)
M.-A. Lemburg mal at egenix.com
Sat Nov 24 11:00:30 CET 2007
- Previous message: [Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition
- Next message: [Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2007-11-23 23:12, Paul Moore wrote:
On 23/11/2007, Christian Heimes <lists at cheimes.de> wrote:
bsddb is automatically build by a build step. But you have to convert the project files in buildwin32 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 dbstatic 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 DebugASCII 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 dbstatic - 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, testsocketssl may hang. Otherwise, everything should pass, apart from testtcl. (Actually, there's a failure in testdoctest 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
- Previous message: [Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition
- Next message: [Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]