c - Problems with compiling apache2 on AIX 6.1 -
while trying compile latest version of apache web server(2.4.9) on aix 6.1 run problem. when run ./configure --with-included-apr
command got following output:
checking chosen layout... apache checking working mkdir -p... yes checking grep handles long lines , -e... /usr/bin/grep checking egrep... /usr/bin/grep -e checking build system type... powerpc-ibm-aix6.1.0.0 checking host system type... powerpc-ibm-aix6.1.0.0 checking target system type... powerpc-ibm-aix6.1.0.0 configure: configure: configuring apache portable runtime library... configure: configuring package in srclib/apr checking build system type... powerpc-ibm-aix6.1.0.0 checking host system type... powerpc-ibm-aix6.1.0.0 checking target system type... powerpc-ibm-aix6.1.0.0 configuring apr library platform: powerpc-ibm-aix6.1.0.0 checking working mkdir -p... yes apr version: 1.5.0 checking chosen layout... apr checking gcc... gcc checking whether c compiler works... no configure: error: in `/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr': configure: error: c compiler cannot create executables see `config.log' more details configure failed srclib/apr
and config.log attached below.
file contains messages produced compilers while running configure, aid debugging if configure makes mistake. created configure, generated gnu autoconf 2.69. invocation command line $ /stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr/configure --disable-option-checking --with-included-apr --cache-file=/dev/null --srcdir=/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr --prefix=/usr/local/apache2 --exec-prefix=/usr/local/apache2 --libdir=${prefix}/lib --includedir=/usr/local/apache2/include --bindir=${prefix}/bin --datadir=/usr/local/apache2 --with-installbuilddir=${prefix}/build ## --------- ## ## platform. ## ## --------- ## hostname = stud.project.com uname -m = 00c0e76c4c00 uname -r = 1 uname -s = aix uname -v = 6 /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 = 6.1.0.0 /bin/universe = unknown path: . path: /usr/bin path: /bin path: /usr/ucb path: /usr/ccs/bin path: /usr/sbin path: /sybase path: /sybase/ocs-15_0/bin path: /usr/java5_64/bin path: /usr/java5_64/jre/bin path: /opt/apache-tomcat-5.5.25/bin path: /opt/apache-maven-3.1.1/bin path: /usr/vacpp/bin path: /usr/ucb path: /usr/ccs/bin path: /usr/sbin path: /sybase path: /sybase/ocs-15_0/bin path: /dun/pvcspkg/pvcs81_aix/vm/aix/bin path: /opt/apache-ant-1.8.4/bin path: /stud/app_code/classes path: /mftps ## ----------- ## ## core tests. ## ## ----------- ## configure:4596: checking build system type configure:4610: result: powerpc-ibm-aix6.1.0.0 configure:4630: checking host system type configure:4643: result: powerpc-ibm-aix6.1.0.0 configure:4663: checking target system type configure:4676: result: powerpc-ibm-aix6.1.0.0 configure:4739: checking working mkdir -p configure:4755: result: yes configure:4847: checking chosen layout configure:4849: result: apr configure:5114: checking gcc configure:5130: found /usr/bin/gcc configure:5141: result: gcc configure:5370: checking c compiler version configure:5379: gcc --version >&5 gcc (gcc) 4.0.0 copyright (c) 2005 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose. configure:5390: $? = 0 configure:5379: gcc -v >&5 using built-in specs. target: powerpc-ibm-aix5.3.0.0 configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 thread model: aix gcc version 4.0.0 configure:5390: $? = 0 configure:5379: gcc -v >&5 gcc: '-v' option must have argument configure:5390: $? = 1 configure:5379: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:5390: $? = 1 configure:5410: checking whether c compiler works configure:5432: gcc conftest.c >&5 assembler: /tmp//ccrbcco6.s: line 10: .llong should used relocatable expressions. configure:5436: $? = 1 configure:5474: result: no configure: failed program was: | /* confdefs.h */ | #define package_name "" | #define package_tarname "" | #define package_version "" | #define package_string "" | #define package_bugreport "" | #define package_url "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5479: error: in `/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr': configure:5481: error: c compiler cannot create executables see `config.log' more details ## ---------------- ## ## cache variables. ## ## ---------------- ## ac_cv_build=powerpc-ibm-aix6.1.0.0 ac_cv_env_cc_set='' ac_cv_env_cc_value='' ac_cv_env_cflags_set='' ac_cv_env_cflags_value='' 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='' ac_cv_env_ldflags_value='' 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-aix6.1.0.0 ac_cv_mkdir_p=yes ac_cv_prog_ac_ct_cc=gcc ac_cv_target=powerpc-ibm-aix6.1.0.0 ## ----------------- ## ## output variables. ## ## ----------------- ## alloca='' apr_config_location='source' apr_dotted_version='1.5.0' apr_libname='' apr_major_version='1' ar='' as='' ascpp='' awk='' cc='gcc' cflags='' cpp='' cppflags='' default_osdir='' defs='' dlltool='' dsymutil='' dumpbin='' echo_c='\c' echo_n='' echo_t='' egrep='' exeext='' extra_cflags='' extra_cppflags='' extra_includes='' extra_ldflags='' extra_libs='' fgrep='' grep='' includes='' include_outputs='' include_rules='' install_data='' install_program='' install_script='' install_subdirs='' internal_cppflags='' ld='' ldflags='' ldlibs='' libobjs='' libs='' libtool='' libtool_libs='' lipo='' ln_s='' ltflags='' ltlibobjs='' lt_ldflags='' lt_no_install='' lt_version='' manifest_tool='' mkdep='' nm='' nmedit='' notest_cflags='' notest_cppflags='' notest_includes='' notest_ldflags='' notest_libs='' objdump='' objects_platform='' objext='' osdir='' otool64='' otool='' package_bugreport='' package_name='' package_string='' package_tarname='' package_url='' package_version='' path_separator=':' ranlib='' rm='' sed='' set_make='' shell='/bin/sh' strip='' ac_ct_ar='' ac_ct_cc='gcc' ac_ct_dumpbin='' acceptfilter='' apr_builddir='/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr' apr_builders='/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr/build' apr_charset_ebcdic='' apr_has_user='' apr_has_xthread_files='' apr_inaddr_none='' apr_procattr_user_set_requires_password='' apr_srcdir='/stud/config/usr/admin/gaara/httpd-2.4.9/srclib/apr' apr_tcp_nopush_flag='' apr_thread_func='' aprdso='' aprlfs='' arpa_ineth='' bigendian='' bindir='${prefix}/bin' build='powerpc-ibm-aix6.1.0.0' build_alias='' build_cpu='powerpc' build_os='aix6.1.0.0' build_vendor='ibm' conioh='' crypth='' ctypeh='' datadir='/usr/local/apache2' datarootdir='${prefix}/share' direnth='' docdir='${datarootdir}/doc/${package}' dvidir='${docdir}' eolstr='' errnoh='' exec_prefix='/usr/local/apache2' 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-aix6.1.0.0' host_alias='' host_cpu='powerpc' host_os='aix6.1.0.0' host_vendor='ibm' htmldir='${docdir}' includedir='/usr/local/apache2/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/local/apache2' proc_mutex_is_global='' processh='' 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-aix6.1.0.0' target_alias='' target_cpu='powerpc' target_os='aix6.1.0.0' target_vendor='ibm' tcp_nodelay_inherited='' threads='' timeh='' top_builddir='/stud/config/usr/admin/gaara/httpd-2.4.9/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. ## ## ----------- ## /* confdefs.h */ #define package_name "" #define package_tarname "" #define package_version "" #define package_string "" #define package_bugreport "" #define package_url "" configure: exit 77
how solve issue.
Comments
Post a Comment