Mail Archives: cygwin/2005/10/31/15:26:02
Problem solved. I installed libcurses-dev package which was missing.
This is different from ncurses.
frank wrote:
> I can't find curse package in cygwin setup. but i did installed ncurses.
> Below is returned by cygcheck -c
>
> ncurses 5.4-2 OK
>
> thanks,
>
>
> Reid Thompson wrote:
>
>> ----Original Message----
>> From: frank [mailto:mingyu DOT zhu AT sbcglobal DOT net]
>> Sent: Monday, October 31, 2005 1:59 PM
>> To: cygwin AT cygwin DOT com
>> Subject: cscope compilation error in cygwin
>>
>>
>>
>>> hi,
>>> I try to use cscope in cygwin. My pc is win2000. the
>>> cygwin version is
>>> $ cygcheck -V
>>> cygcheck version 1.64
>>> System Checker for Cygwin
>>> Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red
>>> Hat, Inc. Compiled on Mar 1 2005
>>> try to use cscope-15.5.
>>>
>>> Could anybody help me out? thanks in advance!
>>>
>>> **************************
>>> below is the error,
>>> **************************
>>>
>>> $ ./configure
>>> checking for a BSD-compatible install... /usr/bin/install
>>> -c checking whether build environment is sane... yes
>>> checking for gawk... gawk checking whether make sets $(MAKE)... yes
>>> checking build system type... i686-pc-cygwin checking host
>>> system type... i686-pc-cygwin checking for a
>>> BSD-compatible install... /usr/bin/install -c checking
>>> for gcc... gcc checking for C compiler default output...
>>> a.exe checking whether the C compiler works... yes
>>> checking whether we are cross compiling... no checking
>>> for suffix of executables... .exe checking for suffix of
>>> object files... o checking whether we are using the GNU C
>>> compiler... yes checking
>>> whether gcc accepts -g... yes checking for gcc option to
>>> accept ANSI C... none needed checking for style of include
>>> used by make... GNU checking dependency style of gcc...
>>> gcc3 checking for flex... flex checking for yywrap in
>>> -lfl... yes checking lex output file root... lex.yy
>>> checking whether yytext is a pointer... yes checking for
>>> bison... bison -y checking how to run the C
>>> preprocessor... gcc -E checking for egrep... grep -E
>>> configure: checking "location of ncurses.h file"... checking for
>>> ANSI C header files... yes
>>> checking for sys/types.h... yes
>>> checking for sys/stat.h... yes
>>> checking for stdlib.h... yes
>>> checking for string.h... yes
>>> checking for memory.h... yes
>>> checking for strings.h... yes
>>> checking for inttypes.h... yes
>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking regex.h usability... yes
>>> checking regex.h presence... yes
>>> checking for regex.h... yes
>>> checking for regcomp in -lregex... no
>>> checking for gnome-config... no
>>> checking for pkg-config... no
>>> ./configure: line 4370: pkg-config: command not found
>>> checking for dirent.h that defines DIR... yes
>>> checking for library containing opendir... none required
>>> checking for ANSI C header files... (cached) yes checking
>>> fcntl.h usability... yes checking fcntl.h presence... yes
>>> checking for fcntl.h... yes checking sys/window.h
>>> usability... no checking sys/window.h presence... no
>>> checking for sys/window.h... no checking sys/termios.h
>>> usability... yes checking sys/termios.h presence... yes checking for
>>> sys/termios.h... yes checking for unistd.h... (cached) yes
>>> checking for an ANSI C-conforming const... yes checking
>>> for mode_t... yes checking for pid_t... yes checking for
>>> size_t... yes checking return type of signal handlers...
>>> void checking for strchr... yes checking for memcpy... yes
>>> checking for memset... yes checking for setmode... yes
>>> checking for _setmode... yes checking for getcwd... yes
>>> checking for regcmp... no checking for regcomp... yes
>>> checking for strerror... yes checking for vsnprintf... yes
>>> checking for snprintf... yes checking for lstat... yes
>>> checking for fixkeypad... no checking whether lstat
>>> dereferences a symlink specified with a trailing
>>> slash... yes
>>> checking whether lstat accepts an empty string... no
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>> config.status: creating doc/Makefile
>>> config.status: creating src/Makefile
>>> config.status: creating contrib/Makefile
>>> config.status: creating config.h
>>> config.status: config.h is unchanged
>>> config.status: executing depfiles commands
>>>
>>>
>>> $ make
>>> make all-recursive
>>> make[1]: Entering directory `/usr/cscope-15.5'
>>> Making all in doc
>>> make[2]: Entering directory `/usr/cscope-15.5/doc'
>>> make[2]: Nothing to be done for `all'.
>>> make[2]: Leaving directory `/usr/cscope-15.5/doc'
>>> Making all in src
>>> make[2]: Entering directory `/usr/cscope-15.5/src'
>>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT
>>> build.o -MD -MP -MF ".deps/build.Tpo" \
>>> -c -o build.o `test -f 'build.c' || echo './'`build.c; \
>>> then mv ".deps/build.Tpo" ".deps/build.Po"; \
>>> else rm -f ".deps/build.Tpo"; exit 1; \
>>> fi
>>> build.c:51:20: curses.h: No such file or directory
>>> make[2]: *** [build.o] Error 1
>>> make[2]: Leaving directory `/usr/cscope-15.5/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/usr/cscope-15.5'
>>> make: *** [all] Error 2
>>>
>>> --
>>> 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/
>>>
>>
>>
>> verify that you have the [n]curses package installed, else
>> run setup.exe and select [n]curses package for download
>>
>> reid
>>
>> --
>> 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/
>>
>>
>>
>>
>
>
> --
> 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/
>
>
--
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/
- Raw text -