gmp w/ mpfr for gcc's f95

Patrick Pelissier patrick.pelissier at
Tue Nov 29 18:54:47 CET 2005

> > > Configure for mpfr has '--with-gmp=/opt/csw', which is the prefix for
> >
> > so the defualt prefix for gmp being /usr/local if I put
> > --with-gmp=/usr/local  that should work?    I was expecting the
> > gnu-ish defaults of /usr/local to be picked up and handled correctly
> > automatically, so I wondered if I had to point CFLAGS or something
> > at the actual source directories..
> configure --with-gmp=/usr/local gave:
> checking for gmp.h... yes
> checking for recent GMP... yes
> checking for gmp internal files... no
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for __gmpz_init in -lgmp... no
> configure: error: libgmp not found
> neelix hgs 88 %>
> No, I'm still confused then.

 ./configure should work if GMP is installed in /usr/local.
 Could you send to mpfr at your config.log and the complete
output of the configure script?

 Patrick Pelissier

More information about the gmp-discuss mailing list