Skip to contentSkip to conversation

autofs 5.0.3 problems

PATCH Marty Leisner 2 participants 2 messages Jan 21, 2008 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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

01/21 00:20:47 renamed from 01/21 00:20:10 1.2 +2 -0
diff -u -r1.2 Makefile.conf
@@ -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.

I also started in the init.d/autofs $DAEMON instead of $prog (so it prepended the pathname).

The README file mentions a README.options file, I don't see one there.

marty

maintainer
#1 lore raw
Quoted 32 lines · Marty Leisner

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

01/21 00:20:47 renamed from 01/21 00:20:10 1.2 +2 -0
@@ -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
Quoted 6 lines

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.

Quoted 3 lines

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.

Quoted 2 lines

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