Looks like you can't even compile zlib. You might try downloading zlib and compiling it to check whether that works at all.