On 06/30/2010 11:18 PM, Basile Starynkevitch wrote:
How do distributions makers achieve that?? IIRC they have a strict rule
that no compilation or build should run under root!
You use "make install DESTDIR=`pwd`/buildroot" and then copy the
contents of the buildroot into the real root (e.g. w
On 30.06.2010 23:18, Basile Starynkevitch wrote:
Practical advices welcome.
Cheers.
PS. On Debian, the make-kpkg command has a --rootcmd=sudo option. I am
trying to imagine the equivalent for GCC. Of course on my machine sudo
don't ask any password.
unsure if I understand this correctly, but
On 30/06/2010 22:18, Basile Starynkevitch wrote:
> How do you build & install GCC (trunk or some other branch) without
> having any root owned files in the build directory?
Run "make install" as the limited user, using a DESTDIR, then "sudo cp -R"
(or similar) the installed tree into final dest
Quoting Basile Starynkevitch :
Hello All,
Is there some trick so that the GCC trunk (or a branch like MELT) is
built under some user (e.g. basile) and is installed (in the
usual /usr/local prefix, which is writable by root, not by ordinary
users on most Linux systems)
I usually install in mor
Hello All,
Is there some trick so that the GCC trunk (or a branch like MELT) is
built under some user (e.g. basile) and is installed (in the
usual /usr/local prefix, which is writable by root, not by ordinary
users on most Linux systems)
My concrete need is the following
after a
make
and a