> Date: Mon, 21 Jul 2014 18:02:23 +0200 > From: Stefano Ricci <[email protected]> > To: LFS Support List <[email protected]> > Subject: Re: [lfs-support] fatal error: cstring: No such file or directory - > Chapter 5 of 2 pass gcc > > > > RESOLVED, as indicated by you, the problem was the copy paste. > I rewrote the script and now it works properly. > Thanks again for your patience .. thank you very much. > greetings > Stefano >
Good; & yr welcome - 's no trouble. If you haven't yet gone very far beyond gcc-pass2 in chapter 5, then it might be a good idea to start again - if not already - from the beginning of chapter 5: and use that small replacement yacc script from that point onwards; if you've not used it pre- gcc-pass2 then there might be some other problem you'll hit; OTTOMH, am not sure right here right now exactly _where_ is the yacc version-check 'requirement' essential. rgds, akh > > 2014-07-18 12:08 GMT+02:00 akhiezer <[email protected]>: > > > > Date: Fri, 18 Jul 2014 08:03:25 +0200 > > > From: Stefano Ricci <[email protected]> > > > To: LFS Support List <[email protected]> > > > Subject: Re: [lfs-support] fatal error: cstring: No such file or > > directory - > > > Chapter 5 of 2 pass gcc > > > > > > > > > > > > Hello > > > no /usr/bin/yacc it is not a small script, could be the problem? > > > > > > Maybe. Try it: > > -- > > $ mv -i /usr/bin/yacc{,.ORIG} > > > > $ cat > /usr/bin/yacc <<"EOF" > > #! /bin/sh > > exec '/usr/bin/bison' -y "$@" > > EOF > > > > $ chmod 755 /usr/bin/yacc > > > > $ chown root.root /usr/bin/yacc > > -- > > Then retry the ch.5 gcc pass 2 stuff. If all goes well, then keep the above > > 'new' small-script /usr/bin/yacc in place for the subsequent parts of the > > book. But do keep that '/usr/bin/yacc.ORIG' copy, so that you can restore > > your host system to the way it was - i.e. to put '/usr/bin/yacc.ORIG' back > > into place as '/usr/bin/yacc' on the host system - either after the lfs > > build is finished, or beforehand if the small-script approach still fails. > > > > > > > > > . > > . > > > They are only the errors of the Copy'n'Paste because they are not present > > > in the log file of my script. > > > > > > OK. When you were issuing commands, were they via copy'n'paste into > > command-line or a script that you then ran? Reason for asking is that, if > > you're getting errors with copy'n'paste, then you might have got some > > unnoticed error when pasting a command into command-line or into a small > > script file that you then ran. > > > > > > > > > > You've done the 'make install' of libstc + + and there are no errors. > > > > > > OK: but as a double-check: do you have logfiles for each part of the > > config/make/make-install ? (Not asking for them to be posted, just are > > they there). > > . . > > -- -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
