Message: previous - next
Month: July 2012

tdebase - ftbfs - rpcgen - cannot find any C preprocessor

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 08 Jul 2012 21:56:11 -0500
Tim, Darrell,

  This is probably arch, but I've hit a new tdebase failure regarding rpcgen:

[ 49%] Building CXX object kioslave/man/CMakeFiles/kio_man-module.dir/kio_man.cpp.o
Linking CXX shared module
[ 49%] Built target kio_man-module
[ 49%] Generating kmanpart.moc
Scanning dependencies of target libkmanpart-module
[ 49%] Building CXX object
Linking CXX shared module
[ 49%] Built target libkmanpart-module
[ 49%] Generating nfs_prot_xdr.c
cannot find any C preprocessor (cpp)
rpcgen: C preprocessor failed with exit code 1
make[2]: *** [kioslave/nfs/nfs_prot_xdr.c] Error 1
make[1]: *** [kioslave/nfs/CMakeFiles/kio_nfs-module.dir/all] Error 2
make: *** [all] Error 2

  Googling, this looks like it is due to some hardcoded path somewhere in tde. I
do not know what changed with the latest gcc update, but it looks like we need
to add preprocessor directives to the code to handle this change. I'll provide
patch update information later on this week.

David C. Rankin, J.D.,P.E.