Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 21:44:39 -0500 (EST)
From:      AN <andy@neu.net>
To:        bf1783@gmail.com
Cc:        naddy@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re: galculator-2.1 fatal error: 'quadmath.h' file not found
Message-ID:  <alpine.BSF.2.00.1302122143240.41795@mail.neu.net>
In-Reply-To: <CAGFTUwOcrXejiN1R1dVHXgmhd4A0fB66=Pp9qjFcjU60CONfhg@mail.gmail.com>
References:  <CAGFTUwOcrXejiN1R1dVHXgmhd4A0fB66=Pp9qjFcjU60CONfhg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1302122143240.41795>