[opensuse-buildservice] /lib/cpp error
Hi all, It seems that every time I build for Fedora:*, and the build host doesn't like the gcc, it always drops an error: checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/home/abuild/rpmbuild/BUILD/dependencies/tqtinterface': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. Any way to override this or fix this? I can guarantee that this builds on Fedora 14 x86_64 natively. -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Robert, i think you need BuildRequires: gcc-c++ Cheers, Carsten Robert Xu schrieb:
Hi all,
It seems that every time I build for Fedora:*, and the build host doesn't like the gcc, it always drops an error:
checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/home/abuild/rpmbuild/BUILD/dependencies/tqtinterface': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.
Any way to override this or fix this? I can guarantee that this builds on Fedora 14 x86_64 natively.
On Thursday 25 November 2010 21:12:20 Carsten Schoene wrote:
Hi Robert,
i think you need BuildRequires: gcc-c++
Cheers, Carsten
Robert Xu schrieb:
Hi all,
It seems that every time I build for Fedora:*, and the build host doesn't like the gcc, it always drops an error:
checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/home/abuild/rpmbuild/BUILD/dependencies/tqtinterf ace': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.
Any way to override this or fix this? I can guarantee that this builds on Fedora 14 x86_64 natively.
Hi, I am guessing that on a local OBS the project config is not the same as the public OBS, which would have something like: Preinstall: gcc-c++ This is a guess, but this might fix it for all your packages building locally. Peter -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 25/11/10 23:06, P Linnell wrote:
Hi, I am guessing that on a local OBS the project config is not the same as the public OBS, which would have something like:
Preinstall: gcc-c++
This is a guess, but this might fix it for all your packages building locally.
Close, but not enough :-) Fedora does preinstall C++ compiler in a buildroot for any package. We don't, so any package that uses C++ has to have BuildRequires: gcc-c++ -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Carsten Schoene
-
P Linnell
-
Pavol Rusnak
-
Robert Xu