Zap! is written in C, and requires the Yaz toolkit. To compile the source code, you should have either the GNU gcc or g++ compilers.