I want compile Octave 4 with OpenGL/GUI support but don't know which packages to install on RHEL/CentOS system. I only get warning:
configure: WARNING: OpenGL libs (GL and GLU) not found -- disabling GUI
configure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile native
configure: WARNING: graphics. It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
Any suggestions which OpenGL packages to install?
EDIT: config.log shows:
configure:24012: gcc -o conftest -g -O2 -pthread -fopenmp conftest.c -lGL -lm >&5
/usr/lib64/libX11.so.6: undefined reference to `xcb_wait_for_reply64'
/usr/lib64/libX11.so.6: undefined reference to `xcb_poll_for_reply64'
collect2: ld returned 1 exit status
configure:24019: $? = 1
Uploaded config.log: https://www.dropbox.com/s/m89kukk5kfyjkky/config.log?dl=0