[geeks] Irix's wonky install

Caleb Shay caleb at webninja.com
Sat Oct 26 16:02:40 CDT 2002


Irix has a variable $ROOT which generally refers to "/", for the sake of
install programs.  The variable is generally overridden for stuff like
creating tardists in a non-standard directory to be installed in a
normal directory later.  Your best bet would probably be to install the
fileutils from freeware.sgi.com and use /usr/freeware/bin/install.

Caleb

On Sat, 2002-10-26 at 16:29, Gregory Leblanc wrote:
> So, had anybody else noticed that Irix has some wonky utilities?  I
> can't find a way to make their sed program match digits, which is
> silly, but easy enough to get around (just install gnu sed).  But
> what's -really- bizzare is their install program.  It supports -d and
> -dir, for "GNU/BSD Compatibility".  However, it doesn't actually seem
> to be compatible.  For some reason, 'install -d dirname' is trying to
> create /dirname; that is, its trying to create it under /, instead of
> under $PWD.  This makes it impossible to use any relative paths, and
> converting this project to use absolute paths is more trouble than I'm
> up for.  Here's what the man page says, which is slightly confusing:
>
>      -dir (or -d for BSD/GNU compatibility)
>                      Create directories named by concatenating $ROOT to the
>                      file arguments.  When -dir is given, all the file
>                      arguments are taken as directories; files and
directories
>                      may not both be installed with the same command.
>
> So, I'm not quite sure what it's talking about with that $ROOT, but it
> doesn't actually seem to be talking about the environmental variable
> named ROOT, since that's not set, either before or after running
> install, nor in my shell.  Perhaps getting rid of $ROOT would make it
> work properly, but I have no thoughts on how to do that.  Help?
>      Greg
> _______________________________________________
> GEEKS:  http://www.sunhelp.org/mailman/listinfo/geeks
--

[demime 0.99d.1 removed an attachment of type application/pgp-signature which had a name of signature.asc]



More information about the geeks mailing list