I get the same error with that approach. I can't figure out how it could find the wrong mpfr.h when I'm pointing it to the directory that contains the file (and I know the file there is the right version since I just installed it). Damian On Fri, May 15, 2009 at 7:41 AM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > Damian Rouson <damian@xxxxxxxxxx> writes: > >> Thanks. Apparently the mpfr.h header file is in /usr/local/include. >> How do I point gcc to this location? I've tried each of the following >> flags on the configure command: >> >> --with-mpfr=/usr/local >> --with-mpfr=/usr/local/include >> --with-mpfr=/usr/local/lib >> --with-mpfr=<path-to-mpfr-source>/mpfr-2.4.1 >> >> I get the same error with each of these. > > --with-mfpr-include=/usr/local/include > --with-mpfr-lib=/where/libmpfr/lives > > Ian >