if you are on ubuntu i would say "apt-get install build-essentials" ... else you are just missing your complete build environment (the c++ compiler in that case).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS(wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf(wiki)
READ THE IOS FAQ!: iOS FAQ(wiki)