Opened 15 years ago

Closed 15 years ago

#1124 closed Bugs (invalid)

./configure failed on cygwin

Reported by: pop.atry@… Owned by: Douglas Gregor
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

Atry@ATRY /cygdrive/c/boost_1_34_1 $ ./configure ./configure: line 7: $'\r': command not found ./configure: line 9: $'\r': command not found ./configure: line 23: $'\r': command not found ./configure: line 28: $'\r': command not found ./configure: line 30: syntax error near unexpected token `$'do\r '/configure: line 30: `do

Change History (5)

comment:1 by Vladimir Prus, 15 years ago

Component: buildBuilding Boost
Owner: changed from Vladimir Prus to Douglas Gregor

./configure is Doug department. The error definitely means that in Windows packages, configure has Windows line ending. That's probably wrong, but I don't know for sure what's the right solution.

comment:2 by René Rivera, 15 years ago

The most likely cause is that the OP is trying to use the ZIP archive, which has DOS EOLs, with cygwin. The OP needs to use the TAR archive, which has UNIX EOLs.

comment:3 by René Rivera, 15 years ago

Milestone: Boost 1.34.1To Be Determined

comment:4 by pop.atry@…, 15 years ago

The one I download is .7z, It causes this problem. And I reinstall from a tar.bz2 packet, that's OK.

comment:5 by René Rivera, 15 years ago

Resolution: invalid
Status: newclosed

EOL problem confirmed... Closing as this is an expected behavior, in that not all tools in Windows deal with differing EOLs. I.e. it's not a Boost bug.

Note: See TracTickets for help on using tickets.