Re: error when rpmbuild a file (fedora)

From: Nils O. Selåsdal (
Date: 01/05/04

Date: Mon, 05 Jan 2004 08:29:23 GMT

In article <pan.2003.>, fb wrote:
> hallo,
> when i rpmbuild any file i have this message:
> [...]
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for a BSD-compatible install... /usr/bin/install -c
> 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.62959 (%build)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.62959 (%build)
as it says /lib/cpp fails. /lib/cpp is part of the cpp rpm.
Install it. Or, if you already have, somethings screwd up,so
you should reinstall it. Still fails, reinstall gcc/gcc-c++

Vennlig hilsen/Best Regards
Nils Olav Selåsdal <NOS at>
System Engineer
UtelSystems a/s