[comp.sys.apollo] /etc/install broken at SR10.3?

chris@endgame.gsfc.nasa.gov (Chris Shenton) (02/14/91)

When compiling some stuff from the net which uses /etc/install, install
fails with some odd errors:

1.  /etc/install -c -m 0664 libmine.a /usr/lib
    install: The -c, -f, -n options each require a directory following!

And so there is! Well?


2.  /etc/install -c  myprog /usr/local/bin
    cp: /usr/local/bin: Is a directory

Of course /usr/local/bin is a directory -- the man pages say it will copy
the file to it. But, NOoooo!

What's the deal?
--
chris@asylum.gsfc.nasa.gov, ...!uunet!asylum.gsfc.nasa.gov!chris, PITCH::CHRIS

vasta@apollo.HP.COM (John Vasta) (02/14/91)

In article <CHRIS.91Feb13113153@endgame.gsfc.nasa.gov> chris@endgame.gsfc.nasa.gov (Chris Shenton) writes:
>When compiling some stuff from the net which uses /etc/install, install
>fails with some odd errors:
>
>1.  /etc/install -c -m 0664 libmine.a /usr/lib
>    install: The -c, -f, -n options each require a directory following!
>
>And so there is! Well?
>
>
>2.  /etc/install -c  myprog /usr/local/bin
>    cp: /usr/local/bin: Is a directory
>
>Of course /usr/local/bin is a directory -- the man pages say it will copy
>the file to it. But, NOoooo!
>
>What's the deal?

There are two install scripts - /etc/install and /bsd4.3/usr/bin/install.
They have different command line syntax and behavior. It sounds like the
install which is expected by the package you have is the bsd version, so
you should probably be using /bsd4.3/usr/bin/install instead.

John Vasta                Hewlett-Packard Apollo Systems Division
vasta@apollo.hp.com       M.S. CHR-03-DW
(508) 256-6600 x5978      300 Apollo Drive, Chelmsford, MA 01824
UUCP: {decwrl!decvax, mit-eddie, attunix}!apollo!vasta

krowitz@RICHTER.MIT.EDU (David Krowitz) (02/14/91)

Hmm ... I just check my SR10.2 AA (Aegis plus BSD full) ... I've only
got a "bsd4.3/usr/bin/install". There is no "install" in "etc". Is
the /etc/install a SYS V vs. BSD conflict?

== Dave