Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
moaad elamrani
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,
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!