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

Re: Subversion & CMake

From: Mark Phippard <markphip_at_gmail.com>
Date: Sun, 28 Jun 2009 12:43:18 -0400

On Sun, Jun 28, 2009 at 9:10 AM, Robert Dailey<rcdailey_at_gmail.com> wrote:
> Thanks for the response.
> That's a pretty good guideline to follow. I definitely do need help for
> myself as a priority, but I was also hoping my work could be useful to the
> project which is why I posted here. This seemed like the perfect question
> for the developers, and it runs highly involves the development process of
> subversion so I made the decision of putting my inquiry here.
> I created 2 threads here and they're starting to sound like a double post at
> this point because they're starting to head in the same direction. Basically
> the only reason why I'm creating CMake scripts at this moment is because I
> am not aware of a reliable way to build Subversion on Windows. However,
> since I am apparently doing nothing but wasting everyone's time here, I
> think I'll ask on the users list and let these threads die.
> Building subversion is absolutely driving me crazy :) I hope I get it
> figured out sooner or later...

It is driving you crazy because you are trying to go around the build
system and build your own. Building SVN on Windows is not that hard.
Look at the buildbot scripts. You basically run gen-make.py and then
run the appropriate command for your Visual Studio version to build
it.

What is hard is setting up the build environment before you can build.
 You need to get Perl and Python installed, you need to gather all of
the SVN dependencies, in most cases you need to build those
dependencies following the build system they provide for Windows etc.
I recently wiped my laptop and I had SVN building in a day. That
counted the time to install Vista, Visual Studio and service packs.

The hardest dependency for me to build is usually APR. I usually just
build the Apache httpd server because its build process is simple and
it builds APR correctly as part of it. You can then just point the
SVN gen-make.py at those folders.

If you want scripts, TortoiseSVN has it all scripted with NAnt. I
believe AnkhSVN has it scripted with MSBuild or something similar, and
I recall one of our committers, Jeremy Whitlock posted a Python script
that builds everything and even fetches the dependencies. There is no
single official script because all of us that build it have just
settled on the way we do it. But we all use the building blocks
provided by SVN, which is gen-make.py.

To answer one of your questions, generally speaking yes you need to
build the libsvn_fs* libraries for a client. This is because an SVN
client ought to be able to access a repository via file:// (the
ra_local layer). You could build a client without this support, but
it would not be expected.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2366126
Received on 2009-06-28 18:43:37 CEST

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.