Okay, this is what I've done. I removed the eol line style from configure.in, then forced line feeds to be LF.

That fixes the problems on MingW/msys and Linux (well there was no problem there). Don't know about the Mac though, doesn't it use CR?

Charlie

Paul Ramsey wrote:
As long as non-mingw windows compiles don't get screwed by having unix linefeeds...

Charlie Savage wrote:
Okay, I've tracked down an issue caused by the move to SVN.

By default, SVN does not convert line feeds based on platform, unlike CVS. However, you can override this either by local setting on your machine or by adding a property to each file. For more information see:

http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.5

It looks like in the automated move to SVN, every file was tagged with svn:eol-style native.

So, on Windows, you get CR/LF while on *Nix its just Line Feed. Thus configure.in gets CR/LF which breaks autoconf on line 297 when compiling under MingW.

It seems to me the best solution is to remove this property on every file so code checks out the same on every system. Alternatively, I can play with .configure.in to see if I can get it to work on both platforms (since everything else seems to at least compile).

What should I do?

Charlie




[EMAIL PROTECTED] wrote:
On Thu, Aug 03, 2006 at 12:11:40PM -0600, Charlie Savage wrote:
For GEOS 3 it would be really good to support mingw. I have not been able to compile the geos 3 head branch using migw for a long time - I get a series of linker errors that I posted to the last about a month ago. Any help fixing them would be appreciated.

Anyway, just tried again after the move to SVN. And this time I can't get past autogen didn't work.

$ ./autogen.sh
Running autoheader
' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:848: AC_CONFIG_FILES is expanded from...
configure.in:297:

Could you try the version in CVS ? (just in case it's CR/NL issue).

--strk;

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

------------------------------------------------------------------------

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to