trying to install apache httpd.2.4.51 ,while doing compile getting error like mk:75: all recursive error1,so pls suggest
You lack bison
:
/bin/bash: bison: command not found
from your log.
sudo apt install bison
should take care of this.
The output is there for a reason.
The output tells you what went on, and what went wrong. Actually reading it will very often give you clear clues on where to start. In this case the error message was essentially in clear english: bison: command not found
As a sidenote, why do you need to compile Apache from source? That makes maintaining it a much bigger job. Installing from repos is particularly useful when it comes to software that require frequent security updates.