This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Install apache compile error