[lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

Bruce Dubbs bruce.dubbs at gmail.com
Wed Aug 8 11:46:10 PDT 2012

Richard Melville wrote:
> I realise that I'm building the dev edition, but my host is Linux Mint
> Cinnamon 64 bit and the host requirements appeared to fit better. Also it
> looked as though the dev edition was at a reasonably stable stage.
> I'm building a 64 bit edition on a 64 bit host (OS and hardware).
> The failure is:-
> checking for MPFR... no
> configure: error: libmpfr not found or uses a different ABI (including
> static vs shared).
> make[1]: *** [configure-mpc] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
> make: *** [all] Error 2
> Everything has built fine up to this stage and the sanity checks were OK.
> MPFR and GMP have compiled OK with the libraries installed in .libs. I've
> even checked to make sure that the MPFR libraries were 64 bit, and now I've
> run out of ideas. I'd be really grateful for any help. I've tried
> rebuilding GCC four times now with the same result.

Are you sure you changed to the gcc-4.7.1 directory before

tar -Jxf ../mpfr-3.1.1.tar.xz
mv -v mpfr-3.1.1 mpfr
tar -Jxf ../gmp-5.0.5.tar.xz
mv -v gmp-5.0.5 gmp
tar -zxf ../mpc-1.0.tar.gz
mv -v mpc-1.0 mpc

   -- Bruce

More information about the lfs-support mailing list