On Sun, Oct 25, 2015 at 1:02 PM, Michael Havens <[email protected]> wrote:

>
>
> On Sun, Oct 25, 2015 at 12:51 PM, Bruce Dubbs <[email protected]>
> wrote:
>
>> Michael Havens wrote:
>>
>>> when I first began playing with LFS I was instructed to script my build
>>> so
>>> that is what I do. I was also instructed to build it on a virtual machine
>>> but because you can get recycled computers from universities I decided to
>>> build lfs on one of those instead (I got an  optiplex 755 for less than
>>> $25.... that is less than what two thumb drives cost in the USA).
>>>
>>> First I write the build script and then copy it from the main computer to
>>> the LFS machine:
>>>
>>> scp [email protected]:/home/bmike1/Documents/LFS/7.8/build/5.5build.txt
>>> $LFS/sources
>>> [email protected]'s password:
>>> 5.5build.txt                                  100% 1700     1.7KB/s
>>>  00:00
>>>
>>>
>>> then I run the script. I do not think it is acting correctly because the
>>> the errors appear immediately; gcc doesn't unpack.
>>>
>>> here is an example of the script:
>>>
>>> #5.5
>>> tar -xf gcc-5.2.0.tar.bz2
>>> cd gcc-5.2.0
>>> cp ../mpfr-3.1.3.tar.xz .
>>> cp ../mpc-1.0.3.tar.gz .
>>> cp ../gmp-6.0.0a.tar.xz .
>>> tar -xf ../mpfr-3.1.3.tar.xz
>>> mv -v mpfr-3.1.3 mpfr
>>> tar -xJf ../gmp-6.0.0a.tar.xz
>>> mv -v gmp-6.0.0 gmp
>>> tar -xf ../mpc-1.0.3.tar.gz
>>> mv -v mpc-1.0.3 mpc
>>>
>>
>> That's not what the book said to do.
>>
>> 1. Remove the three cp commands.
>> 2. Remove the j, z, and J from the tar commands.  You only need those
>> when creating the tar files.
>>
>>
> Regarding point 1:
>
> 'GCC now requires the GMP, MPFR and MPC packages. As these packages may
> not be included in your host distribution, they will be built with GCC.
> Unpack each package into the GCC source directory and rename the resulting
> directories so the GCC build procedures will automatically use them.'
>
> Okay on point two.
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
>
You don't need to copy since you are extracting from the source directory.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to