Open the Box (Part 2)

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
piratesmack
Level 5
Level 5
Posts: 696
Joined: Mon May 26, 2008 3:08 pm

Re: Open the Box (Part 2)

Postby piratesmack » Sat Oct 17, 2009 2:12 pm

Code: Select all

dpkg -i linux-headers-2.6.31.4-iron_2.6.31.4-iron-10.00.Custom_i386.deb


Don't think that's such a good idea.
You should use the kernel headers that your glibc was compiled with

piratesmack
Level 5
Level 5
Posts: 696
Joined: Mon May 26, 2008 3:08 pm

Re: Open the Box (Part 2)

Postby piratesmack » Sat Oct 17, 2009 2:35 pm

There are 2 places where you'll find kernel headers: in /usr/include/linux and /usr/src/linux

/usr/include/linux should contain the headers of the default Ubuntu kernel.
They were used to build the glibc package. Since most core software links against glibc, it needs the correct headers to compile.

/usr/src/linux will contain the headers of your custom kernel and 3rd-party kernel modules (vboxdrv, madwifi, etc) will use them to build.

Nice guide, btw

piratesmack
Level 5
Level 5
Posts: 696
Joined: Mon May 26, 2008 3:08 pm

Re: Open the Box (Part 2)

Postby piratesmack » Sat Oct 17, 2009 2:45 pm

Oh, the linux-headers deb installs to /usr/src?
Oops, nevermind then :oops:

Thanks for the guide.
I may try it out later
Last edited by piratesmack on Sat Oct 17, 2009 5:30 pm, edited 1 time in total.

User avatar
deadguy
Level 5
Level 5
Posts: 710
Joined: Wed Aug 15, 2007 9:41 pm
Location: Illinois USA
Contact:

Re: Open the Box (Part 2)

Postby deadguy » Sun Oct 18, 2009 1:39 pm

heya Ikey,

I don't use openbox on mint.. I like my Gnome/metacity there but
I felt I had to try your kernel tweaking guide. ^^
works like a charm!! :D
I've compiled two different kernel versions on my irc/bot box (which runs Mint 5).
<edit>my laptop too</edit>
very handy!!

thanks and cheers,

Deadguy
Last edited by deadguy on Mon Oct 19, 2009 1:49 am, edited 1 time in total.


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 7 guests