Skip to Content
0
Former Member
Nov 26, 2009 at 01:17 PM

Apache server error

139 Views

Hi,

I am installing Apache on AIX.

Got the httpd-2.0.52.tar.tar file from apache website and extracted it.

run the command -> /apache/httpd-2.0.52/configure --prefix=/apache/apache_2052 --enable-

mods-shared=most --with-mpm=prefork

am getting the following error:

$ /apache/httpd-2.0.52/configure --prefix=/apache/apache_2052 --enable-

mods-shared=most --with-mpm=prefork

checking for chosen layout... Apache

checking for working mkdir -p... yes

checking build system type... powerpc-ibm-aix5.3.0.0

checking host system type... powerpc-ibm-aix5.3.0.0

checking target system type... powerpc-ibm-aix5.3.0.0

Configuring Apache Portable Runtime library ...

checking for APR... reconfig

configuring package in srclib/apr now

checking build system type... powerpc-ibm-aix5.3.0.0

checking host system type... powerpc-ibm-aix5.3.0.0

checking target system type... powerpc-ibm-aix5.3.0.0

Configuring APR library

Platform: powerpc-ibm-aix5.3.0.0

checking for working mkdir -p... yes

APR Version: 0.9.5

checking for chosen layout... apr

checking for gcc... gcc

checking for C compiler default output... configure: error: C compiler

cannot create executables

See `config.log' for more details.

configure failed for srclib/apr

-


We have 64 bit hardware. To confirm this, I have run

  1. bootinfo -y

64

I have a native C compiler also. Unaware of this, I had earlier

downloaded GCC, but now I am not going to use it for compiling apache.

  1. lslpp -l | grep -i xlc

xlC.aix50.rte 10.1.0.0 COMMITTED XL C/C++ Runtime for

AIX 5.3

xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor

xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor

xlC.msg.en_US.rte 10.1.0.0 COMMITTED XL C/C++ Runtime

xlC.rte 10.1.0.0 COMMITTED XL C/C++ Runtime

My user account gsdcd has the following env variables:

CFLAGS="-q64", LDFLAGS="-q64", EXTRA_LDFLAGS_SHLIB="-b64" OBJECT_MODE=644. My env shows the below for gsdcd user:

AUTHSTATE=compat

CFLAGS=-q64

EXTRA_LDFLAGS_SHLIB=-b64

HOME=/home/gsdcd

LANG=en_US

LC__FASTMSG=true

LDFLAGS=-q64

LOCPATH=/usr/lib/nls/loc

LOGIN=gsdcd

LOGNAME=gsdcd

MAIL=/usr/spool/mail/gsdcd

MAILMSG=[YOU HAVE NEW MAIL]

OBJECT_MODE=64

ODMDIR=/etc/objrepos

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/gsdcd/bin:/usr/bin/X11:/sbin:.

SHELL=/bin/bsh

SSH_CLIENT=61.8.151.1 3337 22

SSH_CONNECTION=61.8.151.1 3337 192.168.1.52 22

SSH_TTY=/dev/pts/6

TERM=xterm

TZ=ist-5:30

USER=gsdcd

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

-


The config.log shows

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was

generated by GNU Autoconf 2.57. Invocation command line was

$ /apache/httpd-2.0.52/configure --prefix=/apache/apache_2052 --enable-mods-shared=most --with-mpm=prefork

  1. --------- ##

  1. Platform. ##

  1. --------- ##

hostname = GILSAPED

uname -m = 00C6B7544C00

uname -r = 3

uname -s = AIX

uname -v = 5

/usr/bin/uname -p = powerpc

/bin/uname -X = unknown

/bin/arch = unknown

/usr/bin/arch -k = unknown

/usr/convex/getsysinfo = unknown

hostinfo = unknown

/bin/machine = unknown

/usr/bin/oslevel = 5.3.0.0

/bin/universe = unknown

PATH: /usr/bin

PATH: /etc

PATH: /usr/sbin

PATH: /usr/ucb

PATH: /home/gsdcd/bin

PATH: /usr/bin/X11

PATH: /sbin

PATH: .

  1. ----------- ##

  1. Core tests. ##

  1. ----------- ##

configure:1584: checking for chosen layout

configure:1586: result: Apache

configure:2379: checking for working mkdir -p

configure:2395: result: yes

configure:2412: checking build system type

configure:2430: result: powerpc-ibm-aix5.3.0.0

configure:2438: checking host system type

configure:2452: result: powerpc-ibm-aix5.3.0.0

configure:2460: checking target system type

configure:2474: result: powerpc-ibm-aix5.3.0.0

configure:2503: checking for APR

configure:2563: result: reconfig

  1. ---------------- ##

  1. Cache variables. ##

  1. ---------------- ##

ac_cv_build=powerpc-ibm-aix5.3.0.0

ac_cv_build_alias=powerpc-ibm-aix5.3.0.0

ac_cv_env_CC_set=''

ac_cv_env_CC_value=''

ac_cv_env_CFLAGS_set=set

ac_cv_env_CFLAGS_value=-q64

ac_cv_env_CPPFLAGS_set=''

ac_cv_env_CPPFLAGS_value=''

ac_cv_env_CPP_set=''

ac_cv_env_CPP_value=''

ac_cv_env_LDFLAGS_set=set

ac_cv_env_LDFLAGS_value=-q64

ac_cv_env_build_alias_set=''

ac_cv_env_build_alias_value=''

ac_cv_env_host_alias_set=''

ac_cv_env_host_alias_value=''

ac_cv_env_target_alias_set=''

ac_cv_env_target_alias_value=''

ac_cv_host=powerpc-ibm-aix5.3.0.0

ac_cv_host_alias=powerpc-ibm-aix5.3.0.0

ac_cv_mkdir_p=yes

ac_cv_target=powerpc-ibm-aix5.3.0.0

ac_cv_target_alias=powerpc-ibm-aix5.3.0.0

  1. ----------------- ##

  1. Output variables. ##

  1. ----------------- ##

APACHECTL_ULIMIT=''

APR_BINDIR=''

APR_INCLUDEDIR=''

APU_BINDIR=''

APU_INCLUDEDIR=''

AP_BUILD_SRCLIB_DIRS=''

AP_CLEAN_SRCLIB_DIRS=''

AP_LIBS=''

AP_SIG_GRACEFUL=''

AP_SIG_GRACEFUL_SHORT=''

AP_SIG_GRACEFUL_STRING=''

AWK=''

BUILTIN_LIBS=''

CC=''

CFLAGS='-q64'

CORE_IMPLIB=''

CORE_IMPLIB_FILE=''

CPP=''

CPPFLAGS=''

CXX=''

CXXFLAGS=''

DEFS=''

DSO_MODULES=''

ECHO_C='ECHO_N=''

ECHO_T=''

EGREP=''

EXEEXT=''

EXTRA_CFLAGS=''

EXTRA_CPPFLAGS=''

EXTRA_CXXFLAGS=''

EXTRA_INCLUDES=''

EXTRA_LDFLAGS=''

EXTRA_LIBS=''

HTTPD_LDFLAGS=''

INCLUDES=''

INSTALL_DATA=''

INSTALL_PROGRAM=''

INSTALL_PROG_FLAGS=''

INSTALL_SCRIPT=''

LDFLAGS='-q64'

LIBOBJS=''

LIBS=''

LIBTOOL=''

LN_S=''

LTCFLAGS=''

LTFLAGS=''

LTLIBOBJS=''

LT_LDFLAGS=''

MK_IMPLIB=''

MODULE_CLEANDIRS=''

MODULE_DIRS=''

MPM_LIB=''

MPM_NAME=''

MPM_SUBDIR_NAME=''

NOTEST_CFLAGS=''

NOTEST_CPPFLAGS=''

NOTEST_CXXFLAGS=''

NOTEST_LDFLAGS=''

NOTEST_LIBS=''

OBJEXT=''

OS=''

OS_DIR=''

OS_SPECIFIC_VARS=''

PACKAGE_BUGREPORT=''

PACKAGE_NAME=''

PACKAGE_STRING=''

PACKAGE_TARNAME=''

PACKAGE_VERSION=''

PATH_SEPARATOR=':'

PORT=''

POST_SHARED_CMDS=''

PRE_SHARED_CMDS=''

RANLIB=''

RM=''

SHELL='/bin/sh'

SHLIBPATH_VAR=''

SHLTCFLAGS=''

SH_LDFLAGS=''

SH_LIBS=''

SH_LIBTOOL=''

UTIL_LDFLAGS=''

ab_LTFLAGS=''

abs_srcdir=''

ac_ct_CC=''

ac_ct_RANLIB=''

ap_make_delimiter=''

ap_make_include=''

bindir='$/bin' build='powerpc-ibm-aix5.3.0.0' build_alias='' build_cpu='powerpc' build_os='aix5.3.0.0' build_vendor='ibm' cgidir='$/cgi-bin' checkgid_LTFLAGS='' datadir='$' errordir='$/error' exec_prefix='$' exp_bindir='/apache/apache_2052/bin' exp_cgidir='/apache/apache_2052/cgi-bin' exp_datadir='/apache/apache_2052' exp_errordir='/apache/apache_2052/error' exp_exec_prefix='/apache/apache_2052' exp_htdocsdir='/apache/apache_2052/htdocs' exp_iconsdir='/apache/apache_2052/icons' exp_includedir='/apache/apache_2052/include' exp_installbuilddir='/apache/apache_2052/build' exp_libdir='/apache/apache_2052/lib' exp_libexecdir='/apache/apache_2052/modules' exp_localstatedir='/apache/apache_2052' exp_logfiledir='/apache/apache_2052/logs' exp_mandir='/apache/apache_2052/man' exp_manualdir='/apache/apache_2052/manual' exp_proxycachedir='/apache/apache_2052/proxy' exp_runtimedir='/apache/apache_2052/logs' exp_sbindir='/apache/apache_2052/bin' exp_sysconfdir='/apache/apache_2052/conf' host='powerpc-ibm-aix5.3.0.0' host_alias='' host_cpu='powerpc' host_os='aix5.3.0.0' host_vendor='ibm' htdbm_LTFLAGS='' htdigest_LTFLAGS='' htdocsdir='$/htdocs' htpasswd_LTFLAGS='' iconsdir='$/icons' includedir='$/include' infodir='$/info' installbuilddir='$/build' libdir='$/lib'

libexecdir='$/modules' localstatedir='$' logfiledir='$/logs' logresolve_LTFLAGS='' mandir='$/man' manualdir='$/manual' nonssl_listen_stmt_1='' nonssl_listen_stmt_2='' oldincludedir='/usr/include' other_targets='' perlbin='' prefix='/apache/apache_2052' progname='' program_transform_name='s,x,x,' proxycachedir='$/proxy' rel_bindir='bin' rel_cgidir='cgi-bin' rel_datadir='' rel_errordir='error' rel_exec_prefix='' rel_htdocsdir='htdocs' rel_iconsdir='icons' rel_includedir='include' rel_installbuilddir='build' rel_libdir='lib' rel_libexecdir='modules' rel_localstatedir='' rel_logfiledir='logs' rel_mandir='man' rel_manualdir='manual' rel_proxycachedir='proxy' rel_runtimedir='logs' rel_sbindir='bin' rel_sysconfdir='conf' rotatelogs_LTFLAGS='' runtimedir='$/logs' sbindir='$/bin'

shared_build=''

sharedstatedir='$/com' sysconfdir='$/conf'

target='powerpc-ibm-aix5.3.0.0'

target_alias=''

target_cpu='powerpc'

target_os='aix5.3.0.0'

target_vendor='ibm'

configure: exit 0

-


Please help.