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

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Sun Jan 1 10:14:31 PST 2006


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=1768

           Summary: autofs-4.1.4/lib/Makefile: rpcgen cannot find cpp
           Product: Beyond LinuxFromScratch
           Version: d-6.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: BOOK
        AssignedTo: blfs-book at linuxfromscratch.org
        ReportedBy: gerhard at ramsebner.com
         QAContact: blfs-book at linuxfromscratch.org


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



------- 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