[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc6-dev versus libncurses4-dev



*- On  4 Nov, Ulrich Hansmair wrote about "libc6-dev versus libncurses4-dev"
> hi debian-freaks,
> 
> currently I installed potato with downloaded install-disks. Then I got me a
> few tiny things like less, .... with apt-get. I´ m not very experienced with
> linux, but it worked fine.
> 
> Now I wanna compile me a kernel. So I got me all the needed packages (gcc,...).
> As I wanna use "make menuconfig" I tried to install the package libncurses4-dev
> (with dpkg -i). This resulted in a dependency error with package libc6-dev.
> This dependency problem exists also the other way round.
> 
> What I m doing wrong? Even the --force-depends option of dpkg brought no
> solution. Can anybody give me a hint?
> 

Well libncurses4-dev does depend on libc6-dev:

Package: libncurses4-dev
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 1127
Maintainer: Galen Hazelwood <galenh@debian.org>
Source: ncurses
Version: 4.2-3.4
Replaces: ncurses-developer
Provides: ncurses-dev, ncurses-developer, libncurses-dev
Depends: libncurses4, libc6-dev
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Conflicts: ncurses, ncurses-developer, ncurses21-dev, ncurses-dev, libncurses-dev
Description: Developer's libraries and docs for ncurses
 This package contains the header files, static, and profiling
 libraries and symbolic links that developers using ncurses will need.


But libc6-dev does NOT depend on libncurses4-dev.  It does conflict with
an earlier version though.


Package: libc6-dev
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 7762
Maintainer: Joel Klecker <debian-glibc@lists.debian.org>
Source: glibc
Version: 2.1.2-10
Replaces: ldso (<< 1.9.0-0), man-db (<= 2.3.10-41), gettext\
 (<= 0.10.26-1), ppp (<= 2.2.0f-24), libgdbmg1-dev (<= 1.7.3-24)
Provides: libc-dev
Depends: libc6 (= 2.1.2-10)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Recommends: c-compiler
Suggests: glibc-doc
Conflicts: libc-dev, libstdc++2.9-dev, libdl1-dev, libdb1-dev, \
libgdbm1-dev, libpthread0-dev, gcc (<= 2.7.2.3-1), \
libncurses4-dev (<< 4.2-3.1), libreadlineg2-dev (<< 2.1-13.1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Description: GNU C Library: Development libraries and header files.
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.


I would just use apt-get to install libncurses4-dev and it will pull in
libc6-dev and whatever else it needs:

apt-get install libncurses4-dev


HTH,

Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: