Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2013 01:16:18 +0000
From:      "b.f." <bf1783@googlemail.com>
To:        AN <andy@neu.net>, freebsd-ports@freebsd.org
Cc:        naddy@FreeBSD.org
Subject:   Re: galculator-2.1 fatal error: 'quadmath.h' file not found
Message-ID:  <CAGFTUwOcrXejiN1R1dVHXgmhd4A0fB66=Pp9qjFcjU60CONfhg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> AN wrote:

...

This appears to be one of those unfortunate errors that sometimes
occur when the presence of additional software on your system
adversely affects a build, in a way that isn't seen on the test
machines or the package-building cluster, because those machines start
builds in a clean sandbox, with only certain pre-computed dependencies
installed.  Here galculator's faulty configure script (which was
probably written and tested on a system that has a recent version of
gcc as the default compiler) looks for and finds libquadmath, which is
part of gcc-4.[678], and then attempts to use it, without checking if
the compiler that you are using can use GCC quadmath:

> checking for sinhq in -lquadmath... yes

You can either patch the port's sources, or add

CONFIGURE_ENV+= ac_cv_lib_quadmath_sinhq=no

to an included Makefile, or (if you need the extended precision
features) try to build the port with USE_GCC=4.6+.

b.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwOcrXejiN1R1dVHXgmhd4A0fB66=Pp9qjFcjU60CONfhg>