Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#277 Error in installing cscope

closed-invalid
nobody
None
5
2012-11-06
2012-09-28
Niraj
No

When I try to run Configure script, I get below error:
$ ./configure
./configure: line 16: $'\r': command not found
./configure: line 31: syntax error near unexpected token `newline'
'/configure: line 31: ` ;;

Discussion

  • Niraj
    Niraj
    2012-09-28

    I am using cygwin xterm.

     
  • \r stands for the ASCII carriage return character. By far the most typical reason for that problem would be that your 'configure' script was generated by tools using DOS line endings, but you're using it in an environment that doesn't expect DOS line ends (e.g. Cygwin in binary-mount mode).

    As such, this is almost guaranteed to be an issue not with the program itself, but with the way you acquired or unpacked the source code

     
    • status: open --> open-invalid
     
    • status: open-invalid --> closed-invalid