Re: Bug Report: "make install" on Ubuntu should run "ldconfig" as final step
On Sun, 2009-07-06 at 17:05 -0700, Steve Dekorte wrote:
> My main concern is with making Io easy to set up. If there is a
> security concern with sudo, perhaps we can prompt the user to ask if
> it is ok to use it first?
The (naive) GNU standard used to be:
$ su - root
# ./configure
# make
# make install
However you only need to be root for the final step and normally that's
only if you don't have write privilege. Sun has a 'bin' user, which
owns executables and shared libraries (or they did on SunOS - haven't
used Solaris for a while).
Of course the "proper" way to build things is:
$ ./configure
$ make
$ su - root
# make install
if you try building RCS as root it won't let you. It's the only package
I know of that is that careful.
On debian /usr/local/ is group-writable by 'staff' so you never need
root -- but the Io build doesn't know that :-( Unfortunately 'root'
has /usr/local/sbin first in it's path -- Debian has changed their
documentation (recently, at my request) to make this more clear. So you
can't put anyone you don't trust in the 'staff' group. It's still
better than running installs as 'root'.
--
--gh