clone 357369 -1
reassign -1 autoconf
retitle -1 please fail in an obvious way when CXX doesn't exist
thanks

* Martin Michlmayr <[EMAIL PROTECTED]> [2006-03-16 21:57]:
> I'm building the whole archive with GCC/G++ 4.1.  Your package failed
> in a pretty strange way.  As it turns you, the reason is that you
> explictly call g++-4.0, but that's not installed in my chroot.

> > Automatic build of quantlib_0.3.11-2.1 on bigsur by sbuild/mips 1.94
> ...
> > checking for M_1_SQRTPI... no
> > checking for Boost development files... no
> > configure: error: Boost development files not found
> > make: *** [build-stamp] Error 1
> 
> config.log shows what's going on:
> 
> configure:20092: checking for Boost development files
> configure:20113: g++-4.0 -c -O2 -D_REENTRANT -fpermissive  conftest.cc >&5
> ./configure: line 20114: g++-4.0: command not found
> 
> Although I wonder why the configure script doesn't fail in a more
> obvious way when CXX is not available...

Ben, I think autoconf could fail much earlier and in a more obvious
way.  At the moment, most of the log looks okay:

checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... no
checking whether g++-4.0 accepts -g... no
checking dependency style of g++-4.0... none
checking how to run the C preprocessor... gcc -E
...

The full config.log is attached.  The full build log can be found at
http://people.debian.org/~tbm/logs/gcc-4.1/quantlib_0.3.11-2.1_20060316-0716

What do you think?
-- 
Martin Michlmayr
http://www.cyrius.com/

Attachment: config.log.bz2
Description: Binary data

Reply via email to