Subject says it all: how do I get a working sun cc in a new small zone.

Right now, I compile in the global zone to something like /opt/local and then 
rsync it to the other zone.  However, this is less than ideal for two reasons:

1) The initial compile sees all of the packages in the global zone and compiles 
depending upon them.  I'd really like to know that I haven't missed a 
dependency by actually compiling it in the zone that's going to use it.

2) Some install packages want to mess with the passwd and group files (I'm 
looking at you *postfix*) and refuse to install without those entries.  That 
means that I need to let those entries go into the global zone, install all 
over the place (lots in /var), rsync those directories over, add the passwd 
entries to the small zone, and then delete the whole mess back out of the 
global zone.

Hardly ideal.

It seems to touch on a couple of different things (packaging, initial install, 
loopback mounts, etc.), so it looks like the solution is more complicated than 
a basic zones thing.  

Thanks.
 
 
This message posted from opensolaris.org

Reply via email to