Although I tried hard, I still couldn't figure out what XLIBGL is. So I decided to skip it. Hopt this wouldn't matter much.
checking for XLIBGL... no
configure: error: Package requirements (x11 xext) were not met:
No package 'x11' found
No package 'xext' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XLIBGL_CFLAGS
and XLIBGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
checking for XLIBGL... no
configure: error: Package requirements (x11 xext) were not met:
No package 'x11' found
No package 'xext' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XLIBGL_CFLAGS
and XLIBGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.