Before you tell me to read some wiki or installation guide, I already have read multiple and followed them step by step word for word.
I ran ./configure already I have gcc and cc installed.
It seems that you are solving problems on source code level while all necessary development stuff is pre-compiled in deb-package form.
So you can install build tools by:
sudo apt-get install build-essential bison libbison-dev
Other development stuff may be found using search on https://packages.ubuntu.com - provide name of package and dev suffix to sort out the things. Next install the package by using APT - something like sudo apt-get install name-dev.