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

#217 CentOS 5.0, Error: curses.h

None
closed-invalid
Neil Horman
5
2014-02-27
2007-07-02
Anonymous
No

Hi,
can anyone help me inpointing out wheres the problem.
I am trying to build Cscope on CentOS 5.0,
Am getting following errors when doing make.

make[2]: Leaving directory `/sbin/tools/cscope-15.6/doc'
Making all in src
make[2]: Entering directory `/sbin/tools/cscope-15.6/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT build.o -MD -MP -MF ".deps/build.Tpo" -c -o build.o build.c; \ then mv -f ".deps/build.Tpo" ".deps/build.Po"; else rm -f ".deps/build.Tpo"; exit 1; fi
build.c:52:20: error: curses.h: No such file or directory

Thanks,
Prashanth

Discussion

  • Neil Horman
    Neil Horman
    2007-07-02

    Logged In: YES
    user_id=827328
    Originator: NO

    you don't have the ncurses-devel package installed I expect. Do a yum install ncurses-devel and it should continue to build.

    Although the configure script should have caught the lack of ncurses before you started building. Did you run configure before running make?

    Also, unless you just want the latest cscope, you should just be able to install a recent cscope binary with yum as well. I maintain the cscope package in RHEL5, and so I expect it should be built in the CentOS repository as well.

     
  • Neil Horman
    Neil Horman
    2008-04-10

    • assigned_to: nobody --> nhorman
     
  • Neil Horman
    Neil Horman
    2014-02-27

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