> 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).
rgds,
akh
--
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page