Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions
Reload this Page LFS installing GCC, pass 2
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Other Distributions Post questions about distributions that do not have their own forums in here

Reply
 
Thread Tools Display Modes
Old 06-18-2006   #1 (permalink)
tuxxman
Just Joined!
 
Join Date: Jul 2005
Location: look out your window
Posts: 72
Send a message via AIM to tuxxman
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.
Quote:
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
tuxxman is offline   Reply With Quote
Old 06-18-2006   #2 (permalink)
tuxxman
Just Joined!
 
Join Date: Jul 2005
Location: look out your window
Posts: 72
Send a message via AIM to tuxxman
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?
tuxxman is offline   Reply With Quote
Old 06-18-2006   #3 (permalink)
tuxxman
Just Joined!
 
Join Date: Jul 2005
Location: look out your window
Posts: 72
Send a message via AIM to tuxxman
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
tuxxman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 09:11 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0