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

Re: Funny Dependencies !



Hi Uwe,

On Fri, Jul 29, 2005 at 11:51:50AM +0800, Uwe Dippel wrote:
> If
> 
> ii  gcc            3.3.5-3        The GNU C compiler
> ii  gcc-3.3        3.3.5-13       The GNU C compiler
> ii  gcc-3.3-base   3.3.5-13       The GNU Compiler Collection (base
> package)
> 
> is what you find on your box, you think you can compile. At least "Hello
> World".
> Wrong:
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> 
> Obviously, apt-get has buggy dependencies here; and we

joachim@debianpc:~$ apt-cache show gcc-3.3
Package: gcc-3.3
(...)
Depends: gcc-3.3-base (>= 1:3.3.5-13), libgcc1 (>= 1:3.3.4-3), libc6 (>=
2.3.2.ds1-21), cpp-3.3 (>= 1:3.3.5-13), cpp-3.3 (<< 1:3.3.6), binutils (>=
2.15-5)
Recommends: libc6-dev (>= 2.3.2.ds1-16)
            ^^^^^^^^^
Suggests: gcc-3.3-doc (>= 1:3.3.5-13)
(...)
> 
> # apt-get install libc6    
> Reading Package Lists... Done
> Building Dependency Tree... Done
> libc6 is already the newest version.
> 
> Not yet there. Let's give it one more shot:
> 
> # apt-get install libc6-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   linux-kernel-headers
> 
> Huh, why do we need kernel headers to compile "Hello World" ?
> 
> And who is supposed to know (and understand) these dependencies ?
> 
> 
> Have fun,
> 
> Uwe
> 

Regards
-- 
Joachim Fahnenmüller



Reply to: