While running a makefile in gcc 4.1.2 (linux 5), I got the following error
make: yacc: Command not found
By googling, I came to know that this error can be rectified by installing Bison-GNU parser generator. But even after installing Bison, I get the same error.
How can this error be solved?
Run the following command on your terminal to install bison, yacc executables and configurations.yacc comes along with bison
Also you need byacc for a full functional yacc
sudo apt-get install bison -y
sudo apt-get install byacc -y
It worked for me.