Re: trouble with curses.h
rawat@iucaa.ernet.in writes:
> Hi all,
> I have debian 3.0 woody on a linux box..........
> i am getting the following error while complining a program...........
>
> menkar >> make
> cc -c galfit.c
> galfit.c:15: curses.h: No such file or directory
> make: *** [galfit.o] Error 1
>
> i undersatnd that i need to install ncurses-dev............when i try
> using apt-get i get the following error.............
>
> menkar:/home/abhi# apt-get install ncurses-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Note, selecting libncurses5-dev instead of ncurses-dev
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
>
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> libncurses5-dev: Depends: libncurses5 (= 5.2.20020112a-7) but 5.4-4 is
> to be installed
> E: Broken packages
> ------------------------------------------------------------------------
>
> Is this a bug?
> i am NOT using an unstable distribution!
Apt tries to install libncurses5-dev from testing/unstable, so most
likely your /etc/apt/sources.list file is not set up correctly. Make
sure it refers to stable, but not testing or unstable. Then issue the
command
apt-get update && apt-get install libncurses5-dev
Martin
--
,--. Martin Dickopp, Dresden, Germany ,= ,-_-. =.
/ ,- ) http://www.zero-based.org/ ((_/)o o(\_))
\ `-' `-'(. .)`-'
`-. Debian, a variant of the GNU operating system. \_/
Reply to: