[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Compiling svn + httpd for windows python 2.x

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 22 Jun 2016 12:01:12 +0000

> -----Original Message-----
> From: Stefan Hett [mailto:stefan_at_egosoft.com]
> Sent: 22 June 2016 12:38
>
> Hi Mark,
>
> > Folks,
> >
> > We use subversion with Trac behind httpd on Windows Server. As Trac is
> > written in "old" Python (2.x), I have had to resort to building everything
> > from source. This is not simple and so I thought I would publish my notes
> > here in case it helps anyone else and in the hope that if I have made any
> > mistakes, someone will be kind enough to point them out to me!
> >
> > ~ Mark C
> >
> > These are my notes for building Apache httpd and subversion for use with
> > Trac [1]. All of the components need to be built using the same compiler to
> > avoid run-time issues and, since Trac currently relies on Python 2.x, that
> > means Visual Studio 2008.
>
> Why does Python 2.x (aka: 2.7.11) imply having to use VS 2008? MaxSVN
> [1] is built using VS 2015 Update 1 (the upcoming builds will use VS
> 2015 Update 2) in combination with Python 2.7.11 and I'm unaware of any
> issue related to that.
>
> [1] http://www.luke1410.de/typo3/index.php?id=97

I cannot remember specific references now but when I looked into this before it is because the official 2.x line is compiled using VC9. When memory is passed between applications relying on different version of the CRT then you can end up with hard to diagnose memory corruptions that eventually cause problems.

Digging a bit I found this thread [1] that highlights a similar CRT issue in python modules such as psycopg2 (which I use for PostGreSQL) that use the CRT internally...

[1] https://groups.google.com/forum/#!topic/modwsgi/ATtKX6qWLXc

If you can guarantee to me that isn't going to happen then it would make my life easier!

~ Mark C
Received on 2016-06-22 14:01:30 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.