[comp.soft-sys.andrew] makedo bad install on SunOS 4.0.3c

kriso@LOMBARD.DARTMOUTH.EDU (Kris Olander) (11/13/90)

I don't know if this has already been reported or not, but it seems
like this is annoying enough to mention again.

When makedo gets installed in /usr/andrew/bin, install creates a
subdirectory called makedo and then makedo.csh is copied into the
subdirectory.  Consequently, when makedo is executed, the make
exits with 'Permission denined' which is appropriate when a
directory is executed.  

The install command in ./overhead/class/machdep/sun_sparc is:

install -c -m 0555 makedo.csh /usr/andrew/bin/makedo

To get around this, you just have to make sure that 
/usr/andrew/bin/makedo exists as a file, not a directory before
the 'install' command is executed.

This is on a Sun4/110 running SunOS4.0.3c


			-Kris

ghoti+@ANDREW.CMU.EDU (Adam Stoller) (11/13/90)

Out of curiosity - have you tried using the install program that comes
with the Andrew distribution?  If it works at all - it will also make
the problem you're running into go away - as it doesn't gratuitously
create directories upon installation.

I mention this because if you're getting burnt by makedo - chances are
that there are a number of other things being installed incorrectly on
your system (at least from the Andrew distribution).

--fish

Craig_Everhart@TRANSARC.COM (11/14/90)

This is properly a complaint about the ``install'' program, not about
Andrew's use of it.  Where are you getting your ``install'' program?

The one that comes with AFS has exactly the property you describe: it
creates subdirectories that are unexpected by the Andrew installation
mechanism, but that are important for installing AFS.  I believe that it
accepts the ``-f'' command-line option, though, to treat the final
target as a file name rather than as a directory name.

My recommendation would be to use the ``install'' program that comes
with the Andrew distribution.

		Craig