OpenVZ Forum


Home » General » Support » Compile software
Compile software [message #3409] Fri, 26 May 2006 13:06 Go to next message
voipworx is currently offline  voipworx
Messages: 1
Registered: May 2006
Junior Member
Hi There,

I want to compile additional software on my vps after i installed gcc,make etc. I also need kernel-headers : 2.6.8-022stab077.1 where can I found these headers.

Thanks in advance,

Jeroen
Re: Compile software [message #3433 is a reply to message #3409] Sat, 27 May 2006 07:32 Go to previous messageGo to next message
scythe is currently offline  scythe
Messages: 22
Registered: December 2005
Location: Hungary
Junior Member
Hi,

The kernel headers for 2.6.8-022stab077.1 can only be gathered after you have downloaded a vanilla kernel source and patched it with OpenVZ 022stab077.1 patch.

first download the vanilla source:
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.tar.b z2

uncompress it:
bunzip2 -dc linux-2.6.8.tar.bz2 |tar -xvf -

then get the OpenVZ patch:
wget http://download.openvz.org/kernel/022stab077.1/patches/patch -022stab077-combined.gz

uncompress:
gunzip patch-022stab077-combined.gz

patch the source:
patch -p0 < patch-022stab077-combined

then the headers for the patched kernel can be found in:
linux/include

I hope this is what you were looking for.
Re: Compile software [message #3434 is a reply to message #3433] Sat, 27 May 2006 11:14 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

kernel headers also present in binary RPMs under
/lib/modules/2.6.8-022stab07X.1/build


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: vz startup message - is this a problem.
Next Topic: Command vzyum not recognised
Goto Forum:
  


Current Time: Sat Jul 13 15:14:53 GMT 2024

Total time taken to generate the page: 0.02333 seconds