Patrick wrote:
Hello All,
I cannot compile svgalib 2.9.19 under Debian.
When I start the "make install" I get an error.
The command line is : make -C /lib/modules/2.6.8.2-386/build SUBDIRS=/usr/...
The sad news is that I have no folder 'build' in
the /lib/modules/2.6.8.2-386 folder.
Have I forgotten a package during Debian installation ???
Or should I try re-install Debian with a 2.4 kernel ?
Any idea welcome !
Very 73
Patrick
Well, I did not have that problem cause I use a home compiled kernel ;-)
The buid directory is indeed a simbolic link to the kernel source tree:
build -> /usr/src/kernel-source-2.6.6
As you do not have the source installed, you can not have that link.
In Debian, you have the following packages:
kernel-image-2.x.x
kernel-headers-2.x.x
kernel-doc-2.x.x
kernel-patches-2.x.x
Before trying to install a custom kernel, install the kernel-headers
package and see if you can compile svgalib (I am not sure).
#apt-get install kernel-headers-2.6.8-2-386
Some useful searching tips:
The "apt-cache" program is very useful for searching packages.
"apt-cache search pattern" , searches for pattern in the package database:
For example, in my system:
#apt-cache search kernel-headers-2.6
kernel-headers-2.6-386 - Linux kernel headers 2.6 on 386
kernel-headers-2.6-686 - Linux kernel headers 2.6 on PPro/Celeron/PII/PIII/P4
kernel-headers-2.6-686-smp - Linux kernel headers 2.6 on
PPro/Celeron/PII/PIII/P4 SMP
kernel-headers-2.6-amd64-generic - Linux kernel headers for version 2.6 on
generic x86_64 systems
kernel-headers-2.6-amd64-k8 - Linux kernel headers for version 2.6 on
AMD64 systems
kernel-headers-2.6-amd64-k8-smp - Linux kernel headers for version 2.6 on
AMD64 SMP systems
kernel-headers-2.6-em64t-p4 - Linux kernel headers for version 2.6 on
Intel EM64T systems
kernel-headers-2.6-em64t-p4-smp - Linux kernel headers 2.6 on Intel EM64T
systems
kernel-headers-2.6-k7 - Linux kernel headers 2.6 on AMD K7
kernel-headers-2.6-k7-smp - Linux kernel headers 2.6 on AMD K7 SMP
kernel-headers-2.6.8-10 - Header files related to Linux kernel version 2.6.8
kernel-headers-2.6.8-10-amd64-generic - Linux kernel headers 2.6.8 for
generic x86_64 systems
kernel-headers-2.6.8-10-amd64-k8 - Linux kernel headers for version 2.6.8
on AMD64 systems
kernel-headers-2.6.8-10-amd64-k8-smp - Linux kernel headers for version
2.6.8 on AMD64 SMP systems
kernel-headers-2.6.8-10-em64t-p4 - Linux kernel headers for version 2.6.8
on Intel EM64T systems
kernel-headers-2.6.8-10-em64t-p4-smp - Linux kernel headers for version
2.6.8 on Intel EM64T SMP systems
kernel-headers-2.6.8-2 - Header files related to Linux kernel version 2.6.8
kernel-headers-2.6.8-2-386 - Linux kernel headers 2.6.8 on 386
kernel-headers-2.6.8-2-686 - Linux kernel headers 2.6.8 on
PPro/Celeron/PII/PIII/P4
kernel-headers-2.6.8-2-686-smp - Linux kernel headers 2.6.8 on
PPro/Celeron/PII/PIII/P4 SMP
kernel-headers-2.6.8-2-k7 - Linux kernel headers 2.6.8 on AMD K7
kernel-headers-2.6.8-2-k7-smp - Linux kernel headers 2.6.8 on AMD K7 SMP
This command, is useful to know what a package has:
"apt-cache show package_name"
For example:
ea1abz@debian-remix:~$ apt-cache show kernel-image-2.6.8-2-386
Package: kernel-image-2.6.8-2-386
Priority: optional
Section: base
Installed-Size: 41232
Maintainer: Debian kernel team <debian-kernel@xxxxxxxxxxxxxxxx>
Architecture: i386
Source: kernel-image-2.6.8-i386
Version: 2.6.8-13
Provides: kernel-image, kernel-image-2.6
Depends: initrd-tools (>= 0.1.63), coreutils | fileutils (>= 4.0),
module-init-tools (>= 0.9.13)
Suggests: lilo (>= 19.1) | grub, fdutils, kernel-doc-2.6.8 |
kernel-source-2.6.8
Conflicts: hotplug (<< 0.0.20040105-1)
Filename:
pool/main/k/kernel-image-2.6.8-i386/kernel-image-2.6.8-2-386_2.6.8-13_i386.deb
Size: 14047458
MD5sum: f5d990a0b45e7668246429da65f58b18
Description: Linux kernel image for version 2.6.8 on 386.
This package contains the Linux kernel image for version 2.6.8 on
386,
the corresponding System.map file, and the modules built by the packager.
It also contains scripts that try to ensure that the system is not left in
a unbootable state after an update.
.
If you wish to update a bootdisk, or to use a bootloader to make
installing and using the image easier, we suggest you install the latest
fdutils (for formatting a floppy to be used as boot disk), and LILO, for a
powerful bootloader. Of course, both these are optional.
.
Kernel image packages are generally produced using kernel-package,
and it is suggested that you install that package if you wish to
create a custom kernel from the sources.
So, tell us the result.
We'll keep in touch.
Ramiro.
EA1ABZ.