Specific error reporting:
checking for libXaw… configure: error: No X toolkit could be found. If you are sure you want Emacs compiled without an X toolkit, pass –with-x-toolkit=no to configure. Otherwise, install the development libraries for the toolkit that you want to use (e.g. Gtk+) and re-run configure.
After repeatedly confirming that GTK and corresponding GTK devel files have been installed,
yum install gtk3-devel.x86_ 64 gtk3.x86_ sixty-four
yum install gtk2-devel.x86_ 64 gtk2.x86_ sixty-four
Still report the same error,
Locate libxaw found existing library files (Yum install libxaw.x86)_ 64 (or installed by default)
Finally, it was found that the corresponding devel package, libxaw-devel.x86, was not installed_ sixty-four
yum install libXaw-devel.x86_ 64 installation,
Execute./configure again. The error will disappear. If there are other errors,
Similarly, install the corresponding devel library