This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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