galculator-2.1 fatal error: 'quadmath.h' file not found

AN andy at neu.net
Wed Feb 13 02:44:47 UTC 2013



On Wed, 13 Feb 2013, b.f. wrote:

>> 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.
>

Adding USE_GCC=4.6+ to the makefile fixed it.  Thanks for your response.


More information about the freebsd-ports mailing list