#1768 closed defect (invalid)
autofs-4.1.4/lib/Makefile: rpcgen cannot find cpp
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | 6.1 |
Severity: | minor | Keywords: | |
Cc: |
Description (last modified by ) ¶
make[1]: Entering directory '/usr/src/autofs/autofs-4.1.4/lib' gcc -O3 -fomit-frame-pointer -Wall -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPERS -DNFS3_SUPPORTED -c cache.c /usr/bin/rpcgen -h -o mount.h mount.x cannot find any C preprocessor (cpp) /usr/bin/rpcgen: C preprocessor failed with exit code 1 make[1]: * [mount.h] Error 1 make[1]: Leaving directory '/usr/src/autofs/autofs-4.1.4/lib' make: * [daemon] Error 2
adding this step before running 'make' or './configure' tells rpc to look for cpp in '/usr/bin':
sed -i 's:\(RPCGEN = .*\)$/\1 -Y /usr/bin:' lib/Makefile
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
rpcgen is installed as a part of glibc. cpp is installed as a part of gcc.
Reporter's installation is not correct.
(In reply to comment #0)
typo: sed -i 's:\(RPCGEN = .*\)$:\1 -Y /usr/bin:' lib/Makefile