On Tue, 2005-09-06 at 01:26 +0700, Strong wrote: > I found that several src.rpms making fails with the same output: > ... > checking for dlfcn.h... yes > checking for i686-redhat-linux-gnu-g++... no > checking for i686-redhat-linux-gnu-c++... no > checking for i686-redhat-linux-gnu-gpp... no > checking for i686-redhat-linux-gnu-aCC... no > checking for i686-redhat-linux-gnu-CC... no > checking for i686-redhat-linux-gnu-cxx... no > checking for i686-redhat-linux-gnu-cc++... no > checking for i686-redhat-linux-gnu-cl... no > checking for i686-redhat-linux-gnu-FCC... no > checking for i686-redhat-linux-gnu-KCC... no > checking for i686-redhat-linux-gnu-RCC... no > checking for i686-redhat-linux-gnu-xlC_r... no > checking for i686-redhat-linux-gnu-xlC... no > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking how to run the C++ preprocessor... /lib/cpp > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. > error: Bad exit status from /var/tmp/rpm-tmp.70505 (%build) > Something common, source packages independent should be here. What can > this be? The message tells you to look in config.log. There you will find source of the program it used to perform the "sanity test" on cpp and also the output of the attempt to build and run it. That should tell you why it is failing. Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>