Hello
If you ever have one of this bellow error
ERROR: libopenjpeg not found
ERROR: libtheora not found
ERROR: libvorbis not found
ERROR: libxvid not found
ERROR: X11 not found
then you should try this if you are on centos / rhel
yum install libjpeg-devel libtheora-devel xvidcore-devel libX11-devel openjpeg-devel