In 6.6 a new package was created called flex-devel.  This is a build dependency for openMotif; if anyone else is trying to rebuild openmotif on EL 6.6 or later, it would be prudent to add this to the BuildRequires for openmotif and/or openmotif22.