OpenVZ Forum


Home » Mailing lists » Users » Unable to compile inside VPS
Re: Unable to compile inside VPS [message #20784 is a reply to message #20781] Wed, 26 September 2007 08:01 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

David Mezquíriz Osés wrote:
> Hi all,
> 
> I'm getting started with openvz so I'm a bit lost with it, so I hope you 
> can help me.
> 
> This is the situation:
> I create an VE with centos 4.4.
> The hardware node has this kernel "2.6.18-8.1.8.el5.028stab039.1" and 
> it's a centos 4.5 server.
> 
> 
> The problem is the following:
> 
> I created successfully the VE but unfortunatelly I tried to compile a 
> tar.gz file that I need but I don't have any gcc compiler inside the VE. 
> I found out that inside the yum configuration file there is a 
> restriction on it, glib is excluded from any installation so I don't 
> want to remove it from it.

what restriction do you mean?
all you need is to do:
# yum install gcc

> I know that there is a devel-ce4 package built by Swsoft which can be 
> installed into a VE based on Virtuozzo in order to allow gcc compiler 
> into this VE, but I don't find any package similar to this for openvz.

devel package just include binutils/gcc and some other devel rpms.
the installation is still done via yum (in case of EZ templates).

> I would like to ask you if some of you either has been able to compile 
> inside a VE or has been able to build a template like that.

after you have installed gcc inside VE, you can create a template
cache from this VE. template cache can be used later to create new
VEs already with preinstalled packages you want (in your case -devel).

Thanks,
Kirill
 
Read Message
Read Message
Read Message
Previous Topic: Device or resource busy on /vz/private/$VPSID
Next Topic: Memory overflow in an OpenVZ VPS
Goto Forum:
  


Current Time: Wed Nov 06 11:42:32 GMT 2024

Total time taken to generate the page: 0.03350 seconds