>"/usr/bin/ld: cannot find -lXinerama" >(full error at the end of message) the more basic question, you have the library installed? on Debian-ish systems it's libxinerama and libxinerama-dev