delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 15 Jan 2008 23:44:50 -0800 |
From: | Gary Johnson <garyjohn AT spk DOT agilent DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cannot install cscope in cygwin |
Message-ID: | <20080116074449.GA4389@suncomp1.spk.agilent.com> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <22566 DOT 69833 DOT qm AT web55301 DOT mail DOT re4 DOT yahoo DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <22566.69833.qm@web55301.mail.re4.yahoo.com> |
User-Agent: | Mutt/1.5.17 (2007-11-01) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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 AT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |