Operating System - HP-UX
1752754 Members
4769 Online
108789 Solutions
New Discussion юеВ

apache comfile error help !!!

 
kang_1
Occasional Contributor

apache comfile error help !!!

apache version - httpd-2.2.4

./configure --prefix=/user2/webserver/apache

run error log ---
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
Configuring APR library
Platform: hppa2.0w-hp-hpux11.11
checking for working mkdir -p... yes
APR Version: 1.2.8
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: apache comfile error help !!!

Apparently, it's trying to run "gcc",
apparently without success. If you don't
have GCC installed, you might try it again
with the compiler of your choice specified.
I'd be tempted to read the instructions
first, but if you're in a hurry, you could
try something like:

CC=cc ./configure --prefix=/user2/webserver/apache
kang_1
Occasional Contributor

Re: apache comfile error help !!!

thanks!