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

RE: Building SVN 1.4 under VS2005

From: Bert Huijben <bert_at_vmoo.com>
Date: Wed, 17 Sep 2008 19:37:15 +0200

                Hi Vuaceslav,


Could you try


gen-make.py -t vcproj -vsnet-version=2005


instead of gen-make.py -t dsp.


The -t dsp creates Visual C++ 6.0 compatible project files, while -t vcproj
-vsnet-version=2005 creates Visual C++ 2005 project files.



About the apr issue: I remember having some issue using apr 0.9.

Using current apr releases I call 'build/cvtdsp.pl -2005 -mt' to make the
project Visual C++ 2005 compatible before converting it to a .vcproj.


See the SharpSvn repository for more details on how I build Subversion. (
http://sharpsvn.open.collab.net/svn/sharpsvn/trunk/imports/, username guest
with a blank password)




From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev_at_gmail.com]
Sent: woensdag 17 september 2008 18:49
To: Bert Huijben
Cc: users_at_subversion.tigris.org
Subject: Re: Building SVN 1.4 under VS2005


Dear Bert!

Here are my parameters:

python gen-make.py -t dsp --with-httpd=..\httpd-2.0.63
--with-berkeley-db=db4-win32 --with-openssl=..\openssl-0.9.7c
--with-zlib=..\zlib --with-libintl=..\svn-win32-libintl --enable-nls

btw, what did you mean by old version of apr?

Bert Huijben wrote:

-----Original Message-----
From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev_at_gmail.com]
Sent: woensdag 17 september 2008 17:49
To: users_at_subversion.tigris.org
Subject: Building SVN 1.4 under VS2005
When I try to build Subversion 1.4 in VS 2005 (and 2008 as well) I get
multiple errors like:
54>fatal error RC1107: invalid usage; use RC /? for Help
54>Project : error PRJ0002 : Error result 1 returned from 'C:\Program
Files\Microsoft SDKs\Windows\v6.0A\bin\rc.exe'.
I found out that it is due to the beginning of the rc command line:
rc.exe /d "SVN_FILE_NAME="mod_dav_svn.so"" /d
"SVN_FILE_DESCRIPTION="Subversion plug-in for the Apache DAV module""
<other parameteres>
We can see that in this generated string we have double quotes that
cause an error.
Of course I can change this manually, but SVN has lots of projects and
those projects are generated automatically.
So the question is, is there a way to overcome this problem in an
automated way?
In INSTALL file it's written that SVN can be built under VS2003 and
VS2005 as well. So how one did manage to do that?
Any pointers are highly appreciated.

Which arguments did you pass to gen_win.py?
I remember building 1.4 with Visual Studio 2005 without major issues. (I
remember having a similar issue building an old version of apr; but they
have a perl script to fix it)

Received on 2008-09-17 20:37:34 CEST

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

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