You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jon Foster <jo...@jon-foster.co.uk> on 2004/08/29 15:08:39 UTC

[PATCH] Win32 build documentation - misc fixes

Hi,

Assorted build documentation changes:

- Add AWK as a prerequisite.  I'm not sure how to build Subversion
   on Windows without this - it's documented as a prerequisite by
   Apache - but I guess somehow people have managed.  Perhaps the
   VC++ 6.0 APR build doesn't need it but VC.NET does?  I suggest that
   saying "always download it" is much simpler than trying to figure
   out under what circumstances it's needed.  Having it and not needing
   it doesn't hurt, but not having it and needing it causes a build
   failure.  It's a tiny download.

- Add APR as a prerequsite for non-Apache builds.  Bit of an omission
   this one!

- Add basic (i.e. sketchy but just enough to be usable) VS.NET build
   instructions.  Note that these are valid now, but the build will
   fail without the patch I posted earlier (see that e-mail for details).

- Explain what we mean by "Visual Studio 7" - it was marketed as
   "Visual Studio.NET" and MS now call it "Visual Studio.NET 2002"
   (to distinguish it from "Visual Studio.NET 2004").  Don't you
   just love Microsoft's version naming conventions (or lack thereof)?

- Remove the hard-coded NASM path and use a variable.


Log message per HACKING:

Assorted build documentation cleanups, and documenting the VC.NET build.

    * build/win32/vc6-build.bat.in
      (AWKDIR, NASMDIR): New variables
      (PATH): Add AWKDIR and NASMDIR, remove hardcoded NASM path
      (Copy the binaries into a tree suitable for zipping): Reorder so
      the two apr-iconv copy commands are together

    * INSTALL
      (E.1 Prerequisites): Give the marketing names for Microsoft
      Visual Studio 7.  Add Awk as it is needed for (at least) Apache
      and VS.NET APR-util builds.  Add APR as a prerequisite for
      non-Apache builds.
      (E.3 Preparation): Add Awk, APR.  Mention Perl must be on path.
      (E.4 Building the Binaries): Add AWK to path.  Introduce NASMDIR
      rather than using hard-coded NASM path.  Add basic VC.NET build
      instructions.

Kind regards,

Jon Foster

[Patch as attachment to prevent mangling by Mozilla Mail]



Re: [PATCH] Win32 build documentation - misc fixes

Posted by "D.J. Heap" <dj...@shadyvale.net>.
Jon Foster wrote:
> 
> Assorted build documentation cleanups, and documenting the VC.NET build.
> 
>    * build/win32/vc6-build.bat.in
>      (AWKDIR, NASMDIR): New variables
>      (PATH): Add AWKDIR and NASMDIR, remove hardcoded NASM path
>      (Copy the binaries into a tree suitable for zipping): Reorder so
>      the two apr-iconv copy commands are together
> 
>    * INSTALL
>      (E.1 Prerequisites): Give the marketing names for Microsoft
>      Visual Studio 7.  Add Awk as it is needed for (at least) Apache
>      and VS.NET APR-util builds.  Add APR as a prerequisite for
>      non-Apache builds.
>      (E.3 Preparation): Add Awk, APR.  Mention Perl must be on path.
>      (E.4 Building the Binaries): Add AWK to path.  Introduce NASMDIR
>      rather than using hard-coded NASM path.  Add basic VC.NET build
>      instructions.
> 
> Thanks for looking at these, DJ.

Thank you!  Committed in 10791.

DJ


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Win32 build documentation - misc fixes

Posted by Jon Foster <jo...@jon-foster.co.uk>.
Hi,

D.J. Heap wrote:
 > Jon Foster wrote:
 >
 >> Hi,
 >>
 >> Assorted build documentation changes:
 >
 > [snip]
 >
 > This looks pretty good except for the odd formatting below (Extract

Oops, sorry about that.  Fixed patch attached.

This doesn't address the BDB issues - I'll do that as a separate patch
later.

Log message per HACKING (unchanged):

Assorted build documentation cleanups, and documenting the VC.NET build.

    * build/win32/vc6-build.bat.in
      (AWKDIR, NASMDIR): New variables
      (PATH): Add AWKDIR and NASMDIR, remove hardcoded NASM path
      (Copy the binaries into a tree suitable for zipping): Reorder so
      the two apr-iconv copy commands are together

    * INSTALL
      (E.1 Prerequisites): Give the marketing names for Microsoft
      Visual Studio 7.  Add Awk as it is needed for (at least) Apache
      and VS.NET APR-util builds.  Add APR as a prerequisite for
      non-Apache builds.
      (E.3 Preparation): Add Awk, APR.  Mention Perl must be on path.
      (E.4 Building the Binaries): Add AWK to path.  Introduce NASMDIR
      rather than using hard-coded NASM path.  Add basic VC.NET build
      instructions.

Thanks for looking at these, DJ.

Kind regards,

Jon Foster

Re: [PATCH] Win32 build documentation - misc fixes

Posted by "D.J. Heap" <dj...@shadyvale.net>.
Jon Foster wrote:

> Hi,
> 
> Assorted build documentation changes:
[snip]

This looks pretty good except for the odd formatting below (Extract 
Download):

>        * Extract Apache source into SVN\http-2.0.50 if you wish to build the
>          server dso modules.
> +      * If you are building from a checkout of Subversion, and you are NOT
> +        building Apache, then you will need the APR libraries.  Extract
> +Download
> +  (The easiest way to do this is to copy the apr,
> +        apr-util and apr-iconv directories from the srclib folder in the
> +        Apache source ZIP file into the SVN\) 
>        * Extract the pre-built zlib into SVN\zlib and copy
>          SVN\zlib\static32\zlibstat.lib into SVN\zlib

Martin and/or Brane, does this work and look ok to you guys?

DJ


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org