From: Ian Kent Subject: Re: autofs 5.0.3 problems Date: Mon, 21 Jan 2008 13:22:25 +0900 Message-ID: <1200889345.10357.52.camel@raven.themaw.net> References: <200801210359.m0L3x8Bs032116@dell2.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200801210359.m0L3x8Bs032116@dell2.home> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Marty Leisner Cc: autofs@linux.kernel.org On Sun, 2008-01-20 at 22:59 -0500, Marty Leisner wrote: > I want to build and install autofs 5.0.3 as nonroot > on ubuntu gutsy gibbon. > (other recent systems have autofs5, ubuntu gutsy gibbon doesn't, > I'm very pleased that direct mounts work in autofs5 -- I've waited > for this for years). > > > I wanted to install all files in /usr/local/autofs-5.0.3 > > Just doing > ./configure --prefix=/usr/local/autofs-5.0.3 > didn't do everything I needed. > > I had to: > > : leisner@gateway 10:45:40;rcsdiff -u Makefile.conf > =================================================================== > RCS file: Makefile.conf,v > retrieving revision 1.2 > diff -u -r1.2 Makefile.conf > --- Makefile.conf 2008/01/21 00:20:10 1.2 > +++ Makefile.conf 2008/01/21 00:20:47 > @@ -78,6 +78,8 @@ > sbindir = ${exec_prefix}/sbin > > # Where to install man pages > +# datarootdir is undefined?? > +datarootdir=${prefix}/share > mandir = ${datarootdir}/man > > # Location for init.d files > > since datarootdir wasn't defined... > (it should default to ${prefix}/share according to configure). > > I had to manually do > make install INSTALLROOT=/usr/local/autofs-5.0.3 > to get the man pages to install in the right place. Sound like this is straight forward to fix. I'll get onto that. > > I also started in the init.d/autofs $DAEMON instead of $prog > (so it prepended the pathname). Yes, I can see where that's wrong. I'll look into that also. > > The README file mentions a README.options file, I don't see one there. Oops, the README is hopelessly out of date. I'll need to review all these and fixem up. In the meantime "./configure --help" should give you information about the configure options. Ian