This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Install apache compile error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Install apache compile error" Watch "Install apache compile error" New topic
Author

Install apache compile error

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi i am installing apache 2.0.52 in linux and i got this error trying to execute the following. How can I check what kind of c compiler that is in the red hat linux? Do i have to install another c compiler? Thanks.

# CC="pgcc" CFLAGS="-O2" \
> ./configure --prefix=/usr/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... pgcc
checking for C compiler default output... configure: error: C compiler cannot cr
eate executables
See `config.log' for more details.
configure failed for srclib/apr
 
GeeCON Prague 2014
 
subject: Install apache compile error