Scott D Yelich <[EMAIL PROTECTED]> writes:
> Fine. Be hostile -- you're not hurting me. Try any solaris system.
> security [4258]> /usr/ucb/cc
> /usr/ucb/cc: language optional software package not installed
windlord:~> ls /usr/ucb/cc
ls: /usr/ucb/cc: No such file or directory
windlord:~> uname -a
SunOS windlord.stanford.edu 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-1
Much better.
> I have gcc, but I don't just link cc to gcc as some systems seem very
> broken when they depend on the name of the "cc" compiler for things.
Everything that you have to compile depends on the name of the C compiler.
I edited conf-cc and conf-ld once when I was first building qmail, saved
it as a local patch, and problem was forever solved. One gets very used
to doing that on Solaris to get things to compile with gcc instead,
particularly given that I *have* cc (/opt/SUNWspro/bin/cc, to be precise).
> You know, solaris boot has a check for the current user to be "root" so
> if you put another entry in the /etc/passwd *before* root with uid 0, a
> solaris system won't boot? Isn't that kind of pathetic? Why can't the
> script check "id" or something for the uid instead of depending on the
> *text* output of some user check?
Don't create multiple UID 0 accounts. You'll horribly regret it later.
Been there, done that.
--
Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>