Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

kernek-source - help

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
boomcak

kernek-source - help

#1 Post by boomcak »

Could somebody tell me -step by step- how can I install kernel-source??

I have debian from knoppix 4 dvd installed on hdd (sda9)

$ uname -a
Linux boomcak 2.6.11 #2 SMP Thu May 26 20:53:11 CEST 2005 i686 GNU/Linux

HELP me PLEASE!

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#2 Post by dawgie »

The Kernel-HowTo from the Linux Documentation Project is in the process of being revised. It has been renamed "Kernel-Build-Howto" and can be found here:
http://www.digitalhermit.com/linux/Kern ... HOWTO.html

-Bob

boomcak

#3 Post by boomcak »

But I have kernel :) - I want install to this source I used apt-get install kernel-source but it is packet...

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#4 Post by dawgie »

Find what you want with:
# apt-cache search kernel-source
Then install the source with:
#apt-get install kernel-sourceXXXXX


-Bob

boomcak

#5 Post by boomcak »

I did it but it create :/usr/src/kernel-source-2.6.11.tar.bz2 .

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#6 Post by dawgie »

boomcak wrote:I did it but it create :/usr/src/kernel-source-2.6.11.tar.bz2 .
That is good. The compressed source package is installed.
You also need some tools (these may already be installed).
# apt-get install build-essential
# apt-get install kernel-package


Then change to the /usr/src directory:
# cd /usr/src
Unconpress the new kernel source:
# tar xjvf /kernel-source-2.6.11.tar.bz2
Change to the directory kernel-source-2.6.11
# cd kernel-source-2.6.11


Very good instructions here on building a kernel "the Debian Way".
http://www.debian.org/releases/stable/i ... 05.html.en

-Bob

boomcak

#7 Post by boomcak »

cd kernel-source-2.6.11
what should I do next ??

root@boomcak:/usr/src/kernel-source-2.6.11# make xconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:305:24: asm/socket.h: Nie ma takiego pliku ani katalogu
make[1]: *** [scripts/basic/fixdep] Błąd 1
make: *** [scripts_basic] Błąd 2

boomcak

#8 Post by boomcak »

błąd = error
nie ma takiego pliku - file not exist

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#9 Post by Harold »

make xconfig requires the qt development package. Try apt-get install qt3-dev-tools and see what happens. If still no joy, then check your system against the list of required packages found in kernel-source-2.6.11/Documentation/Changes.

And a suggestion... I prefer to use the command make menuconfig.

Post Reply