Description of problem: rpcgen should look for cpp in /usr/bin/cpp instead of /usr/ccs/lib/cpp $ strings `which rpcgen` |grep cpp /cpp /usr/ccs/lib/cpp -Y path directory name to find C preprocessor (cpp) cannot find any C preprocessor (cpp) $ Version-Release number of selected component (if applicable): glibc-common-2.8-3.x86_64
15:43 <Furby> rpcgen -h -o rquota.h rquota.x 15:43 <Furby> cannot find any C preprocessor (cpp) 15:43 <Furby> rpcgen: C preprocessor failed with exit code 1 And some more information: [pid 1149] stat64("/lib/cpp", <unfinished ...> [pid 1148] <... close resumed> ) = 0 [pid 1148] fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) [pid 1148] brk(0) = 0x10040000 [pid 1148] brk(0x10070000) = 0x10070000 [pid 1148] fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 1148] mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fe0000 [pid 1148] _llseek(3, 0, 0xff99f3f8, SEEK_CUR) = -1 ESPIPE (Illegal seek) [pid 1148] open("rquota.h", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 [pid 1148] fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 1148] mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fd0000 [pid 1148] write(4, "/*\n * Please do not edit this fi"..., 189) = 189 [pid 1148] _llseek(4, 0, [189], SEEK_CUR) = 0 [pid 1148] read(3, <unfinished ...> [pid 1149] <... stat64 resumed> 0xff99f478) = -1 ENOENT (No such file or directory) [pid 1149] stat64("/usr/ccs/lib/cpp", 0xff99f478) = -1 ENOENT (No such file or directory) [pid 1149] fstat64(1, {st_mode=S_IFREG|0644, st_size=2501, ...}) = 0 [pid 1149] mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fe0000 [pid 1149] write(1, "cannot find any C preprocessor ("..., 37cannot find any C preprocessor (cpp) This reportedly occured on 64bit ppc. Note that it looks for /lib/cpp. I suspect cpp may reside in /lib64/cpp there?
Created attachment 312431 [details] Add /usr/bin/cpp to cpp search path Proposed fix.
Your setup must be wrong. There always has been and still is a /lib/cpp. It's a symlink. Even on 64-bit machines. No need to change anything.