GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+ SOLVED

Thomas Anderson mendicant2 at gmail.com
Thu Apr 2 09:24:39 PDT 2009


Thanks for all your feedback. Aaron Sterling was correct - I did not
unpack the mpfr and gmp packages in the gcc directory. The book
doesn't explicitly say this but then again it doesn't tell me to
breath every few seconds or so either - lol. I will try to think
things out a little better in the future before posting. The compile
is going on now and while slow looks like it is going OK.
Once again thanks for your help,
M.

On Wed, Apr 1, 2009 at 11:00 PM,
<lfs-support-request at linuxfromscratch.org> wrote:
> Send lfs-support mailing list submissions to
>        lfs-support at linuxfromscratch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://linuxfromscratch.org/mailman/listinfo/lfs-support
> or, via email, send a message with subject or body 'help' to
>        lfs-support-request at linuxfromscratch.org
>
> You can reach the person managing the list at
>        lfs-support-owner at linuxfromscratch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-support digest..."
>
>
> Today's Topics:
>
>   1. GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
>      (Thomas Anderson)
>   2. Re: GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
>      (Aaron Sterling)
>   3. Re: GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
>      (Mike McCarty)
>   4. Re: I managed to wipe out my host /dev/ directory (Dan Tran)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 1 Apr 2009 13:57:24 -0700
> From: Thomas Anderson <mendicant2 at gmail.com>
> Subject: GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
> To: lfs-support at linuxfromscratch.org
> Message-ID:
>        <5d8f88440904011357q393450e1xda1df3a90d54ba92 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
> I was working on the compilation of GCC (first pass) when after the
> following command:
>
> CC="gcc -B/usr/bin/" ../gcc-4.3.2/configure --prefix=/tools
> --with-local-prefix=/tools --disable-nls --disable-shared
> --disable-libssp --enable-languages=c
>
> I received the following error message:
>
> configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
> Try the --with-gmp and/or --with-mpfr options to specify their locations.
>
> The book did not explicitly say to compile the mpfr and gmp packages
> (they are unpacked - as user lfs - into their specified directories)
> but it seems to me that this should be done (or does gcc do this
> during the first pass after I specify their locations as described in
> the error message?). My concern is whether I should use any of the
> compiling options specified with the binutils and gcc compilations. I
> would like to make sure I get this right since it is an important step
> (and 22 SBUs on an older box).
>
> Thanks in advance for any help (specific background info immediately below),
> R.
>
> Background Info:
> Book LFS 6.4 p. 39
> LFS Version 6.4 (no deviations from the book to this point)
> Host version: Ubuntu-8.04.2-server (uname -a --> 2.6.24-23-server)
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Apr 2009 17:07:04 -0400
> From: Aaron Sterling <aaronasterling at gmail.com>
> Subject: Re: GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID:
>        <55fc51850904011407t581cf07en5b650000d71abc9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I am working on ubuntu 8.10 and this step works fine for me.? have you
> unpacked them into the gcc directory (not their own directly under
> sources but under gcc....) and renamed the resulting directories to
> gmp and mpfr?
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 01 Apr 2009 22:25:44 -0600
> From: Mike McCarty <Mike.McCarty at sbcglobal.net>
> Subject: Re: GCC-4.3.2 Pass1 - requires GMP 4.1+ and MPFR 2.3.0+
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID: <49D43E48.6050405 at sbcglobal.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Thomas Anderson wrote:
>> Hi,
>> I was working on the compilation of GCC (first pass) when after the
>> following command:
>>
>> CC="gcc -B/usr/bin/" ../gcc-4.3.2/configure --prefix=/tools
>> --with-local-prefix=/tools --disable-nls --disable-shared
>> --disable-libssp --enable-languages=c
>>
>> I received the following error message:
>>
>> configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
>> Try the --with-gmp and/or --with-mpfr options to specify their locations.
>>
>> The book did not explicitly say to compile the mpfr and gmp packages
>> (they are unpacked - as user lfs - into their specified directories)
>
> I am currently at the end of Chapter 5, and had no problem. I'm
> using the LiveCD 6.3 r 2160. Did you do the rename specified after
> the unpacks?
>
> Mike
> --
> p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
> Oppose globalization and One World Governments like the UN.
> This message made from 100% recycled bits.
> You have found the bank of Larn.
> I speak only for myself, and I am unanimous in that!
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 1 Apr 2009 22:14:01 -0700
> From: Dan Tran <dantran at gmail.com>
> Subject: Re: I managed to wipe out my host /dev/ directory
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID:
>        <c38ad92d0904012214y5f26df88r1a39e1b5a77f2d95 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> FYI, udev is a beauti, it regen my /dev at boot up
>
> -D
>
>
> ------------------------------
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
> End of lfs-support Digest, Vol 1673, Issue 1
> ********************************************
>



More information about the lfs-support mailing list