discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] problem with ^M (CR) in configure.ac and svn (Win


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] problem with ^M (CR) in configure.ac and svn (Windows/MinGW)
Date: Tue, 08 Aug 2006 09:12:59 -0700
User-agent: Thunderbird 1.5.0.5 (X11/20060728)

Don Ward wrote:

> so now the problem occurs among the entries for gr-trellis.  But when I
> run ./configure I get a different (earlier?) error:

This all has to do with how svn handles line ending translation.

A developer can add a property to a file which says to convert the line
endings to whatever is native on the machine during checkout.  So when
you run svn co it will convert the line endings on files for which this
property is set:

http://svnbook.red-bean.com/en/1.1/ch07s02.html

...discusses properties in general and the svn:eol-style one in
particular near the end.

When we first converted the CVS repository to subversion, this property
was set on all the files in the repository by the conversion script.
However, it is not automatically done for new files, so for a lot of the
stuff that Eric and I have done in the last couple weeks, it's not set.
The gr-trellis stuff was recently added and it's not set on any of those
(except I manually set it on grc_trellis.m4 as an experiment.)

Also, your version of svn is important.  In particular, if you are
running under Cygwin or MSYS, it is very important to use the version of
subversion supplied for those environments, and not the native Windows
one.  That's because the cygwin version of svn treats the native line
ending format as Unix, not DOS, so that all the other cygwin programs
like autoconf see what they are expecting.

I'm not entirely sure this is what's going on, but it's a good bet.

There is a way for us developers to set our personal subversion
configuration to automatically add the native line ending property when
we add a file:

http://svn.haxx.se/users/archive-2003-12/0063.shtml

...for a discussion about this.

Unfortunately, we'll also have to go back and make sure this is set for
all the existing files. Sorry we overlooked this.

-Johnathan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]