You are not logged in.

#1 2004-05-02 11:38:02

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Kernel Compile how not to do it !!!! [FXx]

EDIT I would like to say kernel compile problem was my fault.... I should have moved it then compiled 2.6.5-3 (gcc3.4) I will in future use /usr/src (improve my CLI skills) lol

I am sorry for posting but this old boy gets in muddle sometimes & I like to think out loud.
After several mugs of tea & reading posts I now have kernel 2.6.5-3 Xfee4.4 & nvidia working again (well for a couple of hours till 2.6.6 !!!)

 pacman -Af 

Many thanks again for all your help

Mr Green :oops:


Mr Green

Offline

#2 2004-05-02 17:01:02

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Kernel Compile how not to do it !!!! [FXx]

maybe pacman -U instead of -A?

Offline

#3 2004-05-02 17:59:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: Kernel Compile how not to do it !!!! [FXx]

If I use pacman -U I get a load of errors :

usr/src/linux-2.6.5/sound/isa/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/oss/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/oss/dmasound/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/parisc/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/pci/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/pcmcia/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/ppc/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/sparc/Kconfig: exists in filesystem
  /usr/src/linux-2.6.5/sound/usb/Kconfig: exists in filesystem

Mr Green  :?


Mr Green

Offline

#4 2004-05-02 18:30:01

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Kernel Compile how not to do it !!!! [FXx]

I think it's safe to force it.

Or do a makepkg -ic

Offline

#5 2004-05-02 18:59:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Kernel Compile how not to do it !!!! [FXx]

or don't use ABS. wink

Offline

#6 2004-05-02 19:04:10

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: Kernel Compile how not to do it !!!! [FXx]

Ok...

I will learn to roll my own.....

Mr Green  lol


Mr Green

Offline

#7 2004-05-03 03:06:56

mr_ed
Member
From: Ottawa, ON, Canada
Registered: 2004-04-13
Posts: 72

Re: Kernel Compile how not to do it !!!! [FXx]

So how do you go about modifying the kernel using abs? 
For example, I want to remove IPv6 support.

I can do it no problem manually, but when I try to use makepkg, I get an md5sum error (I assume) if I try and modify the config file.

If I don't modify the config file it compiles and makes the package just fine.

So... is this the recommended method?

Copy the folder to somewhere else.
Modify the config file by hand (is there a way to use xconfig or menuconfig somehow?).
Run md5sum on the new config file and add the result to PKGBUILD.
Run makepkg
Run pacman -A <package-name>

Or am I missing something?   :?

Offline

#8 2004-05-03 03:20:14

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Kernel Compile how not to do it !!!! [FXx]

http://wiki.archlinux.org/index.php/Ker … with%20ABS

2/3 of participants in an informal vote feel that /usr/src is the better way to go though...

Offline

#9 2004-05-03 03:48:55

mr_ed
Member
From: Ottawa, ON, Canada
Registered: 2004-04-13
Posts: 72

Re: Kernel Compile how not to do it !!!! [FXx]

Thanks Dusty.

I keep forgetting to check the wiki.   roll

Offline

#10 2004-05-03 07:10:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: Kernel Compile how not to do it !!!! [FXx]

Well I got it running Ok. now

 pacman -Af <package>.pkg.tar.gz 

Thank you for your help

I guess I have to learn how to compile my own form now on  smile

Mr Green

[/code]


Mr Green

Offline

Board footer

Powered by FluxBB