I'm following the instructions from LFS but with a twist: I'm only following parts of Section 5 - Constructing a Temporary System to the extent that I can build my own GCC, reason being that this is a work machine, and I don't have root privileges. It was going all right until I ran into an error configuring glibc
:
configure: error:
*** These critical programs are missing or too old: as GNU ld make bison compiler
*** Check the INSTALL file for required versions.
After some investigation, it turns out that I'm not satisfying this condition that's required for LFS:
/usr/bin/yacc is a symbolic link to bison or a small script that executes bison.
Turns out that there is no such file at /usr/bin/yacc
(although bison
does exist). However, because I don't have root privileges at work, I can't create a symbolic link there. Is there a workaround here?