Apache Server Compilation failing on AIX 5.3
Hello All,
I am trying to compile Apache 2.0.63 on AIX v5.3.Compilation is failing with the below error- 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.17 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 The Config.log shows the below- 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.63. Invocation command line was $ /sapcd/apache/httpd-2.2.11/srclib/apr/configure --disable-option-checking -C --enable-so --prefix /usr/sap/apache CC=gcc-maix64 CFLAGS=-q64 LDFLAGS=-q64 --cache-file=/sapcd/apache/httpd-2.2.11/config.cache --srcdir=/sapcd/apache/httpd-2.2.11/srclib/apr --prefix=/usr/sap/apache --exec-prefix=/usr/sap/apache --libdir=${prefix}/lib --includedir=/usr/sap/apache/include --bindir=${prefix}/bin --datadir=/usr/sap/apache --with-installbuilddir=${prefix}/build ## --------- ## ## Platform. ## ## --------- ## hostname = bsldmsdev uname -m = 000216CAD400 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 /usr/bin/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: /usr/bin/X11 PATH: /sbin PATH: /usr/java14_64/jre/bin PATH: /usr/java14_64/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2109: loading cache /sapcd/apache/httpd-2.2.11/config.cache configure:2966: checking build system type configure:2984: result: powerpc-ibm-aix5.3.0.0 configure:3006: checking host system type configure:3021: result: powerpc-ibm-aix5.3.0.0 configure:3043: checking target system type configure:3058: result: powerpc-ibm-aix5.3.0.0 configure:3122: checking for working mkdir -p configure:3138: result: yes configure:3230: checking for chosen layout configure:3232: result: apr configure:3499: checking for gcc configure:3526: result: gcc-maix64 configure:3758: checking for C compiler version configure:3766: gcc-maix64 --version >&5 /sapcd/apache/httpd-2.2.11/srclib/apr/configure[3768]: gcc-maix64: not found configure:3770: $? = 127 configure:3777: gcc-maix64 -v >&5 /sapcd/apache/httpd-2.2.11/srclib/apr/configure[3779]: gcc-maix64: not found configure:3781: $? = 127 configure:3788: gcc-maix64 -V >&5 /sapcd/apache/httpd-2.2.11/srclib/apr/configure[3790]: gcc-maix64: not found configure:3792: $? = 127 configure:3815: checking for C compiler default output file name configure:3837: gcc-maix64 -q64 -q64 conftest.c >&5 /sapcd/apache/httpd-2.2.11/srclib/apr/configure[3839]: gcc-maix64: not found configure:3841: $? = 127 configure:3879: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3885: error: in `/sapcd/apache/httpd-2.2.11/srclib/apr': configure:3887: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=powerpc-ibm-aix5.3.0.0 ac_cv_env_CCC_set='' ac_cv_env_CCC_value='' ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc-maix64 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_CXXCPP_set='' ac_cv_env_CXXCPP_value='' ac_cv_env_CXXFLAGS_set='' ac_cv_env_CXXFLAGS_value='' ac_cv_env_CXX_set='' ac_cv_env_CXX_value='' ac_cv_env_F77_set='' ac_cv_env_F77_value='' ac_cv_env_FFLAGS_set='' ac_cv_env_FFLAGS_value='' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-q64 ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' 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_mkdir_p=yes ac_cv_prog_ac_ct_CC=gcc-maix64 ac_cv_target=powerpc-ibm-aix5.3.0.0 ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' APR_CONFIG_LOCATION='source' APR_DOTTED_VERSION='1.3.3' APR_LIBNAME='' APR_MAJOR_VERSION='1' AR='' AS='' ASCPP='' AWK='' CC='gcc-maix64' CFLAGS='-q64' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXFLAGS='' DEFAULT_OSDIR='' DEFS='' DSYMUTIL='' ECHO='print -r' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CPPFLAGS='' EXTRA_INCLUDES='' EXTRA_LDFLAGS='' EXTRA_LIBS='' F77='' FFLAGS='' GREP='' INCLUDES='' INCLUDE_OUTPUTS='' INCLUDE_RULES='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_SUBDIRS='' LDFLAGS='-q64' LDLIBS='' LIBOBJS='' LIBS='' LIBTOOL='' LIBTOOL_LIBS='' LN_S='' LTFLAGS='' LTLIBOBJS='' LT_LDFLAGS='' LT_NO_INSTALL='' LT_VERSION='' MKDEP='' NMEDIT='' NOTEST_CFLAGS='' NOTEST_CPPFLAGS='' NOTEST_INCLUDES='' NOTEST_LDFLAGS='' NOTEST_LIBS='' OBJECTS_PLATFORM='' OBJEXT='' OSDIR='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='' RM='' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='' ac_ct_CC='gcc-maix64' ac_ct_CXX='' ac_ct_F77='' acceptfilter='' apr_builddir='/sapcd/apache/httpd-2.2.11/srclib/apr' apr_builders='/sapcd/apache/httpd-2.2.11/srclib/apr/build' apr_charset_ebcdic='' apr_inaddr_none='' apr_srcdir='/sapcd/apache/httpd-2.2.11/srclib/apr' apr_tcp_nopush_flag='' aprdso='' aprlfs='' arpa_ineth='' bigendian='' bindir='${prefix}/bin' build='powerpc-ibm-aix5.3.0.0' build_alias='' build_cpu='powerpc' build_os='aix5.3.0.0' build_vendor='ibm' conioh='' crypth='' ctypeh='' datadir='/usr/sap/apache' datarootdir='${prefix}/share' direnth='' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' eolstr='' errnoh='' exec_prefix='/usr/sap/apache' export_lib_target='' fcntlh='' fcntlser='' file_as_socket='' flockser='' fork='' hasfcntlser='' hasflockser='' hasposixser='' hasprocpthreadser='' hassysvser='' have_corkable_tcp='' have_getrlimit='' have_in_addr='' have_inet_addr='' have_inet_network='' have_iovec='' have_ipv6='' have_memchr='' have_memmove='' have_proc_invoked='' have_sa_storage='' have_sctp='' have_setrlimit='' have_sigaction='' have_sigsuspend='' have_sigwait='' have_strcasecmp='' have_strdup='' have_stricmp='' have_strncasecmp='' have_strnicmp='' have_strstr='' have_unicode_fs='' have_union_semun='' havebeosarea='' havemmapanon='' havemmapshm='' havemmaptmp='' havemmapzero='' haveos2shm='' haveshmget='' haveshmgetanon='' havewin32shm='' host='powerpc-ibm-aix5.3.0.0' host_alias='' host_cpu='powerpc' host_os='aix5.3.0.0' host_vendor='ibm' htmldir='${docdir}' includedir='/usr/sap/apache/include' infodir='${datarootdir}/info' ino_t_value='' installbuilddir='${datadir}/build-${APR_MAJOR_VERSION}' int64_literal='' int64_t_fmt='' int64_value='' int_value='' ioh='' lib_target='' libdir='${prefix}/lib' libexecdir='${exec_prefix}/modules' limitsh='' link='' localedir='${datarootdir}/locale' localstatedir='${prefix}' long_value='' lt_compile='' mandir='${prefix}/man' mmap='' netdbh='' netinet_inh='' netinet_sctp_uioh='' netinet_sctph='' netinet_tcph='' o_nonblock_inherited='' oc='' off_t_fmt='' off_t_value='' oldincludedir='/usr/include' osuuid='' pdfdir='${docdir}' pid_t_fmt='' posixser='' prefix='/usr/sap/apache' proc_mutex_is_global='' proclockglobal='' procpthreadser='' program_transform_name='s,x,x,' psdir='${docdir}' pthreadh='' pthreadser='' rand='' sbindir='${exec_prefix}/bin' semaphoreh='' sendfile='' sharedmem='' sharedstatedir='${prefix}/com' shlibpath_var='' short_value='' signalh='' size_t_fmt='' size_t_value='' so_ext='' socklen_t_value='' ssize_t_fmt='' ssize_t_value='' stdargh='' stdint='' stdioh='' stdlibh='' stringh='' stringsh='' struct_rlimit='' sys_ioctlh='' sys_sendfileh='' sys_signalh='' sys_socketh='' sys_sockioh='' sys_syslimitsh='' sys_timeh='' sys_typesh='' sys_uioh='' sys_unh='' sys_waith='' sysconfdir='${prefix}/conf' sysvser='' target='powerpc-ibm-aix5.3.0.0' target_alias='' target_cpu='powerpc' target_os='aix5.3.0.0' target_vendor='ibm' tcp_nodelay_inherited='' threads='' timeh='' top_builddir='/sapcd/apache/httpd-2.2.11/srclib/apr' uint64_literal='' uint64_t_fmt='' uint64_t_hex_fmt='' unistdh='' usebeosarea='' usemmapanon='' usemmapshm='' usemmaptmp='' usemmapzero='' useos2shm='' useshmget='' useshmgetanon='' usewin32shm='' voidp_size='' windowsh='' winsock2h='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" configure: exit 77 I have already re-installed the gcc complier.The version of the gcc compiler is gcc-4.2.0-3.I have the below packages installed on my machine gcc-4.2.0-3 libgcc-4.2.0-3 libstdc++-4.2.0-3 libstdc++-devel-4.2.0-3 Kindly help in resolving the issue.Am i missing some thing out here? |
I'm not familiar with AIX, so I might be well off the mark. Check if you have binutils installed, especially ld
|
Are you able to compile programs with your compiler?
For errors like this, you usually have to open the configure script, search for the error that it dumped out and look for the source to the program it is trying to compile. Put the source in a file, and compile it by hand with the compile line that should be close to the source. Then you'll see the exact error that configure is getting attempting the compile. |
All times are GMT -5. The time now is 05:36 PM. |