[Libvir] AC_PROG_CPP

Richard W.M. Jones rjones at redhat.com
Tue May 29 10:45:16 UTC 2007

Daniel Veillard wrote:
> On Mon, May 14, 2007 at 05:34:08PM +0100, Richard W.M. Jones wrote:
>> Daniel P. Berrange wrote:
>>>> checking whether we are using the GNU C++ compiler... no
>>>> checking whether g++ accepts -g... no
>>>> checking dependency style of g++... none
>>>> checking how to run the C++ preprocessor... /lib/cpp
>>>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>>>> See `config.log' for more details.
>>> Anything interesting in config.log ?
>> configure:5551: /lib/cpp  conftest.cc
>> cpp: installation problem, cannot exec `cc1plus': No such file or directory
>> That's where I was getting C++ from ...
>   Hum, I don't think we need cpp standalone capability, we are just compiling
> C code there, if removing AC_PROG_CPP removes the check for C++ compiler
> being installed then I would be very happy to just remove it !

Actually, I dug further into this and it wasn't the AC_PROG_CPP which 
was the problem, but was buried deep inside one of the other macros we 
are using.  Will look further ...


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070529/5decfa27/attachment-0001.bin>

More information about the libvir-list mailing list