Re: gcc in chroot

Pàgina inicial
Adjunts:
Missatge com a correu electrònic
+ (text/plain)
Delete this message
Reply to this message
Autor: Darrin Chandler
Data:  
A: Main PLUG discussion list
Assumpte: Re: gcc in chroot
On Thu, Jun 15, 2006 at 02:45:43PM -0700, Eric Shubes wrote:
> >I frequently do software (and package) builds in chroot jails on Linux.
>
> Thanks, Jeremy. That's encouraging.


One thing to keep in mind is that every utility and library you need
must exist inside the chroot. Unless Jeremy knows of an easy way to set
this up, it's going to involve some effort for what you want. It's
fairly easy to chroot mysql or apache. Less so when you need major parts
of your tools chain. Often you'll need to use ldd to find what you need
to move into the chroot (or hardlink as you've done). Then ldd on
*those* results. Repeat until done.

Jeremy, is there an easier way?!

-- 
Darrin Chandler            |  Phoenix BSD Users Group
   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss