Cannot install cscope in cygwin
Pham D. Loc
phamdacloc@yahoo.com
Wed Jan 16 10:34:00 GMT 2008
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.
Thanks
Loc
----------------------------------------------------------
Here's my system info from cygcheck:
$ cygcheck -s
Cygwin Configuration Diagnostics
Current System Time: Tue Jan 15 23:03:01 2008
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
D:\cygwin\usr\X11R6\bin
d:\Perl\site\bin
d:\Perl\bin
d:\WINDOWS\system32
d:\WINDOWS
d:\WINDOWS\System32\Wbem
d:\Program Files\ATI Technologies\ATI.ACE\
d:\Program Files\QuickTime\QTSystem\
d:\Program Files\Microsoft SQL Server\90\Tools\binn\
d:\Program Files\Common Files\Adobe\AGL
d:\Program Files\Vim\vim71\
d:\Program Files\Microsoft SQL Server\80\Tools\Binn\
d:\Program Files\cscope\cscope-15.6\
d:\Program Files\SSH Communications Security\SSH Secure Shell
d:\PROGRA~1\COMMON~1\MUVEET~1\030625
Output from D:\cygwin\bin\id.exe (nontsec)
UID: 1009(PDL) GID: 513(None)
0(root) 513(None) 544(Administrators)
545(Users) 1010(Debugger Users)
Output from D:\cygwin\bin\id.exe (ntsec)
UID: 1009(PDL) GID: 513(None)
0(root) 513(None) 544(Administrators)
545(Users) 1010(Debugger Users)
SysDir: D:\WINDOWS\system32
WinDir: D:\WINDOWS
USER = 'PDL'
PWD = '/cygdrive/d/Program Files/cscope/cscope-15.6'
HOME = '/home/PDL'
MAKE_MODE = 'unix'
Use '-r' to scan registry
c: hd NTFS 29996Mb 99% CP CS UN PA FC StorageSpace
d: hd NTFS 27227Mb 88% CP CS UN PA FC WinXP_32bit
e: cd N/A N/A
D:\cygwin / system binmode
D:\cygwin/bin /usr/bin system binmode
D:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: D:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\kill.exe
Not Found: ld
Found: D:\cygwin\bin\ls.exe
Not Found: make
Found: D:\cygwin\bin\mv.exe
Not Found: patch
Found: d:\Perl\bin\perl.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Not Found: ssh
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe
Found: D:\cygwin\bin\test.exe
Not Found: vi
Found: d:\Program Files\Vim\vim71\vim.exe
61k 2006/11/10 D:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll
40k 2006/11/15 D:\cygwin\bin\cygform-8.dll
25k 2008/01/04 D:\cygwin\bin\cyghistory6.dll
271k 2007/08/24 D:\cygwin\bin\cygicons-0.dll
976k 2006/10/22 D:\cygwin\bin\cygiconv-2.dll
31k 2005/11/20 D:\cygwin\bin\cygintl-3.dll
31k 2006/10/23 D:\cygwin\bin\cygintl-8.dll
21k 2006/11/15 D:\cygwin\bin\cygmenu-8.dll
67k 2006/11/15 D:\cygwin\bin\cygncurses++-8.dll
237k 2006/11/15 D:\cygwin\bin\cygncurses-8.dll
12k 2006/11/15 D:\cygwin\bin\cygpanel-8.dll
133k 2007/06/27 D:\cygwin\bin\cygpcre-0.dll
303k 2007/06/27 D:\cygwin\bin\cygpcrecpp-0.dll
7k 2007/06/27 D:\cygwin\bin\cygpcreposix-0.dll
22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll
155k 2008/01/04 D:\cygwin\bin\cygreadline6.dll
1829k 2007/12/14 D:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.25
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Fri Dec 14 19:21:07 CET 2007
CVS tag: cr-0x5f1
Shared id: cygwin1S4
Potential app conflicts:
ZoneAlarm Personal Firewall.
Can't find the cygrunsrv utility, skipping services check.
Cygwin Package Information
Package Version
_update-info-dir 00575-1
alternatives 1.3.29a-1
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.33-18
bzip2 1.0.3-2
coreutils 6.9-5
crypt 1.1-1
cygutils 1.3.2-1
cygwin 1.5.25-7
cygwin-doc 1.4-4
editrights 1.01-2
findutils 4.3.11-1
gawk 3.1.6-1
grep 2.5.1a-4
groff 1.18.1-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.3-2
libiconv2 1.11-1
libintl3 0.14.5-1
libintl8 0.15-1
libncurses8 5.5-3
libpcre0 7.2-1
libpopt0 1.6.4-4
libreadline6 5.2.12-10
login 1.9-7
man 1.6e-1
mktemp 1.5-4
rebase 2.4.3-1
run 1.1.10-1
sed 4.1.5-2
tar 1.19-1
termcap 20050421-1
terminfo 5.5_20061104-1
texinfo 4.8a-1
tzcode 2007h-2
which 2.18-2
Use -h to see help about each section
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--
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/
More information about the Cygwin
mailing list