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

Re: [PATCH] Update build instructions for Win32 platform.

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-04-26 12:13:05 CEST

D.J. Heap wrote:
> Some notes inlined below...In some cases it appears you are documenting
> the 1.0.x series, but this patch is against trunk which has had a number
> of changes to the build system. Have you been building trunk or 1.0.x
> with these instructions?

I am going to create two sets of instructions - one for 1.0.x and one for the trunk.

> Martin Tomes wrote:
>> Update the instructions for building Subversion on the Win32 platform.
>> + * Visual Studio 6 with the latest service pack. It can be built
>> + with Visual Studio 7 but these instructions assumes VS6.
> The only difference should be the -t parameter to gen-make.py. The
> reason we don't tell VC7+ users to just use the dsp's is because MS
> changed quoting rules for the resource compiler and then didn't bother
> to convert them correctly when converting projects.

Added 'use -t vcproj' to gen-make.py to use VS .NET.

>> + * Apache 2 msi install file, also from
>> + http://httpd.apache.org/download.cgi (required for running the
>> + tests)
> If you're building from source, why do you need the msi? I've never
> needed it to run tests...

It is the easiest way to get Apache installed and running, the only reason we have to build Apache
from source is to create the modules.

>> + * The latest version of apr-util (see Section I.1) must be told
>> + where to find the Berkeley DB include files and libraries. You
>> + can do this with the w32locatedb.pl script (located in the
>> + "build" directory in the apr-util sources), which modifies
>> + apr-util's header and DSP files. The instructions at the top of
>> + the script file explain how to use the script.
> Although possibly a good idea, this is not really necessary anymore with
> Apache 2.0.49.

How does Apache locate BDB then? It's buried in the subversion source directory so I can't see how
it can find it.

>> + * A Subversion client binary from http://subversion.tigris.org/ to
>> + do the initial checkout of the Subversion source. See the
>> section
>> + "Bootstrapping from a Zip or Installer File under Windows" above
>> + for more.

That didn't work for me, I think I had line ending problems on Windows.

>> + OpenSSL
>>
>> - Finally, you will need to copy the Apache apr libraries into the
>> - root of the Subversion source tree.
>> + C:\SVN> cd openssl-0.9.7c
>> + C:\SVN\openssl-0.9.7c> perl Configure VC-WIN32
>> + C:\SVN\openssl-0.9.7c> ms\do_nasm
>> + C:\SVN\openssl-0.9.7c> nmake -f ms\ntdll.mak
>> + C:\SVN\openssl-0.9.7c\out32dll> cd out32dll
>> + C:\SVN\openssl-0.9.7c\out32dll> ..\ms\test
>> + C:\SVN\openssl-0.9.7c\out32dll> cd ..\..

> I guess it's nice to document how to build openssl here, but isn't this
> just a copy/paste of the openssl docs? Could we just point to it so we
> don't have to tweak it here if openssl builds change some day?

My goal was to make it as easy as possible to get Subversion built so I think it is worth repeating
these instructions.

>> + C:\SVN> perl httpd-2.0.49\srclib\apr-util\build\w32locatedb.pl
>> dll src\db4-win32\include src\db4-win32\lib
> Again, not really necessary for Subversion, though you may want it for
> Apache.

I think I need it!

>> + * gen-make.py is supposed to configure the build to use apr* from
>> + the Apache build, it doens't work so the built apr* files
>> have to
>> + be copied from the Apache build to the src directory.
> This sounds like what 1.0.x requires...trunk no longer has this problem.

Thanks, when I try to do trunk I'll remember that!

Thank you very much, most helpful. I am currently working on 1.0.x INSTALL.

-- 
Martin Tomes
echo 'Martin x Tomes at controls x eurotherm x co x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 26 12:13:53 2004

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.