LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-18-2005, 01:44 PM   #1
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Rep: Reputation: 20
GCC second pass


I'm at the stage of the second pass for gcc. I know this probably sounds like a dumb question but the first step is to issue the command

Code:
expect -c "spawn ls"
I'm not sure what directory I'm supposed to be in for this. Help!

Thanks
 
Old 07-18-2005, 02:04 PM   #2
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
Hi,

as far as I know, you don't need to be in any particular directory, that command line will only tell you 'spawn ls' if you applied the patch correctly and... if not the case, it will complain about no more availabe PTY's, but your current location into the directory tree... that's not relevant, at least for me it works wheter I'm into glibc-build, gcc-build or just.. $LFS/sources

Julio
 
Old 07-18-2005, 02:58 PM   #3
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
Well the problem is I get command not found whenever I try to run it. And I've gone back over the steps to see if I missed something and I can't find anything wrong.
 
Old 07-18-2005, 04:18 PM   #4
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
if the system can't find a suitable command it's likely something gone wrong with installing expect, so the only advice I can give to you is to re-check that part of the book...

Julio
 
Old 07-20-2005, 02:43 PM   #5
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
Well I went back and redid it following the directions to a t and it still doesn't work. So I'm stuck since this is a critical part of the installation. Any suggestions?
 
Old 07-21-2005, 01:42 AM   #6
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Quote:
Originally posted by Mystified
Well I went back and redid it following the directions to a t and it still doesn't work. So I'm stuck since this is a critical part of the installation. Any suggestions?
Did you install tcl && expect? Could you find expect in $PATH? Reinstall these packages once more as LFS book suggest

Good luck,
GH
 
Old 07-28-2005, 09:21 PM   #7
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Blog Entries: 1

Rep: Reputation: 15
If it's not found in PATH, then it either isn't installed or it was installed wrong (wrong prefix maybe?) Good luck fixing you're problem- I'm still in the middle of mine :P
 
  


Reply



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 Second pass fails thelonewolf Linux From Scratch 1 08-06-2005 11:07 AM
gcc-pass 2...libstdc++-v3...GCC_NO_EXECUTABLE!! tagigogo Linux From Scratch 7 05-15-2005 11:19 AM
GCC pass 1 error mugwump84 Linux From Scratch 2 05-10-2005 05:21 PM
Error configuring GCC, First Pass lloyd_smart Linux From Scratch 8 10-29-2004 11:45 AM
binutils-2.14 first pass, gcc error Add1Sun Linux From Scratch 3 04-29-2004 04:27 PM

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

All times are GMT -5. The time now is 04:33 PM.

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