LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-14-2002, 04:37 PM   #16
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16

Just copy the patch to your src directory

cd gcc-3.2
patch -p0 < ../patchfile

doesn't matter what the name of the file is :-).
 
Old 11-14-2002, 04:51 PM   #17
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Awesome. Thanks a lot for all the help guys. Hopefully I should be able to get it all working....Thanks again!
 
Old 11-14-2002, 04:53 PM   #18
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Oops RH 8 uses glibc-2.2.93... not 2.3

Found this though, may help

http://gcc.gnu.org/ml/gcc/2002-10/txt00002.txt
 
Old 11-14-2002, 05:05 PM   #19
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
One more quick question if anyone reads this.....does the general command for the patch install all patches it finds?
 
Old 11-14-2002, 05:12 PM   #20
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for that link...it brings new light to the situation....I went back and restarted ch. 5 ....and this time it never gave me that error when I got to the gcc-3.2 part of the chapter.....so we'll see what turns out.....
 
Old 11-17-2002, 01:11 PM   #21
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
One final post, my LFS system is all set up and running wonderfully. Thanks to all who helped me here...
 
Old 12-10-2002, 08:34 PM   #22
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
I wanted to say that I am building my LFS from a Gentoo Distro base and from what I read there would be no problems with gcc under Gentoo, but I am having the exact same error that Jambeck is having. Does this mean I am going to have to back up and go back through Chapter 5? or is there a way around that?
I have tried all of the info above as well and as far as they go, all is good. CC is gcc, path is good, link is good, etc...
I am glad I am not the only one to see this problem, but if there is anyone else out there with Gentoo attempting to do an LFS on the side, please take note.

thanks
esh
 
Old 12-10-2002, 09:47 PM   #23
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
What glibc is your gentoo distro using ??? If it is (from memory) 2.2.93 or later you will have to apply the patch listed in the link somewhere above this entry
 
Old 12-11-2002, 12:41 AM   #24
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Sorry for the delay, I am running gcc version 2.95.3 on my Gentoo which is 1.2.

So it looks as if I need to apply the patch. Would that be the first .diff patch that was referred to?

Also, I am assuming there is no way to do this without going back to the beginning of Chapter 5.
Thanks for the help.
Just finding this thread has made me glad I am not insane.

esh

Last edited by esherrouse; 12-11-2002 at 08:32 AM.
 
Old 12-11-2002, 08:15 AM   #25
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Oh...
and glibc-2.2.5-r7

Last edited by esherrouse; 12-11-2002 at 09:05 AM.
 
Old 12-11-2002, 04:30 PM   #26
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Hmmmm, you shouldn't need the patch (yes it is the first one in this list) coming from glibc-2.2.5.

I guess if the gcc compile is breaking at exactly the same point as described herein (libstdc++), you could give it a try.

But with your system following the LFS 4.0 instructions it should just work...

If you continue to have issues you may want to post this to the lfs-dev list (after trying chapter 5 again by the book), posting the point where it breaks...
 
Old 12-12-2002, 04:37 PM   #27
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Smile Moving right along

Ok... I started over with Chapter 5 and made it through the GCC install with no problems this time. I am still not sure what the issue was , but glad it is over.

THANK you very much!


I am installing gawk now... and seeing it end with an error which reads as follows:
make: *** [install-recursive] Error 1


Is that something I should worry about?
because most of the "accepted" errors are listed on the docs but that one is not mentioned for gawk...

Actually... I thought I should add that the full concluding section of the installations error reads as this :

make[1]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1/intl'
Making install in .
make[1]: Entering directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make[2]: Entering directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
/bin/sh ./mkinstalldirs /usr/bin
/bin/install -c gawk /usr/bin/gawk
/bin/sh: /bin/install: No such file or directory
/bin/install -c pgawk /usr/bin/pgawk
/bin/sh: /bin/install: No such file or directory
make[2]: *** [install-binPROGRAMS] Error 127
make[2]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/static/src/lfs-packages-4.0/gawk-3.1.1'
make: *** [install-recursive] Error 1


Thought that might help more....
Any thoughts?




esh

Last edited by esherrouse; 12-12-2002 at 04:39 PM.
 
Old 12-12-2002, 04:53 PM   #28
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
I attempted to reinstall gawk again.. as per chapter 6 and things went well, but then I looked back over Chapter 5 and what was done there, would there be any issues if I had done 6 without re doing 5 first?

Colour me paranoid

esh
 
Old 12-12-2002, 05:22 PM   #29
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Ok... beyond all of the above .. I just reached a BIG problem... I have 2 gig set up for this LFS creation with another 1 gig as the swapfile.... and I am out of space at vim!??!
Everything that i can find (officially or otherwise) says that all i need is 1 gig (officially) and then otherwise some say you need just a little more than a gig. How is it that I am only at VIM in Chap 6 and it is full????
VERY confused suddenly.

Cheers,

esh
 
Old 12-12-2002, 05:46 PM   #30
esherrouse
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
oops, I was not removing the .tar etc files after installation...
frees up a bit of space, but still using more than I thought I would need...
What does anyone suspect to be the average installation size requirements?


esh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc 3.2.2 install problem bhuvanagoud Linux - Newbie 1 10-21-2005 11:26 AM
Suse 9.3 Pro gcc install problem Detriamus SUSE / openSUSE 2 10-09-2005 06:11 PM
gcc install problem gear Linux - Newbie 7 09-15-2005 03:44 AM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 05:11 PM
gcc compiler install problem mla Linux - Software 4 10-11-2003 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration