AIX 7.1 gcc 4.8.5 issue

Tags
7.1, advanced, aix, gcc, issue, post, question

 
Thread Tools Search this Thread
# 8  
Old 11-18-2018
hello gull04 ,

sorry for this late post reponse


her is the content of the script used to compile apache

####################


Code:
# apache 2.4.25
export HOME=/appli/deltasrv
export APACHE_SRC=$HOME/tmp/httpd-2.4.25
export APACHE_DEST_DIR_NAME=apache24-64
#export LIBPATH=/usr/lib:/opt/freeware/lib
export LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5:$LIBPATH
export LDFLAGS="-b64"
export OBJECT_MODE=64



rm -rf ${HOME}/${APACHE_DEST_DIR_NAME}
cd $APACHE_SRC
echo "Debut compilation "
make clean
OS_LEVEL=`oslevel|awk '{print substr($1,1,3)}'`
if [ $OS_LEVEL = "6.1" ]
then
        ac_cv_build="powerpc-ibm-aix5.3.0.0"
        ac_cv_build_alias=$ac_cv_build
        export ac_cv_build ac_cv_build_alias
fi
./configure CC='gcc' LIBPATH='/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5' CFLAGS='-maix64' NM='nm -X32_64' AR='ar -X32_64' --prefix=${HOME}/${APACHE_DEST_DIR_NAME} --with-mpm=prefork --with-included-apr -enable-modules=none  --enable-mods-shared='deflate filter headers ssl unique_id authz_host authz_core setenvif unixd log_config socache_shmcb mime' -enable-load-all-modules
if [ $? -ne 0 ]
then
        echo "Configure apache abnormal completion"
   exit 1
fi
make
if [ $? -ne 0 ]
then
   echo "Make apache abnormal completion"
   exit 1
fi
export PATH=/opt/freeware/bin:$PATH
make install
if [ $? -ne 0 ]
then
   echo "Make Install abnormal completion"
   exit 1
else
   echo "Make Install apache completed successfully!"
fi




#############

############# config.log
Code:
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.69.  Invocation command line was
  $ ./configure CC=gcc LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5 CFLAGS=-maix64 NM=nm -X32_64 AR=ar -X32_64 --prefix=/appli/deltasrv/apache24-64 --with-mpm=prefork --with-included-apr -enable-modules=none --enable-mods-shared=deflate filter headers ssl unique_id authz_host authz_core setenvif unixd log_config socache_shmcb mime -enable-load-all-modules
## --------- ##
## Platform. ##
## --------- ##
hostname = DZ1600TEST3
uname -m = 00013B8CD700
uname -r = 1
uname -s = AIX
uname -v = 7
/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       = 7.1.0.0
/bin/universe          = unknown
PATH: /usr/java71_64/jre/bin
PATH: /usr/java6_64/jre/bin
PATH: /usr/bin
PATH: /etc
PATH: /usr/sbin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /sbin
PATH: /usr/java5/jre/bin
PATH: /usr/java5/bin
PATH: /usr/es/sbin/cluster
PATH: /usr/es/sbin/cluster/utilities
PATH: /usr/es/sbin/cluster/sbin
PATH: /usr/es/sbin/cluster/etc
PATH: /usr/es/sbin/cluster/diag/opt/freeware/sbin/gmond
PATH: /etc/ganglia
PATH: /usr/opt/ifor/ls/os/aix/bin

## ----------- ##
## Core tests. ##
## ----------- ##
configure:3098: checking for chosen layout
configure:3100: result: Apache
configure:3903: checking for working mkdir -p
configure:3919: result: yes
configure:3928: checking for grep that handles long lines and -e
configure:3986: result: /usr/bin/grep
configure:3991: checking for egrep
configure:4053: result: /usr/bin/grep -E
configure:4069: checking build system type
configure:4083: result: powerpc-ibm-aix7.1.0.0
configure:4103: checking host system type
configure:4116: result: powerpc-ibm-aix7.1.0.0
configure:4136: checking target system type
configure:4149: result: powerpc-ibm-aix7.1.0.0
configure:4179: 
configure:4181: Configuring Apache Portable Runtime library...
configure:4183: 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=powerpc-ibm-aix7.1.0.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-maix64
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=-b64
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-aix7.1.0.0
ac_cv_mkdir_p=yes
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_target=powerpc-ibm-aix7.1.0.0
## ----------------- ##
## Output variables. ##
## ----------------- ##
APACHECTL_ULIMIT=''
APR_BINDIR=''
APR_CONFIG=''
APR_INCLUDEDIR=''
APR_VERSION=''
APU_BINDIR=''
APU_CONFIG=''
APU_INCLUDEDIR=''
APU_VERSION=''
AP_BUILD_SRCLIB_DIRS=''
AP_CLEAN_SRCLIB_DIRS=''
AP_LIBS=''
AWK=''
BUILTIN_LIBS=''
CC='gcc'
CFLAGS='-maix64'
CORE_IMPLIB=''
CORE_IMPLIB_FILE=''
CPP=''
CPPFLAGS=''
CRYPT_LIBS=''
CXX=''
CXXFLAGS=''
DEFS=''
DSO_MODULES=''
DTRACE=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLED_DSO_MODULES=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CPPFLAGS=''
EXTRA_CXXFLAGS=''
EXTRA_INCLUDES=''
EXTRA_LDFLAGS=''
EXTRA_LIBS=''
GREP='/usr/bin/grep'
HTTPD_LDFLAGS=''
HTTPD_MMN='20120211'
HTTPD_VERSION='2.4.25'
INCLUDES=''
INSTALL=''
INSTALL_DSO=''
INSTALL_PROG_FLAGS=''
INTERNAL_CPPFLAGS=''
LDFLAGS='-b64'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LOAD_ALL_MODULES=''
LTCFLAGS=''
LTFLAGS=''
LTLIBOBJS=''
LT_LDFLAGS=''
LUA_CFLAGS=''
LUA_LIBS=''
LYNX_PATH=''
MATH_LIBS=''
MKDEP=''
MKINSTALLDIRS=''
MK_IMPLIB=''
MODULE_CLEANDIRS=''
MODULE_DIRS=''
MOD_ACCESS_COMPAT_LDADD=''
MOD_ACTIONS_LDADD=''
MOD_ALIAS_LDADD=''
MOD_ALLOWMETHODS_LDADD=''
MOD_ASIS_LDADD=''
MOD_AUTHNZ_FCGI_LDADD=''
MOD_AUTHNZ_LDAP_LDADD=''
MOD_AUTHN_ANON_LDADD=''
MOD_AUTHN_CORE_LDADD=''
MOD_AUTHN_DBD_LDADD=''
MOD_AUTHN_DBM_LDADD=''
MOD_AUTHN_FILE_LDADD=''
MOD_AUTHN_SOCACHE_LDADD=''
MOD_AUTHZ_CORE_LDADD=''
MOD_AUTHZ_DBD_LDADD=''
MOD_AUTHZ_DBM_LDADD=''
MOD_AUTHZ_GROUPFILE_LDADD=''
MOD_AUTHZ_HOST_LDADD=''
MOD_AUTHZ_OWNER_LDADD=''
MOD_AUTHZ_USER_LDADD=''
MOD_AUTH_BASIC_LDADD=''
MOD_AUTH_DIGEST_LDADD=''
MOD_AUTH_FORM_LDADD=''
MOD_AUTOINDEX_LDADD=''
MOD_BUCKETEER_LDADD=''
MOD_BUFFER_LDADD=''
MOD_CACHE_DISK_LDADD=''
MOD_CACHE_LDADD=''
MOD_CACHE_SOCACHE_LDADD=''
MOD_CASE_FILTER_IN_LDADD=''
MOD_CASE_FILTER_LDADD=''
MOD_CERN_META_LDADD=''
MOD_CGID_LDADD=''
MOD_CGI_LDADD=''
MOD_CHARSET_LITE_LDADD=''
MOD_DATA_LDADD=''
MOD_DAV_FS_LDADD=''
MOD_DAV_LDADD=''
MOD_DAV_LOCK_LDADD=''
MOD_DBD_LDADD=''
MOD_DEFLATE_LDADD=''
MOD_DIALUP_LDADD=''
MOD_DIR_LDADD=''
MOD_DUMPIO_LDADD=''
MOD_ECHO_LDADD=''
MOD_ENV_LDADD=''
MOD_EXAMPLE_HOOKS_LDADD=''
MOD_EXAMPLE_IPC_LDADD=''
MOD_EXPIRES_LDADD=''
MOD_EXT_FILTER_LDADD=''
MOD_FILE_CACHE_LDADD=''
MOD_FILTER_LDADD=''
MOD_HEADERS_LDADD=''
MOD_HEARTBEAT_LDADD=''
MOD_HEARTMONITOR_LDADD=''
MOD_HTTP2_LDADD=''
MOD_HTTP_LDADD=''
MOD_IDENT_LDADD=''
MOD_IMAGEMAP_LDADD=''
MOD_INCLUDE_LDADD=''
MOD_INFO_LDADD=''
MOD_ISAPI_LDADD=''
MOD_LBMETHOD_BYBUSYNESS_LDADD=''
MOD_LBMETHOD_BYREQUESTS_LDADD=''
MOD_LBMETHOD_BYTRAFFIC_LDADD=''
MOD_LBMETHOD_HEARTBEAT_LDADD=''
MOD_LDAP_LDADD=''
MOD_LOGIO_LDADD=''
MOD_LOG_CONFIG_LDADD=''
MOD_LOG_DEBUG_LDADD=''
MOD_LOG_FORENSIC_LDADD=''
MOD_LUA_LDADD=''
MOD_MACRO_LDADD=''
MOD_MIME_LDADD=''
MOD_MIME_MAGIC_LDADD=''
MOD_MPM_EVENT_LDADD=''
MOD_NEGOTIATION_LDADD=''
MOD_OPTIONAL_FN_EXPORT_LDADD=''
MOD_OPTIONAL_FN_IMPORT_LDADD=''
MOD_OPTIONAL_HOOK_EXPORT_LDADD=''
MOD_OPTIONAL_HOOK_IMPORT_LDADD=''
MOD_PRIVILEGES_LDADD=''
MOD_PROXY_AJP_LDADD=''
MOD_PROXY_BALANCER_LDADD=''
MOD_PROXY_CONNECT_LDADD=''
MOD_PROXY_EXPRESS_LDADD=''
MOD_PROXY_FCGI_LDADD=''
MOD_PROXY_FDPASS_LDADD=''
MOD_PROXY_FTP_LDADD=''
MOD_PROXY_HCHECK_LDADD=''
MOD_PROXY_HTML_LDADD=''
MOD_PROXY_HTTP2_LDADD=''
MOD_PROXY_HTTP_LDADD=''
MOD_PROXY_LDADD=''
MOD_PROXY_SCGI_LDADD=''
MOD_PROXY_WSTUNNEL_LDADD=''
MOD_RATELIMIT_LDADD=''
MOD_REFLECTOR_LDADD=''
MOD_REMOTEIP_LDADD=''
MOD_REQTIMEOUT_LDADD=''
MOD_REQUEST_LDADD=''
MOD_REWRITE_LDADD=''
MOD_SED_LDADD=''
MOD_SESSION_COOKIE_LDADD=''
MOD_SESSION_CRYPTO_LDADD=''
MOD_SESSION_DBD_LDADD=''
MOD_SESSION_LDADD=''
MOD_SETENVIF_LDADD=''
MOD_SLOTMEM_PLAIN_LDADD=''
MOD_SLOTMEM_SHM_LDADD=''
MOD_SOCACHE_DBM_LDADD=''
MOD_SOCACHE_DC_LDADD=''
MOD_SOCACHE_MEMCACHE_LDADD=''
MOD_SOCACHE_SHMCB_LDADD=''
MOD_SO_ENABLED=''
MOD_SO_LDADD=''
MOD_SPELING_LDADD=''
MOD_SSL_LDADD=''
MOD_STATUS_LDADD=''
MOD_SUBSTITUTE_LDADD=''
MOD_SUEXEC_LDADD=''
MOD_UNIQUE_ID_LDADD=''
MOD_UNIXD_LDADD=''
MOD_USERDIR_LDADD=''
MOD_USERTRACK_LDADD=''
MOD_VERSION_LDADD=''
MOD_VHOST_ALIAS_LDADD=''
MOD_WATCHDOG_LDADD=''
MOD_XML2ENC_LDADD=''
MPM_LIB=''
MPM_SUBDIRS=''
NONPORTABLE_SUPPORT=''
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_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CONFIG=''
PCRE_LIBS=''
PICFLAGS=''
PILDFLAGS=''
PKGCONFIG=''
PORT=''
POST_SHARED_CMDS=''
PRE_SHARED_CMDS=''
RANLIB=''
RM=''
RSYNC=''
SHELL='/bin/sh'
SHLIBPATH_VAR=''
SHLTCFLAGS=''
SH_LDFLAGS=''
SH_LIBS=''
SH_LIBTOOL=''
SSLPORT=''
UTIL_LDFLAGS=''
ab_CFLAGS=''
ab_LDFLAGS=''
ab_LTFLAGS=''
abs_srcdir='/appli/deltasrv/tmp/httpd-2.4.25'
ac_ct_CC=''
ap_make_delimiter=''
ap_make_include=''
bindir='${exec_prefix}/bin'
build='powerpc-ibm-aix7.1.0.0'
build_alias=''
build_cpu='powerpc'
build_os='aix7.1.0.0'
build_vendor='ibm'
cgidir='${datadir}/cgi-bin'
checkgid_LTFLAGS=''
datadir='${prefix}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
errordir='${datadir}/error'
exec_prefix='${prefix}'
exp_bindir='/appli/deltasrv/apache24-64/bin'
exp_cgidir='/appli/deltasrv/apache24-64/cgi-bin'
exp_datadir='/appli/deltasrv/apache24-64'
exp_errordir='/appli/deltasrv/apache24-64/error'
exp_exec_prefix='/appli/deltasrv/apache24-64'
exp_htdocsdir='/appli/deltasrv/apache24-64/htdocs'
exp_iconsdir='/appli/deltasrv/apache24-64/icons'
exp_includedir='/appli/deltasrv/apache24-64/include'
exp_installbuilddir='/appli/deltasrv/apache24-64/build'
exp_libdir='/appli/deltasrv/apache24-64/lib'
exp_libexecdir='/appli/deltasrv/apache24-64/modules'
exp_localstatedir='/appli/deltasrv/apache24-64'
exp_logfiledir='/appli/deltasrv/apache24-64/logs'
exp_mandir='/appli/deltasrv/apache24-64/man'
exp_manualdir='/appli/deltasrv/apache24-64/manual'
exp_proxycachedir='/appli/deltasrv/apache24-64/proxy'
exp_runtimedir='/appli/deltasrv/apache24-64/logs'
exp_sbindir='/appli/deltasrv/apache24-64/bin'
exp_sysconfdir='/appli/deltasrv/apache24-64/conf'
fcgistarter_LTFLAGS=''
host='powerpc-ibm-aix7.1.0.0'
host_alias=''
host_cpu='powerpc'
host_os='aix7.1.0.0'
host_vendor='ibm'
htcacheclean_LTFLAGS=''
htdbm_LTFLAGS=''
htdigest_LTFLAGS=''
htdocsdir='${datadir}/htdocs'
htmldir='${docdir}'
htpasswd_LTFLAGS=''
httxt2dbm_LTFLAGS=''
iconsdir='${datadir}/icons'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
installbuilddir='${datadir}/build'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/modules'
localedir='${datarootdir}/locale'
localstatedir='${prefix}'
logfiledir='${localstatedir}/logs'
logresolve_LTFLAGS=''
mandir='${prefix}/man'
manualdir='${datadir}/manual'
oldincludedir='/usr/include'
other_targets=''
pdfdir='${docdir}'
perlbin=''
prefix='/appli/deltasrv/apache24-64'
progname=''
program_transform_name='s,x,x,'
proxycachedir='${localstatedir}/proxy'
psdir='${docdir}'
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='${localstatedir}/logs'
sbindir='${exec_prefix}/bin'
shared_build=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/conf'
target='powerpc-ibm-aix7.1.0.0'
target_alias=''
target_cpu='powerpc'
target_os='aix7.1.0.0'
target_vendor='ibm'
configure: exit 0


########

thaks in advance

Moderator's Comments:
Mod Comment edit by bakunin:PLEASE! Use CODE-tags for code, terminal output and sample data. To edit them in for you is getting old.

Last edited by bakunin; 11-18-2018 at 11:55 PM..
# 9  
Old 11-19-2018
Hi Yahia.

I think I'd be tempted to upgrade all this to the latest level, or to remove and re-install the latest gcc AND all the required libraries. You could go into the $LIB directory and create the symlink, but I think you'll end up repeating the exercise a number of times.

If you're going to try this;

Code:
cd /opt/freeware/lib
ln -s /opt/freeware/lib/gcc/<HOST>/<VERSION>/libstdc++.a
ln -s /opt/freeware/lib/gcc/<HOST>/<VERSION>/libgcc_s.a

If that doesn't work then, remove the existing rpm's and install the latest libraries.
Code:
libgcc-4.9.2-1 
libstdc++-4.9.2-1

Regards

Gull04
# 10  
Old 11-19-2018
hey Gull

here is the script used to compile pache package

apache 2.4.25
Code:
export HOME=/appli/deltasrv
export APACHE_SRC=$HOME/tmp/httpd-2.4.25
export APACHE_DEST_DIR_NAME=apache24-64
#export LIBPATH=/usr/lib:/opt/freeware/lib
export LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5:$LIBPATH
export LDFLAGS="-b64" 
export OBJECT_MODE=64 
 
 
#export PATH=/opt/freeware/bin:$PATH

rm -rf ${HOME}/${APACHE_DEST_DIR_NAME}
cd $APACHE_SRC
echo "Debut compilation "
make clean
OS_LEVEL=`oslevel|awk '{print substr($1,1,3)}'`
if [ $OS_LEVEL = "6.1" ]
then
 ac_cv_build="powerpc-ibm-aix5.3.0.0"
 ac_cv_build_alias=$ac_cv_build
 export ac_cv_build ac_cv_build_alias
fi
./configure CC='gcc' LIBPATH='/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5' CFLAGS='-maix64' NM='nm -X32_64' AR='ar -X32_64' --prefix=${HOME}/${APACHE_DEST_DIR_NAME} --with-mpm=prefork --with-included-apr -enable-modules=none  --enable-mods-shared='deflate filter headers ssl unique_id authz_host authz_core setenvif unixd log_config socache_shmcb mime' -enable-load-all-modules 
if [ $? -ne 0 ]
then
 echo "Configure apache abnormal completion"
   exit 1
fi
make
if [ $? -ne 0 ]
then
   echo "Make apache abnormal completion"
   exit 1
fi
export PATH=/opt/freeware/bin:$PATH
make install
if [ $? -ne 0 ]
then
   echo "Make Install abnormal completion"
   exit 1
else 
   echo "Make Install apache completed successfully!"
fi

###


and her is the config log

##

Code:
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.69.  Invocation command line was
  $ ./configure CC=gcc LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5 CFLAGS=-maix64 NM=nm -X32_64 AR=ar -X32_64 --prefix=/appli/deltasrv/apache24-64 --with-mpm=prefork --with-included-apr -enable-modules=none --enable-mods-shared=deflate filter headers ssl unique_id authz_host authz_core setenvif unixd log_config socache_shmcb mime -enable-load-all-modules
## --------- ##
## Platform. ##
## --------- ##
hostname = DZ1600TEST3
uname -m = 00013B8CD700
uname -r = 1
uname -s = AIX
uname -v = 7
/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       = 7.1.0.0
/bin/universe          = unknown
PATH: /usr/java71_64/jre/bin
PATH: /usr/java6_64/jre/bin
PATH: /usr/bin
PATH: /etc
PATH: /usr/sbin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /sbin
PATH: /usr/java5/jre/bin
PATH: /usr/java5/bin
PATH: /usr/es/sbin/cluster
PATH: /usr/es/sbin/cluster/utilities
PATH: /usr/es/sbin/cluster/sbin
PATH: /usr/es/sbin/cluster/etc
PATH: /usr/es/sbin/cluster/diag/opt/freeware/sbin/gmond
PATH: /etc/ganglia
PATH: /usr/opt/ifor/ls/os/aix/bin

## ----------- ##
## Core tests. ##
## ----------- ##
configure:3098: checking for chosen layout
configure:3100: result: Apache
configure:3903: checking for working mkdir -p
configure:3919: result: yes
configure:3928: checking for grep that handles long lines and -e
configure:3986: result: /usr/bin/grep
configure:3991: checking for egrep
configure:4053: result: /usr/bin/grep -E
configure:4069: checking build system type
configure:4083: result: powerpc-ibm-aix7.1.0.0
configure:4103: checking host system type
configure:4116: result: powerpc-ibm-aix7.1.0.0
configure:4136: checking target system type
configure:4149: result: powerpc-ibm-aix7.1.0.0
configure:4179: 
configure:4181: Configuring Apache Portable Runtime library...
configure:4183: 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=powerpc-ibm-aix7.1.0.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-maix64
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=-b64
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-aix7.1.0.0
ac_cv_mkdir_p=yes
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_target=powerpc-ibm-aix7.1.0.0
## ----------------- ##
## Output variables. ##
## ----------------- ##
APACHECTL_ULIMIT=''
APR_BINDIR=''
APR_CONFIG=''
APR_INCLUDEDIR=''
APR_VERSION=''
APU_BINDIR=''
APU_CONFIG=''
APU_INCLUDEDIR=''
APU_VERSION=''
AP_BUILD_SRCLIB_DIRS=''
AP_CLEAN_SRCLIB_DIRS=''
AP_LIBS=''
AWK=''
BUILTIN_LIBS=''
CC='gcc'
CFLAGS='-maix64'
CORE_IMPLIB=''
CORE_IMPLIB_FILE=''
CPP=''
CPPFLAGS=''
CRYPT_LIBS=''
CXX=''
CXXFLAGS=''
DEFS=''
DSO_MODULES=''
DTRACE=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLED_DSO_MODULES=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CPPFLAGS=''
EXTRA_CXXFLAGS=''
EXTRA_INCLUDES=''
EXTRA_LDFLAGS=''
EXTRA_LIBS=''
GREP='/usr/bin/grep'
HTTPD_LDFLAGS=''
HTTPD_MMN='20120211'
HTTPD_VERSION='2.4.25'
INCLUDES=''
INSTALL=''
INSTALL_DSO=''
INSTALL_PROG_FLAGS=''
INTERNAL_CPPFLAGS=''
LDFLAGS='-b64'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LOAD_ALL_MODULES=''
LTCFLAGS=''
LTFLAGS=''
LTLIBOBJS=''
LT_LDFLAGS=''
LUA_CFLAGS=''
LUA_LIBS=''
LYNX_PATH=''
MATH_LIBS=''
MKDEP=''
MKINSTALLDIRS=''
MK_IMPLIB=''
MODULE_CLEANDIRS=''
MODULE_DIRS=''
MOD_ACCESS_COMPAT_LDADD=''
MOD_ACTIONS_LDADD=''
MOD_ALIAS_LDADD=''
MOD_ALLOWMETHODS_LDADD=''
MOD_ASIS_LDADD=''
MOD_AUTHNZ_FCGI_LDADD=''
MOD_AUTHNZ_LDAP_LDADD=''
MOD_AUTHN_ANON_LDADD=''
MOD_AUTHN_CORE_LDADD=''
MOD_AUTHN_DBD_LDADD=''
MOD_AUTHN_DBM_LDADD=''
MOD_AUTHN_FILE_LDADD=''
MOD_AUTHN_SOCACHE_LDADD=''
MOD_AUTHZ_CORE_LDADD=''
MOD_AUTHZ_DBD_LDADD=''
MOD_AUTHZ_DBM_LDADD=''
MOD_AUTHZ_GROUPFILE_LDADD=''
MOD_AUTHZ_HOST_LDADD=''
MOD_AUTHZ_OWNER_LDADD=''
MOD_AUTHZ_USER_LDADD=''
MOD_AUTH_BASIC_LDADD=''
MOD_AUTH_DIGEST_LDADD=''
MOD_AUTH_FORM_LDADD=''
MOD_AUTOINDEX_LDADD=''
MOD_BUCKETEER_LDADD=''
MOD_BUFFER_LDADD=''
MOD_CACHE_DISK_LDADD=''
MOD_CACHE_LDADD=''
MOD_CACHE_SOCACHE_LDADD=''
MOD_CASE_FILTER_IN_LDADD=''
MOD_CASE_FILTER_LDADD=''
MOD_CERN_META_LDADD=''
MOD_CGID_LDADD=''
MOD_CGI_LDADD=''
MOD_CHARSET_LITE_LDADD=''
MOD_DATA_LDADD=''
MOD_DAV_FS_LDADD=''
MOD_DAV_LDADD=''
MOD_DAV_LOCK_LDADD=''
MOD_DBD_LDADD=''
MOD_DEFLATE_LDADD=''
MOD_DIALUP_LDADD=''
MOD_DIR_LDADD=''
MOD_DUMPIO_LDADD=''
MOD_ECHO_LDADD=''
MOD_ENV_LDADD=''
MOD_EXAMPLE_HOOKS_LDADD=''
MOD_EXAMPLE_IPC_LDADD=''
MOD_EXPIRES_LDADD=''
MOD_EXT_FILTER_LDADD=''
MOD_FILE_CACHE_LDADD=''
MOD_FILTER_LDADD=''
MOD_HEADERS_LDADD=''
MOD_HEARTBEAT_LDADD=''
MOD_HEARTMONITOR_LDADD=''
MOD_HTTP2_LDADD=''
MOD_HTTP_LDADD=''
MOD_IDENT_LDADD=''
MOD_IMAGEMAP_LDADD=''
MOD_INCLUDE_LDADD=''
MOD_INFO_LDADD=''
MOD_ISAPI_LDADD=''
MOD_LBMETHOD_BYBUSYNESS_LDADD=''
MOD_LBMETHOD_BYREQUESTS_LDADD=''
MOD_LBMETHOD_BYTRAFFIC_LDADD=''
MOD_LBMETHOD_HEARTBEAT_LDADD=''
MOD_LDAP_LDADD=''
MOD_LOGIO_LDADD=''
MOD_LOG_CONFIG_LDADD=''
MOD_LOG_DEBUG_LDADD=''
MOD_LOG_FORENSIC_LDADD=''
MOD_LUA_LDADD=''
MOD_MACRO_LDADD=''
MOD_MIME_LDADD=''
MOD_MIME_MAGIC_LDADD=''
MOD_MPM_EVENT_LDADD=''
MOD_NEGOTIATION_LDADD=''
MOD_OPTIONAL_FN_EXPORT_LDADD=''
MOD_OPTIONAL_FN_IMPORT_LDADD=''
MOD_OPTIONAL_HOOK_EXPORT_LDADD=''
MOD_OPTIONAL_HOOK_IMPORT_LDADD=''
MOD_PRIVILEGES_LDADD=''
MOD_PROXY_AJP_LDADD=''
MOD_PROXY_BALANCER_LDADD=''
MOD_PROXY_CONNECT_LDADD=''
MOD_PROXY_EXPRESS_LDADD=''
MOD_PROXY_FCGI_LDADD=''
MOD_PROXY_FDPASS_LDADD=''
MOD_PROXY_FTP_LDADD=''
MOD_PROXY_HCHECK_LDADD=''
MOD_PROXY_HTML_LDADD=''
MOD_PROXY_HTTP2_LDADD=''
MOD_PROXY_HTTP_LDADD=''
MOD_PROXY_LDADD=''
MOD_PROXY_SCGI_LDADD=''
MOD_PROXY_WSTUNNEL_LDADD=''
MOD_RATELIMIT_LDADD=''
MOD_REFLECTOR_LDADD=''
MOD_REMOTEIP_LDADD=''
MOD_REQTIMEOUT_LDADD=''
MOD_REQUEST_LDADD=''
MOD_REWRITE_LDADD=''
MOD_SED_LDADD=''
MOD_SESSION_COOKIE_LDADD=''
MOD_SESSION_CRYPTO_LDADD=''
MOD_SESSION_DBD_LDADD=''
MOD_SESSION_LDADD=''
MOD_SETENVIF_LDADD=''
MOD_SLOTMEM_PLAIN_LDADD=''
MOD_SLOTMEM_SHM_LDADD=''
MOD_SOCACHE_DBM_LDADD=''
MOD_SOCACHE_DC_LDADD=''
MOD_SOCACHE_MEMCACHE_LDADD=''
MOD_SOCACHE_SHMCB_LDADD=''
MOD_SO_ENABLED=''
MOD_SO_LDADD=''
MOD_SPELING_LDADD=''
MOD_SSL_LDADD=''
MOD_STATUS_LDADD=''
MOD_SUBSTITUTE_LDADD=''
MOD_SUEXEC_LDADD=''
MOD_UNIQUE_ID_LDADD=''
MOD_UNIXD_LDADD=''
MOD_USERDIR_LDADD=''
MOD_USERTRACK_LDADD=''
MOD_VERSION_LDADD=''
MOD_VHOST_ALIAS_LDADD=''
MOD_WATCHDOG_LDADD=''
MOD_XML2ENC_LDADD=''
MPM_LIB=''
MPM_SUBDIRS=''
NONPORTABLE_SUPPORT=''
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_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CONFIG=''
PCRE_LIBS=''
PICFLAGS=''
PILDFLAGS=''
PKGCONFIG=''
PORT=''
POST_SHARED_CMDS=''
PRE_SHARED_CMDS=''
RANLIB=''
RM=''
RSYNC=''
SHELL='/bin/sh'
SHLIBPATH_VAR=''
SHLTCFLAGS=''
SH_LDFLAGS=''
SH_LIBS=''
SH_LIBTOOL=''
SSLPORT=''
UTIL_LDFLAGS=''
ab_CFLAGS=''
ab_LDFLAGS=''
ab_LTFLAGS=''
abs_srcdir='/appli/deltasrv/tmp/httpd-2.4.25'
ac_ct_CC=''
ap_make_delimiter=''
ap_make_include=''
bindir='${exec_prefix}/bin'
build='powerpc-ibm-aix7.1.0.0'
build_alias=''
build_cpu='powerpc'
build_os='aix7.1.0.0'
build_vendor='ibm'
cgidir='${datadir}/cgi-bin'
checkgid_LTFLAGS=''
datadir='${prefix}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
errordir='${datadir}/error'
exec_prefix='${prefix}'
exp_bindir='/appli/deltasrv/apache24-64/bin'
exp_cgidir='/appli/deltasrv/apache24-64/cgi-bin'
exp_datadir='/appli/deltasrv/apache24-64'
exp_errordir='/appli/deltasrv/apache24-64/error'
exp_exec_prefix='/appli/deltasrv/apache24-64'
exp_htdocsdir='/appli/deltasrv/apache24-64/htdocs'
exp_iconsdir='/appli/deltasrv/apache24-64/icons'
exp_includedir='/appli/deltasrv/apache24-64/include'
exp_installbuilddir='/appli/deltasrv/apache24-64/build'
exp_libdir='/appli/deltasrv/apache24-64/lib'
exp_libexecdir='/appli/deltasrv/apache24-64/modules'
exp_localstatedir='/appli/deltasrv/apache24-64'
exp_logfiledir='/appli/deltasrv/apache24-64/logs'
exp_mandir='/appli/deltasrv/apache24-64/man'
exp_manualdir='/appli/deltasrv/apache24-64/manual'
exp_proxycachedir='/appli/deltasrv/apache24-64/proxy'
exp_runtimedir='/appli/deltasrv/apache24-64/logs'
exp_sbindir='/appli/deltasrv/apache24-64/bin'
exp_sysconfdir='/appli/deltasrv/apache24-64/conf'
fcgistarter_LTFLAGS=''
host='powerpc-ibm-aix7.1.0.0'
host_alias=''
host_cpu='powerpc'
host_os='aix7.1.0.0'
host_vendor='ibm'
htcacheclean_LTFLAGS=''
htdbm_LTFLAGS=''
htdigest_LTFLAGS=''
htdocsdir='${datadir}/htdocs'
htmldir='${docdir}'
htpasswd_LTFLAGS=''
httxt2dbm_LTFLAGS=''
iconsdir='${datadir}/icons'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
installbuilddir='${datadir}/build'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/modules'
localedir='${datarootdir}/locale'
localstatedir='${prefix}'
logfiledir='${localstatedir}/logs'
logresolve_LTFLAGS=''
mandir='${prefix}/man'
manualdir='${datadir}/manual'
oldincludedir='/usr/include'
other_targets=''
pdfdir='${docdir}'
perlbin=''
prefix='/appli/deltasrv/apache24-64'
progname=''
program_transform_name='s,x,x,'
proxycachedir='${localstatedir}/proxy'
psdir='${docdir}'
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='${localstatedir}/logs'
sbindir='${exec_prefix}/bin'
shared_build=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/conf'
target='powerpc-ibm-aix7.1.0.0'
target_alias=''
target_cpu='powerpc'
target_os='aix7.1.0.0'
target_vendor='ibm'
configure: exit 0

##
thanks in advance
# 11  
Old 11-19-2018
Hi Yahia,

You need to edit your post and enclose that in "code" tags.

I notice that part of the
Code:
$LIBPATH

is commented out in the config file, any reason for that?

Regards

Gull04

Last edited by gull04; 11-19-2018 at 10:25 AM.. Reason: More Information.
# 12  
Old 11-19-2018
heu Gull

it's exported on the top of script

Code:
export LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5:$LIBPATH

Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, output, and code segments (as required by forum rules).
# 13  
Old 11-19-2018
Hi Yahia,

It's only partly exported;

Code:
#export LIBPATH=/usr/lib:/opt/freeware/lib
 export LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5:$LIBPATH

The first line is commented out!

And will you please use the code tags!

Regards

Gull04
# 14  
Old 11-19-2018
hi Gull
i uncomment it but still have the same error

Code:
Debut compilation
make: 1254-002 Cannot find a rule to create target clean from dependencies.
Stop.
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... powerpc-ibm-aix7.1.0.0
checking host system type... powerpc-ibm-aix7.1.0.0
checking target system type... powerpc-ibm-aix7.1.0.0
configure:
configure: Configuring Apache Portable Runtime library...
configure:
configuring package in srclib/apr now
checking build system type... powerpc-ibm-aix7.1.0.0
checking host system type... powerpc-ibm-aix7.1.0.0
checking target system type... powerpc-ibm-aix7.1.0.0
Configuring APR library
Platform: powerpc-ibm-aix7.1.0.0
checking for working mkdir -p... yes
APR Version: 1.5.2
checking for chosen layout... apr
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/appli/deltasrv/tmp/httpd-2.4.25/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure failed for srclib/apr
make: make 1254-025 There must be an existing description file or specify a target.
Make apache abnormal completion

Moderator's Comments:
Mod Comment Please use CODE tags for full line and multi-line sample input, output, and code segments. Use ICODE tags for partial line input, output, and code segments.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Gcc 4.5.8 on AIX 7.1 issue yahia Programming 2 11-12-2018 09:34 AM
AIX xlc compiler vs gcc spooksman AIX 0 01-28-2014 04:13 AM
Upgrading AIX 5.2 to AIX 6.1 - GCC compatibility karthikc AIX 1 08-27-2009 04:11 AM
Gcc for AIX smartgupta AIX 6 02-05-2009 06:40 PM
How to install gcc compiler on AIX? kittu1979 AIX 2 11-12-2008 06:50 AM
problems with gcc on AIX 4.33 jhall AIX 2 10-29-2008 10:36 PM
Compile gcc on AIX 5.2 untamed AIX 7 01-31-2008 05:21 AM
GCC compiler issue on redhat4.5 nano2 Linux 0 01-16-2008 06:00 AM
The problem after install gcc on AIX 5.3 zither AIX 1 01-02-2008 12:44 AM
gcc with AIX 4.3 itik AIX 9 12-10-2007 03:16 AM
AIX 5.3 gcc compiler cipher#1 AIX 1 07-30-2007 06:31 PM
AIX 5.3 gcc compiler cipher#1 UNIX for Dummies Questions & Answers 0 07-30-2007 10:50 AM
Issue with installing GCC on Darwin - Trying not to freak out Jeffish UNIX for Dummies Questions & Answers 2 06-28-2007 07:32 PM
gcc compiler on AIX 5.2 SMISS AIX 2 07-29-2004 03:40 AM
getpri on gcc (AIX) Seeker Programming 1 12-24-2001 12:15 PM