insufficient dependencies in README for kernel sources

pille

Member
Oct 21, 2009
79
0
6
while compiling ftp://pve.proxmox.com/sources/pve-kernel-2.6.24_2009-10-22.tar.gz
i noticed additional dependencies for builing that are missing in the README of that archive:

Code:
Compiling the kernel
--------------------

First, make sure you have all tools to compile the kernel:

> apt-get install build-essential git-core autotools-dev debhelper fakeroot libsdl-dev lintian
at least the packages unzip and libssl-dev are needed.
 
trying to compile the kernel sources pve-kernel-2.6.24_2009-10-22.tar.gz within a freshly installed proxmox VE 1.4 I ran into the unzip trap.
Discovering thread 13742, I installed unzip and libssl-dev .
Now make dies repeatable with
cp -a iscsideb iscsi-scst-1.0.1.1/debian
cd iscsi-scst-1.0.1.1; dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package iscsi-scst
dpkg-buildpackage: source version 1.0.1.1-2
dpkg-buildpackage: source changed by Proxmox Support Team <support@proxmox.com>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
make[1]: Entering directory `/usr/src/pve-kernel-2.6.24_2009-10-22/iscsi-scst-1.0.1.1'
make[1]: *** No rule to make target `unpatch', needed by `clean'. Stop.
make[1]: Leaving directory `/usr/src/pve-kernel-2.6.24_2009-10-22/iscsi-scst-1.0.1.1'
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
make: *** [iscsi-scst.ko] Error 2
As llazzaro (thread t=2601) succeeds after installing texi2html, what may be my mistake?
 
Last edited:
Thanks! It helped to come on. The log-file grew more then 6 x.

Now make dies repeatable with
...
mkdir -p /lib/modules/2.6.24-8-pve
ln -sf /usr/src/pve-kernel-2.6.24_2009-10-22/linux-2.6.24-openvz /lib/modules/2.6.24-8-pve/build
cp -av kvmdeb qemu-kvm/debian
`kvmdeb' -> `qemu-kvm/debian'
`kvmdeb/copyright' -> `qemu-kvm/debian/copyright'
`kvmdeb/control' -> `qemu-kvm/debian/control'
`kvmdeb/changelog' -> `qemu-kvm/debian/changelog'
`kvmdeb/kvm-ifup' -> `qemu-kvm/debian/kvm-ifup'
`kvmdeb/rules' -> `qemu-kvm/debian/rules'
`kvmdeb/patches' -> `qemu-kvm/debian/patches'
`kvmdeb/patches/adjust-path.diff' -> `qemu-kvm/debian/patches/adjust-path.diff'
`kvmdeb/patches/vncticket.diff' -> `qemu-kvm/debian/patches/vncticket.diff'
`kvmdeb/patches/fairsched.diff' -> `qemu-kvm/debian/patches/fairsched.diff'
`kvmdeb/patches/live-migration-fixes.diff' -> `qemu-kvm/debian/patches/live-migration-fixes.diff'
`kvmdeb/patches/cpuid-fix.diff' -> `qemu-kvm/debian/patches/cpuid-fix.diff'
`kvmdeb/patches/keymap.diff' -> `qemu-kvm/debian/patches/keymap.diff'
`kvmdeb/patches/multicore.diff' -> `qemu-kvm/debian/patches/multicore.diff'
`kvmdeb/patches/ps2-queue-size.diff' -> `qemu-kvm/debian/patches/ps2-queue-size.diff'
`kvmdeb/patches/series' -> `qemu-kvm/debian/patches/series'
`kvmdeb/compat' -> `qemu-kvm/debian/compat'
`kvmdeb/kvm-ifdown' -> `qemu-kvm/debian/kvm-ifdown'
cd qemu-kvm; dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package pve-qemu-kvm
dpkg-buildpackage: source version 0.11.0-2
dpkg-buildpackage: source changed by Proxmox Support Team <support@proxmox.com>
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: libpci-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [pve-qemu-kvm_0.11.0-2_amd64.deb] Error 3
 
Last edited: