[Bug other/49137] New: build fails when gmp/mpfr already installed

sliwa at blue dot cft.edu.pl gcc-bugzilla@gcc.gnu.org
Tue May 24 11:48:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49137

           Summary: build fails when gmp/mpfr already installed
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sliwa@blue.cft.edu.pl


When gmp/mpfr are already installed _and_ their sources have been unpacked into
the gcc source directory, building mpfr fails due to gmp.h not found.

I would expect such a scenario when building and using the supplied gmp/mpfr
sources is preferred over the installed (system) libraries, which typically are
outdated (but cannot be uninstalled due to dependencies).

FreeBSD 8.1 i386

the configure command line was

../gcc-4.5.3/configure --prefix=${HOME}/opt/gcc/4.5.3
--enable-languages=c,c++,fortran



More information about the Gcc-bugs mailing list