[Mono-list] Newbie question
Sun, 26 Jan 2003 05:18:22 +0100
On Sat, Jan 25, 2003 at 10:40:02PM -0400, PJ Cabrera wrote:
> On Wed, 2003-01-08 at 16:04, Jaroslaw Kowalski wrote:
> > First, make sure, you're using the right make.exe (check your PATH for
> > possible other make-s)
> > I've found similar problems when using nmake instead of make or vice versa.
> > Jarek
> I hope it's not too late to add my 2 cents ...
> I have also seen this same error message under Cygwin. For example, it
> has happened to me when Cygwin was configured to treat all files as Unix
> files and the Makefile was a DOS file (CRLF on line endings instead of
> just CR).
> The main culprit was using WinZip to untar the sources. It is a Windows
> app, obviously, and puts CRLFs in all text files. The solution is to
> use tar under Cygwin to untar the sources.
> Perhaps this issue can be chalked up to this WinZip problem?
> Jeroen, did you eventually get the Mono build to work? How did you get
> the Mono sources onto disk when you tried the build?
I think that WinZip isn't problematic with CRLF. A de/compression
application must be deterministic, it only runs an algorithm and doesn't
look inside the content of any file.
In a unix environment there are a lot of apps that works well with crlf
files (only do not process that character) but there are other kind of
apps that have a lot of problems with crlf (for example flex and as I
see, make). CygWin is a unix environment for windows, configure it for
tun applications in unix style, it will work better.
Pedro Martinez Juliá
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC