File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tocmat ./config : checking C flags dependant on host system type... failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tocmat ./config : checking C flags dependant on host system type... failed" Watch "Tocmat ./config : checking C flags dependant on host system type... failed" New topic
Author

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

moaad elamrani
Greenhorn

Joined: Jun 20, 2011
Posts: 6
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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