FW: Configuring fails on missing mpc.h on Mac OS 10.5.8

Rouson, Damian rouson@sandia.gov
Thu Dec 17 15:19:00 GMT 2009


I forgot to turn off the HTML formatting again.  Here¹s a resend:

------ Forwarded Message
From: Damian Rouson <rouson@sandia.gov>
Date: Thu, 17 Dec 2009 07:16:58 -0800
To: Janus Weil <janus@gcc.gnu.org>
Cc: gfortran <fortran@gcc.gnu.org>
Conversation: Configuring fails on missing mpc.h on Mac OS 10.5.8
Subject: Re: Configuring fails on missing mpc.h on Mac OS 10.5.8

Thanks, Janus.

I have now downloaded mpc 0.8.1 and installed it.  Now make, make install,
and make check all go through fine and configure finds mpc.h, but I think
it¹s failing to find the mpc executable:

checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.2+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.

I have gmp 4.3.1 and mpfr 2.4.1.  Thoughts?

Cheers,
Damian



On 12/17/09 6:37 AM, "Janus Weil" <janus@gcc.gnu.org> wrote:

> Hi Damian,
> 
>> I just did an svn update and also tried a fresh checkout, but both fail to
>> configure because configure can't find mpc.h.  Is this a new requirement? I
>> never needed it before.
> 
> Yes, it is new, see http://gcc.gnu.org/ml/gcc/2009-11/msg00823.html.
> 
> 
>> I'm on Mac OS 10.5.8.  My configure line and the
>> tail of the output are below.  I installed mpc via macports, but it didn't
>> seem to install mpc.h.
> 
> I think the 'mpc' that you find in macports is a different thing than
> what GCC requires (namely some kind of audio tool). Try 'port info
> mpc'. I have not been able to find mpc (the multi-precision library
> for complex numbers) in the macports repo.
> 
> You should consider building mpc from source (available from
> http://www.multiprecision.org/).
> 
> Cheers,
> Janus
> 
> 

------ End of Forwarded Message




More information about the Fortran mailing list