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

Apache 2.2.2 and Win32

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-05-12 22:56:17 CEST

I've been fiddling with Apache 2.2.2 trying to build Subversion and
thought I'd post what appears to need doing before Subversion on Win32
will work with it.

1. Newer APR's (>0.9.x) have a bug where they return incomplete
information on stat calls in certain situations (which Subversion uses
a lot) on Win32. There is a simple patch for it by Andreas Magnusson
but it has yet to be applied to APR, AFAIK.

2. Subversion maintains Visual Studio project files for the APR family
of projects and they don't work for newer APRs. This can be worked
around by generating the Subversion project files (which will generate
APR project files) and then using Visual Studio to open Apache's .dsw
file and force a conversion of the real APR projects which will
overwrite the ones Subversion wrote out. Long term, we should
probably just get rid of the APR project files entirely and include
instructions telling the user to convert the Apache project files with
Visual Studio themselves if they use VS -- it only needs to be done
once. In addition, gen_uri_delims seems to be gone in newer APRs
(folded into something else?) -- everything works without it, but
building will spit out an error about it.

3. Subversion has a couple of functions that assume permissions are
the same as attributes which is not true on Win32. The Win32 test
harness also assumes old APR dll names. The little attached patch
fixes these issues, but Brane is working on a more complete fix (which
may require changes to APR) to handle the permissions vs attributes

After fiddling with those things, Subversion trunk with Apache 2.2.2
builds on Win32 and works fine for me in VS2005. It passes
fsfs/ra_local tests, at least.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 12 22:56:46 2006

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