I am having the same error message installing 5.4.1 on RedHat.

This is my configuration:
configure -opensource -confirm-license -shared -release -prefix /myPath/Qt.5.4.1