>That would be a bug in your version of install, or you're trying to
>"make install" as a user into a path which you don't have write
>permission from.
I beg to differ - the "bug" is with the Makefiles in the daemon and man
directories.
>> I was trying to install autofs 3.1.5 using the --prefix option in configure.
To be clear - I use
./configure --prefix=/usr/packages/autofs-3.1.5
/usr/packages/autofs-3.1.5 does not yet exist, /usr/packages does.
When doing the "make install" the following happens (looking at the Makefile
rules in autofs-3.1.5.tar.bz2 from kernel.org as I am away from my Linux box
right now):
daemons/Makefile:
----------------
install: all
install -c automount -m 755 $(INSTALLROOT)$(sbindir)
but /usr/packages/autofs-3.1.5/sbin does not exists, so install fails.
modules/Makefile:
----------------
install: all
install -d -m 755 $(INSTALLROOT)$(autofslibdir)
install -c $(MODS) -m 644 $(INSTALLROOT)$(autofslibdir)
-rm -f $(INSTALLROOT)$(autofslibdir)/mount_smbfs.so
Aha - "install -d" guaranteed that directories are being created and modules
install fine.
man/Makefile:
------------
install: all
install -c *.5 -m 644 $(INSTALLROOT)$(mandir)/man5
install -c *.8 -m 644 $(INSTALLROOT)$(mandir)/man8
but /usr/packages/autofs-3.1.5/man/man[58] do not exist therefore that
fails as well.
Regards
Robert