I'm guessing that you're running a Tomcat installed as an RPM package that came with RHEL. Somehow you've managed to install the 64-bit version but you're evidently running a 32-bit processor or at least running the OS in 32-bit mode.
I'm a very big fan of RPMs, and in fact, most of my webapps build and install as RPMs. But I usually don't use an RPM-installed Tomcat, preferring to download and install the apache.org ZIP distro. For one thing, It's generally more up-to-date.
Customer surveys are for companies who didn't pay proper attention to begin with.
subject: Tocmat ./config : checking C flags dependant on host system type... failed