Can'not compile kernel

If you have trouble with PHC you can ask and hope for help here.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
tgraupne
Posts: 2
Joined: Fri 24. Jul 2009, 14:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Can'not compile kernel

Post by tgraupne » Fri 24. Jul 2009, 14:36

Hi guys....

i have problems to compile my kernel.
I would like to use the 2.6.30-02....I got the source from this page:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/
And, as the url show, i usw ubuntu, exactly said jaunty...

So, i followed the How-To Guide:
http://www.linux-phc.org/forum/viewtopic.php?f=13&t=67

And the first error i got was:

Code: Select all

tom@tom-thinkpad:~$ sudo apt-get install build-dep linux fakeroot build-essential makedumpfile linux-source
[sudo] password for tom: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
E: Konnte Paket build-dep nicht finden
In English something like: "Cannot find the package "build-dep""

So i tried just:

Code: Select all

tom@tom-thinkpad:~$ sudo apt-get install fakeroot build-essential makedumpfile linux-source
And everything was fine, BUT :(

Now I'm at point 4 and i can't find a solution for my problem now...

Code: Select all

root@tom-thinkpad:/usr/src/linux-source-2.6.30# fakeroot make-kpkg --initrd --append-to-version=-phc001 kernel-image kernel-headers
/usr/bin/fakeroot: line 176: make-kpkg: command not found
I hope someone understand my bad English and can help me...

raa
Posts: 2
Joined: Tue 21. Jul 2009, 19:07
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Can'not compile kernel

Post by raa » Sat 25. Jul 2009, 06:45

Install the "kernel-package" package

If more packages are misssing "sudo apt-cache search" is your friend.


Raphael

tgraupne
Posts: 2
Joined: Fri 24. Jul 2009, 14:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Can'not compile kernel

Post by tgraupne » Sat 25. Jul 2009, 14:24

thank you!!
After installing "kernel-package" everything happened as planed...

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable