If you are getting the console version, you should check the output of "configure" command. "configure" looks for libraries and headers to detect and setup the compilation against the proper X...