Looking at this log it would seem that the reason is because it does not find the libraries: libz, libcfitsio and libnova, but I don't know if this is the only reason and why it is complaining about that, guessing that the commands before should have installed all the pre-requisites.