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

Re: [PATCH] Reworking INSTALL, Take 2

From: Bruce Atherton <bruce_at_callenish.com>
Date: 2002-02-03 22:24:54 CET

At 02:53 AM 2/2/02 +0100, Branko =?UTF-8?B?xIxpYmVq?= wrote:
>Bruce Atherton wrote:
>>For example, how is getdate.c generated on a Windows platform? Do you
>>require a Cygwin or Mingw or DJGPP version of yacc/bison in order to compile?
>
>If those were required, they'd be listed HACKING. :-)

I know, I need to develop a more trusting nature toward documentation. Just
call me Mr. Cynic.

>There's a pre-build getdate.cw that gets copied to getdate.c on Windows.

Ok, thanks. I think I'll mention that in case anyone else gets confused as
easily as I do.

>>For bootstrapping, what about diff and patch. The README included with
>>the precompiled windows client suggests that they have to be stored in
>>"C:\Program Files\cygnus\cygwin\bin", yet I have cygwin installed in a
>>different directory and it seems to work. Do they just have to be on the
>>PATH? Does the libdb DLL or the svn EXE?
>
>That's interesting. The paths to diff and patch are hard-coded in
>svn_private_config.hw (and can of course be changed for your setup). I
>wonder if the diff- and patch- spawining code hasn't changed to use PATH
>... it hasn't. Weird. Are you sure you actually called diff and/or patch?
>IIRC they only get used for merging local changes during update, si you
>might not have hit that code yet.

I think so. Are you sure it isn't the change to APR and svn_io_run_cmd to
take a flag for searching the path? Here is a session in a DOS box that
does a DIFF without the PATH being set to pick up cygwin, and then a DIFF
that does:

C:\svn\subversion>..\svn --version
Subversion Client, version 0.8.0 (revision 1029)
    compiled Jan 23 2002, 19:13:03

Copyright (C) 2000-2002 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema

C:\svn\subversion>..\svn diff -r 1100 README
Index: ./README
===================================================================

apr_error: #23657, src_err 0 : <One of the library files needed to run this
appl
ication cannot be found. >
   svn_io_run_cmd: error starting c:\progra~1\cygnus\cygwin\bin\diff.exe
process

C:\svn\subversion>PATH=%PATH%;c:\cygwin\bin

C:\svn\subversion>..\svn diff -r 1100 README
Index: ./README
===================================================================
--- ./README
+++ ./.svn/tmp/README.63464.00001.tmp Sun Feb 3 13:10:18 2002
@@ -1,59 +1,175 @@
+
                 Subversion, a version control system.
                 =====================================

-This code is still under development. For an overview, visit
+$LastChangedDate$
+
... etc

It looks to me like the PATH is now supported.

>I couldn't integrate neon into the Windows build until the recent 0.18.5
>release, which includes all of my patches for the Neon build system (can
>use zlib and OpenSSL, yeah!).

So does the latest Subversion work against Neon 0.18.5? Should I include a
note that you can build Neon yourself on Windows if you use 0.18.5 or
greater? Is there anything else to know to make that work?

>Berkeley DB has its own build instructions. I just uploaded the binaries
>as a convenience, because the Windows build system requires the includes
>and libs in a specific location. There's no reason why you couldnt build
>Berkeley DB and put the files in the right places yourself.

Great, thanks.

>I'd appreciate any and all patches to the Win32 build docs. I'ts pretty
>hard to write good user docs if you set up the system yourself; I usually
>forget to mention one or two crucial steps that I take for granted. :-(

I completely understand. Is there anything I should be looking at other
than HACKING for build instructions on Windows?

>And I hope that someday soon we'll be able to add instructions for
>installing mod_dav_svn into Apache on Win32. Hold your breath ...

Excellent news.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:03 2006

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

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