On Fri, Apr 11, 2008 at 12:35 AM, Abraão Ferreira <[EMAIL PROTECTED]> wrote: > > > I'm trying to install the package autoFS version 4.1.4 and after the > package version 5.0.3. I'm using kernel version 2.6.22.5, but receive the > follow message: > > /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
I just tested, and I think you must be missing the symlink to cpp at /lib. I.e., $ ls -l /lib/cpp lrwxrwxrwx 1 root root 14 Feb 29 22:30 /lib/cpp -> ../usr/bin/cpp After that, run $ echo | rpcgen -h $ echo $? If you still have errors, check that /usr/bin/cpp actually exists. > I tried the suggestion of the websites: > > sed -i 's:^\(RPCGEN = .*\)$/\1 -Y /usr/bin:' lib/Makefile > > But it give me another error: > > sed: -e expression #1, char 35: unterminated 's' command You shouldn't need this fix, but the problem is that the delimiter is the : in this case not a / like you normally do with sed 's/old/new/'. So, the "/" after the $ needs to be a ":". -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
