This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Install apache compile error
 
Similar Threads
REISIN: SSL Problems running .configure on 64 bit solaris
RMIC - NullPionterException - RMI NEWB
REISIN: SSL Problems running .configure on 64 bit solaris
configure: error: APR could not be located. Please use the --with-apr option.
Expert guidance needed in understanding the part of a shell script