[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SunRPC make fails.
From: |
Petros Tsantoulis |
Subject: |
SunRPC make fails. |
Date: |
Wed, 11 Apr 2001 12:08:41 +0300 |
User-agent: |
Mutt/1.2.5i |
I tried to compile glibc-2.2.2 on a linux system with kernel 2.4.2
and all appropriate tools (gcc 2.95.3, make 3.79 etc).
The problem I was having is that "make -c sunrpc others" fails
at the point where [...] rpcgen -Y [...] is invoked.
After inserting a perror() function in rpc_main.c I found out that
gcc -print-file-name=cpp (perhaps it should be gcc -print-prog-name?)
prints "cpp" and rpcgen fails saying that "cpp was not found".
The temporary solution I gave was changing the Makefile in
sunrpc/Makefile to say :
rpcgen-cmd = $(built-program-cmd) -Y /usr/local/bin
instead of
rpcgen-cmd = $(build-program-cmd) -Y `$(CC) -print-file-name=cpp | sed
...etc
where /usr/local/bin is the location for cpp.
This worked immediately and the library compiled fine.
Perhaps my system is badly configured, but I did not find any mention
of this problem in the FAQ so I posted it to you.
Sincerely,
Petros
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- SunRPC make fails.,
Petros Tsantoulis <=