I wanted to install autofs, so following the instructions in BLFS 8.1, I
installed the required dependency rpcsvc-proto, ran configure and make,
and this is the result:

configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating include/config.h
set -e; for i in lib daemon modules man samples; do make -C $i all; done 
make[1]: Entering directory '/sources/autofs-5.1.3/lib'
gcc -O2 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC 
-D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\" -c 
cache.c
In file included from ../include/automount.h:32:0,
                 from cache.c:25:
../include/rpc_subs.h:19:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [../Makefile.rules:66: cache.o] Error 1
make[1]: Leaving directory '/sources/autofs-5.1.3/lib'
make: *** [Makefile:14: daemon] Error 2

It appears to require rpc.h, which is no longer included in glibc.
What do I have to do to build autofs?

Steve Berman
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to