Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Install apache compile error

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic