Manual install?
Yuichi SATO
sato at complex.eng.hokudai.ac.jp
Mon Dec 11 16:20:05 EST 2000
At Mon, 11 Dec 2000 14:44:25 -0500,
Mark Gabanyicz <mgabanyicz at itsusnow.com> wrote:
>
> I would like to be able to just manually create the subdirs,
> adjust the permissions, and not have to fix the execution of
> the "make" install process.
>
> Anybody have a step-by-step equivalent to the "make install"??
I'm using Solaris 7, and I can install successfully.
Following is the result of 'make -n install'.
----- result begin -----
/bin/sh ./mkinstalldirs /usr/local/bin /usr/local/sbin /etc /usr/local/man/man1m /usr/local/man/man4
/bin/sh ./install-sh -c -o 0 -g 0 -m 4111 -s sudo /usr/local/bin/sudo
/bin/sh ./install-sh -c -o 0 -g 0 -m 0111 -s visudo /usr/local/sbin/visudo
if [ -f /etc/sudoers ]; then \
echo "Setting user/group and mode on existing /etc/sudoers file."; \
chown 0 /etc/sudoers; \
chgrp 0 /etc/sudoers; \
chmod 0440 /etc/sudoers; \
else \
/bin/sh ./install-sh -c -o 0 -g 0 -m 0440 \
./sudoers /etc/sudoers; \
fi
/bin/sh ./install-sh -c -o 0 -g 0 -m 0444 ./sudo.man /usr/local/man/man1m/sudo.1m
/bin/sh ./install-sh -c -o 0 -g 0 -m 0444 ./visudo.man /usr/local/man/man1m/visudo.1m
/bin/sh ./install-sh -c -o 0 -g 0 -m 0444 ./sudoers.man /usr/local/man/man4/sudoers.4
----- result end -----
$ /bin/sh ./install-sh -c -o user-id -g group-id -m mode src dist
is similar to
$ cp src dist
$ chown user-id dist
$ chgrp group-id dist
$ chmod mode dist
But, if you don't have /usr/ccs/bin/strip,
you can't strip symbol table from exectable binaries.
because -s option is same as "$ /usr/ccs/bin/strip dist".
If you have /usr/ccs/bin/strip,
please add /usr/ccs/bin in PATH environment variable,
and you will be able to install successfully.
===========
Yuichi SATO
sato at complex.eng.hokudai.ac.jp
More information about the sudo-users
mailing list