Package: kernel-package
Version: 11.0011

If I try to build a kernel from vanilla kernel.org sources with 'make-kpkg --initrd kernel_image' on a newly set up lenny system, following error occurs:

[...]
/usr/bin/make    ARCH=i386 \
                             -C Documentation/lguest
make[1]: Entering directory `/usr/src/linux-2.6.27.6/Documentation/lguest'
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include lguest.c -lz -o lguest
lguest.c:34:18: error: zlib.h: No such file or directory
make[1]: *** [lguest] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.27.6/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2

I used the daily build rc1 lenny installer to set up the system.

There is no libz-dev (virtual, real one zlib1g-dev) package installed by default. The error disappears if that package is installed. So kernel-package, or some other package always installed if kernel-package is installed, should depend on libz-dev.

Thank You.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to