• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tocmat ./config : checking C flags dependant on host system type... failed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to install jakarta-tomcat-5.0.28 in Redhat Enterprise Server 5.4
and when I run the command

/opt/jakarta-tomcat-5.0.28/bin/jsvc-src # ./configure

I am getting the following error :

*** Current host ***
OKOK
*** Host support ***
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "x86_64"

Can you please suggest how to solve this issue.

Regards,
 
Bartender
Posts: 20836
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!