Its saying like 2 pages error, and mostly of them says something like this

D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE

There is much more things but i think they are less important. First it said make command not found, installed it. Then it said some error which someone said installing gcc would help, installed gcc. After installed gcc comes the two pages long error and the lines below.