LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GCC second pass (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-second-pass-344356/)

Mystified 07-18-2005 01:44 PM

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

ParticleHunter 07-18-2005 02:04 PM

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

Mystified 07-18-2005 02:58 PM

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.

ParticleHunter 07-18-2005 04:18 PM

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

Mystified 07-20-2005 02:43 PM

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?

freegianghu 07-21-2005 01:42 AM

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

TGWDNGHN 07-28-2005 09:21 PM

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


All times are GMT -5. The time now is 11:21 AM.