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

2012-08-09 Thread Richard Melville


 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

 Thanks for the really quick response Bruce -- much appreciated.

I'm 99.9% certain that I was in gcc-4.7.1; It's a routine -- untar and then
cd.  Even if I forgot once (which is unlikely) I don't believe that I would
have forgotten on all four occasions;  I always double check everything.

I've now attempted building gcc for the fifth time and it has built OK;
this is really weird. I've trawled the web and noticed that others have had
the same error message in MPC configure without finding a positive answer.
 Could it be a strange intermittent bug?  I'm not trying to shift
responsibility from my own actions, but I just can't see what I
did differently the fifth time around.

Thanks again.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


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

2012-08-09 Thread Bruce Dubbs
Richard Melville wrote:

 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

 Thanks for the really quick response Bruce -- much appreciated.

 I'm 99.9% certain that I was in gcc-4.7.1; It's a routine -- untar and then
 cd.  Even if I forgot once (which is unlikely) I don't believe that I would
 have forgotten on all four occasions;  I always double check everything.

 I've now attempted building gcc for the fifth time and it has built OK;
 this is really weird. I've trawled the web and noticed that others have had
 the same error message in MPC configure without finding a positive answer.
   Could it be a strange intermittent bug?  I'm not trying to shift
 responsibility from my own actions, but I just can't see what I
 did differently the fifth time around.

One way to make sure you are using the exact instructions is to create a 
short script for the package.  For example:

#!/bin/bash

tar -xf package
cd package
configure ... 21 | teepkg.log
make  21 | tee -a pkg.log
make install  21 | tee -a pkg.log

Then it's reproducible and you can narrow down issues with the logs.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


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

2012-08-09 Thread Richard Melville
Hi Bruce

I've now completed the temp build successfully, but digging around in the
file system to try and track down that error I've noticed that I have the
following directories under $LFS/tools (in addition to all the others of
course):-

x86_64-lfs-linux-gnu
x86_64-unknown-linux-gnu

That can't be right can it?  They seem to hold duplicated content.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page