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

b.f. bf1783 at googlemail.com
Wed Feb 13 01:16:19 UTC 2013


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


More information about the freebsd-ports mailing list