[Bug 1768] autofs-4.1.4/lib/Makefile: rpcgen cannot find cpp

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Sun Jan 1 10:17:12 PST 2006


------- Additional Comments From gerhard at ramsebner.com  2006-01-01 11:17 -------
(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
> /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
sed -i 's:^\(RPCGEN = .*\)$:\1 -Y /usr/bin:' lib/Makefile

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the blfs-book mailing list