2010-05-12

Slitaz -- kernel -2

tazwok cook linux

Env:
http://hg.slitaz.org/wok-stable/raw-file/d4f3fe7e0dc0/linux/receipt

wok-stable-cd66133a1f46.tar.bz2

error: zlib.h: No such file or directory

tazpkg get-install zlib-dev
or
ln -s /home/slitaz/wok/linux/linux-2.6.30.6/include/linux/zlib.h /usr/include

root@slitaz:/home/slitaz/wok# tazwok cook linux
[..]
================================================================================
Package linux-wireless (2.6.30.6) generated.
Size : 1.4M /home/slitaz/packages/linux-wireless-2.6.30.6.tazpkg

tazwok cook aufs-utils
tazwok cook broadcom-wl
tazwok cook catalyst
tazwok cook compcache
tazwok cook dahdi-linux
tazwok cook fuse
tazwok cook gnu-efi
tazwok cook iptables
tazwok cook kqemu
tazwok cook libcap
tazwok cook linmodem-agrsm
tazwok cook linmodem-intel-536ep
tazwok cook linmodem-intel-537
tazwok cook linmodem-slmodem
tazwok cook ndiswrapper-driver
tazwok cook nvidia
tazwok cook open-iscsi
tazwok cook usbip
======================================================================
These modules selected in .config were not categorized in linux-* pkgs:
smsc9420.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/drivers/net/smsc9420.ko.gz
dvb-core.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/drivers/media/dvb/dvb-core/dvb-core.ko.gz
dlm.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/fs/dlm/dlm.ko.gz
configfs.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/fs/configfs/configfs.ko.gz
======================================================================

Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs...
LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
8861 blocks
[ OK ]
Updating receipt sizes... [ OK ]
Creating full cpio archive... 6361 blocks
[ OK ]
Restoring original package tree... 8861 blocks
================================================================================
Package linux (2.6.30.6) generated.
Size : 3.1M /home/slitaz/packages/linux-2.6.30.6.tazpkg

root@slitaz:/home/slitaz/wok# tazwok stats

Tazwok configuration statistics
================================================================================
Wok directory : /home/slitaz/wok
Packages repository : /home/slitaz/packages
Sources repository : /home/slitaz/src
Packages in the wok : 2293
Cooked packages : 53
================================================================================

root@slitaz:/home/slitaz/wok# ls ../packages
lguest-2.6.30.6.tazpkg
linux-2.6.30.6.tazpkg
linux-acpi-2.6.30.6.tazpkg
linux-agp-2.6.30.6.tazpkg
linux-appletalk-2.6.30.6.tazpkg
linux-aufs-2.6.30.6.tazpkg
linux-bluetooth-2.6.30.6.tazpkg
linux-bridge-2.6.30.6.tazpkg
linux-btrfs-2.6.30.6.tazpkg
linux-cifs-2.6.30.6.tazpkg
linux-coda-2.6.30.6.tazpkg
linux-cpufreq-2.6.30.6.tazpkg
linux-cramfs-2.6.30.6.tazpkg
linux-crypto-2.6.30.6.tazpkg
linux-cryptoloop-2.6.30.6.tazpkg
linux-dialup-2.6.30.6.tazpkg
linux-drm-2.6.30.6.tazpkg
linux-ext4-2.6.30.6.tazpkg
linux-gfs2-2.6.30.6.tazpkg
linux-headers-2.6.30.6.tazpkg
linux-hfs-2.6.30.6.tazpkg
linux-hfsplus-2.6.30.6.tazpkg
linux-ieee1394-2.6.30.6.tazpkg
linux-input-misc-2.6.30.6.tazpkg
linux-input-tablet-2.6.30.6.tazpkg
linux-input-touchscreen-2.6.30.6.tazpkg
linux-ipv6-2.6.30.6.tazpkg
linux-irda-2.6.30.6.tazpkg
linux-isdn-2.6.30.6.tazpkg
linux-jfs-2.6.30.6.tazpkg
linux-joystick-2.6.30.6.tazpkg
linux-kvm-2.6.30.6.tazpkg
linux-md-2.6.30.6.tazpkg
linux-memstick-2.6.30.6.tazpkg
linux-minix-2.6.30.6.tazpkg
linux-mmc-2.6.30.6.tazpkg
linux-mwave-2.6.30.6.tazpkg
linux-ncpfs-2.6.30.6.tazpkg
linux-netfilter-2.6.30.6.tazpkg
linux-reiserfs-2.6.30.6.tazpkg
linux-sched-2.6.30.6.tazpkg
linux-scsi-2.6.30.6.tazpkg
linux-sound-2.6.30.6.tazpkg
linux-source-2.6.30.6.tazpkg
linux-squashfs-2.6.30.6.tazpkg
linux-udf-2.6.30.6.tazpkg
linux-usbdsl-2.6.30.6.tazpkg
linux-usbip-2.6.30.6.tazpkg
linux-usb-misc-2.6.30.6.tazpkg
linux-uwb-2.6.30.6.tazpkg
linux-video-2.6.30.6.tazpkg
linux-wimax-2.6.30.6.tazpkg
linux-wireless-2.6.30.6.tazpkg
root@slitaz:/home/slitaz/wok#

====
root@slitaz:/home/slitaz/wok# tazwok cook linux
[..]
patching file lib/Kconfig
patching file lib/decompress_bunzip2.c
patching file lib/decompress_inflate.c
patching file lib/decompress_unlzma.c
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE lguest.c -lz -o lguest
lguest.c:34:18: error: zlib.h: No such file or directory
make: *** [lguest] Error 1

root@slitaz:/home/slitaz/wok# cat linux/receipt | grep -n lguest
59: cd Documentation/lguest
60: make lguest || return 1
root@slitaz:/home/slitaz/wok#
.