You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Vyacheslav V. Zholudev" <vy...@gmail.com> on 2008/09/17 15:49:13 UTC

Building SVN 1.4 under VS2005

Hello!

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.

Many thanks!
Vyacheslav

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

RE: Building SVN 1.4 under VS2005

Posted by Bert Huijben <be...@vmoo.com>.
                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/>
http://sharpsvn.open.collab.net/svn/sharpsvn/trunk/imports/, username guest
with a blank password)

 

                Bert

 

From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev@gmail.com] 
Sent: woensdag 17 september 2008 18:49
To: Bert Huijben
Cc: users@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
--enable-bdb-in-apr-util

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

Bert Huijben wrote: 

-----Original Message-----
From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev@gmail.com]
Sent: woensdag 17 september 2008 17:49
To: users@subversion.tigris.org
Subject: Building SVN 1.4 under VS2005
 
Hello!
 
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)
 
 
       Bert
 
 
  

 


Re: Building SVN 1.4 under VS2005

Posted by "Vyacheslav V. Zholudev" <vy...@gmail.com>.
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
--enable-bdb-in-apr-util

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

Bert Huijben wrote:
>> -----Original Message-----
>> From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev@gmail.com]
>> Sent: woensdag 17 september 2008 17:49
>> To: users@subversion.tigris.org
>> Subject: Building SVN 1.4 under VS2005
>>
>> Hello!
>>
>> 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)
>
>
> 	Bert
>
>
>   


RE: Building SVN 1.4 under VS2005

Posted by Bert Huijben <be...@vmoo.com>.
> -----Original Message-----
> From: Vyacheslav V. Zholudev [mailto:vyacheslav.zholudev@gmail.com]
> Sent: woensdag 17 september 2008 17:49
> To: users@subversion.tigris.org
> Subject: Building SVN 1.4 under VS2005
> 
> Hello!
> 
> 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)


	Bert


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