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

Re: comments about building svn on windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-08-04 18:31:04 CEST

Ivan Kolev wrote:

> I was finally forced to build the svn client and debug the ssh access,
> because it's really hard to make it work on Windows.
>
> Here are a couple of things that had to be corrected to build svn
> successfully with MSVC 6.0.
>
> The .dsp/.dsw files in the apr and apr-utils subfolders (which are not
> generated by gen-make.py) are in Unix format (LF only) and MSVC 6
> won't open them. I suppose it is not up to the Subversion team to
> correct them as APR is an external library. Actually I'm not sure why
> MSVC 6 doesn't want to open .dsp/.dsw files in Unix format, it does
> compile c/cpp files in Unix format so it's a bit strange. Anyway, I
> had to convert these projects to DOS format (CR/LF) to make MSVC 6
> open them.

You've been using the source tarball, right? Well, you have to remove
apr and apr-util from that tarball, and get the Windows sources that
come with httpd. That's all in the build instructions.

> Another thing I had to correct was changing the line
> #define APU_HAVE_APR_ICONV 1
> to
> #define APU_HAVE_APR_ICONV 0
> in apr-util\include\apu.hw
> As apr-iconv is not distributed with the svn source, and I don't need
> it (I read in the mail archive that it's needed for UTF-8
> conversions), I preferred to switch it off.

Wrong. You should get the apr-iconv source instead. SVN will not work on
Windows without apr_iconv.

> I was hoping that I would be able to build the svn client without
> Berkeley DB, since it seems logical that the client doesn't have to
> know about the DB used by the server. However, the svn client
> inevitably depends on BDB.

Yes, it does, at least on Windows. The necessary changes to the build
scripts that would make BDB optional on Windows haven't been made yet.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 4 18:31:49 2003

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.