Error: /usr/include/X11/Xlibint.h: 75: cannot open file Xproto.h Error message indicates that a file(Xproto.h) does not exist in the directory(/usr/include/X11). After you copy the file(Xproto.h) to that directory from other system, try again. Good luck to you.