I've spent some time over the past week trying to compile SVN 1.3.2 for
Apache 2.2.2 (Win32 - XPSP2) under VS6. Everything appears to compile
correctly, however, it appears as though there are some similar issues to
those described below (regarding stat calls). I did apply the patch that
was attached to the previous email and this is what it resulted in:
C:\svntest>svnadmin create Software
svnadmin: Can't stat directory 'Software\db': Partial results are valid but
processing is incomplete
C:\svntest>svn co http://svn.apache.org/repos/asf/apr/apr/trunk apr
svn: Can't move 'apr\.svn\tmp\entries' to 'apr\.svn\entries': Partial
results are valid but processing is incomplete
Has anyone seen this problem before? I attempted searching for this issue
and this seems to be the closest related. This isn't a particularly major
issue, however my curiosity is killing me.
Any thoughts would be greatly appreciated. Thanks much.
jward.
===========================================
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 issue. 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.
DJ
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 11 19:43:57 2006