Opened 18 years ago

Closed 18 years ago

Last modified 10 years ago

#1768 closed defect (invalid)

autofs-4.1.4/lib/Makefile: rpcgen cannot find cpp

Reported by: gerhard@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: 6.1
Severity: minor Keywords:
Cc:

Description (last modified by bdubbs@…)

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 gerhard@…, 18 years ago

(In reply to comment #0)

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

typo: sed -i 's:\(RPCGEN = .*\)$:\1 -Y /usr/bin:' lib/Makefile

comment:2 by bdubbs@…, 18 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

rpcgen is installed as a part of glibc. cpp is installed as a part of gcc.

Reporter's installation is not correct.

comment:3 by bdubbs@…, 10 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.