Find the answer to your Linux question:
Results 1 to 3 of 3
Im doing the GCC installation, pass 2 in LFS 6.1.1 http://www.linuxfromscratch.org/lfs/...gcc-pass2.html <-- is what im on right now. First correct a known problem and make an essential adjustment: patch -Np1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    look out your window
    Posts
    72

    LFS installing GCC, pass 2


    Im doing the GCC installation, pass 2 in LFS 6.1.1
    http://www.linuxfromscratch.org/lfs/...gcc-pass2.html <-- is what im on right now.
    First correct a known problem and make an essential adjustment:

    patch -Np1 -i ../gcc-3.4.3-no_fixincludes-1.patch
    patch -Np1 -i ../gcc-3.4.3-specs-2.patch
    and i did this from a terminal, it gave me:
    Code:
    lfs@tux /mnt/lfs/sources/gcc-build $ patch -Np1 -i ../gcc-3.4.3-no_fixincludes-1.patch
    can't find file to patch at input line 12
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |Submitted By: LFS PATCH
    |Date: 2004-11-06
    |Initial Package Version: 3.4.3
    |Upstream Status: Not Sent - LFS Specfic
    |Origin: Originally developed for GCC 3.2 by Greg Schafer and Zack Winkles
    |Description: Prevent fixincludes script from running.
    |
    |
    |diff -Naur gcc-3.4.3.orig/gcc/Makefile.in gcc-3.4.3/gcc/Makefile.in
    |--- gcc-3.4.3.orig/gcc/Makefile.in     2004-10-18 16:00:39.000000000 +0000
    |+++ gcc-3.4.3/gcc/Makefile.in  2004-11-05 18:09:54.600593528 +0000
    --------------------------
    File to patch:
    I dont know which file i want to patch, and this is kinda annoying



    Thanks,
    tuxxman

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Location
    look out your window
    Posts
    72
    ok, i figured out why it wasnt working...i was in the wrong directory
    anyway, now that im in the right directory (/mnt/lfs/sources/gcc-3.4.3 ) another problem arises.

    Code:
    lfs@tux /mnt/lfs/sources/gcc-3.4.3 $ patch -Np1 -i ../gcc-3.4.3-no_fixincludes-1.patch
    patching file gcc/Makefile.in
    patch: **** write error : No space left on device
    but
    Code:
    tux tuxxman # du -sh /mnt/lfs
    1.1G    /mnt/lfs
    and
    Code:
    tux tuxxman # mount | grep lfs
    /dev/hda4 on /mnt/lfs type ext2 (rw)
    and
    Code:
        Name        Flags      Part Type  FS Type          [Label]        Size (MB)
     ------------------------------------------------------------------------------
        hda1                    Primary   Linux ext3                       10001.95 
        hda2        Boot        Primary   Linux ext2                         271.44
        hda3                    Primary   W95 FAT32 (LBA)                  28311.42
        hda4                    Primary   Linux ext2                        1431.20
    and
    Code:
    lfs@tux /mnt/lfs/sources/gcc-3.4.3 $ du -h gcc/Makefile.in 
    164K    gcc/Makefile.in
    I really dont get why it says there's not enough disk space....
    help?

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Location
    look out your window
    Posts
    72
    aha!!!
    i got it,
    my / partition was full, and i had no more room to write to /tools

    feel free to delete this post if you want to, admins

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •