Opened 15 years ago
Closed 15 years ago
#1124 closed Bugs (invalid)
./configure failed on cygwin
Reported by: | 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 , 15 years ago
Component: | build → Building Boost |
---|---|
Owner: | changed from | to
comment:2 by , 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 , 15 years ago
Milestone: | Boost 1.34.1 → To Be Determined |
---|
comment:4 by , 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 , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
./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.