Hi Daniel,

Am 2014-09-18 um 08:47 schrieb Daniel Stenberg:
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.

This is perl in my opinion. See the provided link.

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?

I am using msysgit for Windows and there are my Git settings:

$ git config --list --global
gui.encoding=utf-8
user.email=1983-01...@gmx.net
user.name=Michael Osipov
core.autocrlf=true
core.eol=native
core.safecrlf=true
push.default=simple
log.date=iso
credential.helper=wincred
sendemail.smtpserver=C:/Programme/Git/bin/msmtp

I did 'git ls-files --others | xargs -IW rm W', 'git reset --hard' and ran ./buildconf again which did not help either. I do not really want to disable to core configs because they seem to be common consensus on GitHub and other sites.

Out of curiousity, I did a dos2unix on all files and it does work except for tool_hugehelp.c and install. Critical files are already flagged in .gitattributes to avoid such problems. The problem is which is problematic now.


Michael
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to