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: [email protected]
ReportedBy: [email protected]
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