you probably either need to install the X header files, or add your includes and library paths (--x-includes=
DIR). (the error message tells you what to do: "check your X installation and add the correct paths"
read through the INSTALL file in the configure directory (more INSTALL
) for information specific to the software you are trying to configure.