cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Failures while building on cygwin

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Sep 2014 08:47:46 +0200 (CEST)

On Thu, 18 Sep 2014, Michael Osipov wrote:

> I am trying to build tag 7.38.0 on Cygwin. I have noticed several errors:

> /cygdrive/d/Projekte/curl/missing: line 5: $'\r': command not found
> /cygdrive/d/Projekte/curl/missing: line 10: $'\r': command not found

These are empty lines. It feels like you have line endings screwed up somehow
and your shell disagrees with that. I don't see any such problem in the
missing file in git.

> configure: WARNING: `missing' script is too old or missing

I suspect it says this because of the earlier problems.

> 2. Generated src/tool_hugehelp.c contains carriage returns and makes gcc fail
> to compile that file.

So line endings again.

> 3. make install spits out some sed errors:
> $ make install > /dev/null
> /usr/bin/sed: -e Ausdruck #1, Zeichen 3: Unbekannter Befehl: `.'

Let me guess: line endings?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-18