This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cannot install cscope in cygwin
- From: Gary Johnson <garyjohn at spk dot agilent dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Jan 2008 23:44:50 -0800
- Subject: Re: Cannot install cscope in cygwin
- References: <22566.69833.qm@web55301.mail.re4.yahoo.com>
On 2008-01-15, Pham D. Loc wrote:
> Hi -
>
> I started using cygwin and trying to install cscope on WinXP but i
> couldn't get pass the first step running configure. The cscope
> I've download is version 15.6. When I tried to run configure, I
> get the following error messages:
>
>
>
> PDL@homeuse /cygdrive/d/Program Files/cscope/cscope-15.6
>
> $ ./configure
>
> ./configure: line 11: $'\r': command not found
>
> ./configure: line 19: syntax error near unexpected token `elif'
>
> '/configure: line 19: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
>
>
>
> Any help would be appreciated.
My guess is that your configure script has DOS (CR-LF) line endings,
probably resulting from unpacking the cscope archive file using some
Windows archiving program, such as WinZip. You can fix this
particular file by using d2u. However, you might be better off by
deleting all the unpacked files and unpacking the archive again
using Cygwin tools such as tar.
HTH,
Gary
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/