You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Eric Hanchrow <of...@blarg.net> on 2003/02/20 20:18:32 UTC

Suggestion for building on Windows

I followed the instructions in INSTALL (release 0.18), and, as
suggested, used CVS to check out the apr-iconv library.  As it
happens, the version of CVS that I used (namely, the one that comes
with Cygwin) didn't put carriage-returns at the ends of lines; this
breaks the .dsp files.  So I used this shell command to put them
back.  I suspect this could be useful for other people too:

        find . -type f -name '*.dsp' | xargs file | egrep -vi crlf | awk -F: '{print $1}' | xargs unix2dos

This might be good to put into the INSTALL file.

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

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

Re: Suggestion for building on Windows

Posted by Branko Čibej <br...@xbc.nu>.
Eric Hanchrow wrote:

>>>>>>"Branko" == Branko Čibej <br...@xbc.nu> writes:
>>>>>>            
>>>>>>
>
>    Branko> No, all you have to put in the INSTALL file is a note to
>    Branko> use a native Windows CVS client, not the Cygwin version.
>    Branko> I'd accept a patch for that.
> 
>OK, then:
>
>cd /huge/usr-local/src/subversion-r4973/
>diff -wu /huge/usr-local/src/subversion-r4973/INSTALL\~ /huge/usr-local/src/subversion-r4973/INSTALL
>--- /huge/usr-local/src/subversion-r4973/INSTALL~	Wed Feb 19 14:55:41 2003
>+++ /huge/usr-local/src/subversion-r4973/INSTALL	Thu Feb 20 13:12:04 2003
>@@ -117,6 +117,10 @@
> 
>           $ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-iconv
> 
>+      Be sure to use a native Windows CVS client (as opposed to
>+      Cygwin's version) so that the .dsp files get carriage-returns at
>+      the ends of their lines.  Otherwise Visual Studio will complain
>+      that it doesn't reccognize the .dsp files.
> 
>       2.  autoconf 2.50 or newer (Unix only)
>  
>
Thanks, I'll commit this as soon as I've uploaded the fixed Windows
binaries.

-- 
Brane Čibej   <br...@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

Re: Suggestion for building on Windows

Posted by Branko Čibej <br...@xbc.nu>.
Eric Hanchrow wrote:

>OK, then:
>
>cd /huge/usr-local/src/subversion-r4973/
>diff -wu /huge/usr-local/src/subversion-r4973/INSTALL\~ /huge/usr-local/src/subversion-r4973/INSTALL
>--- /huge/usr-local/src/subversion-r4973/INSTALL~	Wed Feb 19 14:55:41 2003
>+++ /huge/usr-local/src/subversion-r4973/INSTALL	Thu Feb 20 13:12:04 2003
>@@ -117,6 +117,10 @@
> 
>           $ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-iconv
> 
>+      Be sure to use a native Windows CVS client (as opposed to
>+      Cygwin's version) so that the .dsp files get carriage-returns at
>+      the ends of their lines.  Otherwise Visual Studio will complain
>+      that it doesn't reccognize the .dsp files.
> 
>       2.  autoconf 2.50 or newer (Unix only)
>  
>
Committed in revision 4997. Thanks!

Next time, please add a log message for the patch. See HACKING.

-- 
Brane Čibej   <br...@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

Re: Suggestion for building on Windows

Posted by Eric Hanchrow <of...@blarg.net>.
>>>>> "Branko" == Branko Čibej <br...@xbc.nu> writes:

    Branko> No, all you have to put in the INSTALL file is a note to
    Branko> use a native Windows CVS client, not the Cygwin version.
    Branko> I'd accept a patch for that.
 
OK, then:

cd /huge/usr-local/src/subversion-r4973/
diff -wu /huge/usr-local/src/subversion-r4973/INSTALL\~ /huge/usr-local/src/subversion-r4973/INSTALL
--- /huge/usr-local/src/subversion-r4973/INSTALL~	Wed Feb 19 14:55:41 2003
+++ /huge/usr-local/src/subversion-r4973/INSTALL	Thu Feb 20 13:12:04 2003
@@ -117,6 +117,10 @@
 
           $ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-iconv
 
+      Be sure to use a native Windows CVS client (as opposed to
+      Cygwin's version) so that the .dsp files get carriage-returns at
+      the ends of their lines.  Otherwise Visual Studio will complain
+      that it doesn't reccognize the .dsp files.
 
       2.  autoconf 2.50 or newer (Unix only)

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

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

Re: Suggestion for building on Windows

Posted by Branko Čibej <br...@xbc.nu>.
Eric Hanchrow wrote:

>I followed the instructions in INSTALL (release 0.18), and, as
>suggested, used CVS to check out the apr-iconv library.  As it
>happens, the version of CVS that I used (namely, the one that comes
>with Cygwin) didn't put carriage-returns at the ends of lines; this
>breaks the .dsp files.  So I used this shell command to put them
>back.  I suspect this could be useful for other people too:
>
>        find . -type f -name '*.dsp' | xargs file | egrep -vi crlf | awk -F: '{print $1}' | xargs unix2dos
>
>This might be good to put into the INSTALL file.
>  
>
No, all you have to put in the INSTALL file is a note to use a native
Windows CVS client, not the Cygwin version. I'd accept a patch for that.

-- 
Brane Čibej   <br...@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