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
10 More Discussions You Might Find Interesting
1. AIX
Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)?
Thanks a lot for your answers. (2 Replies)
Discussion started by: SMISS
2 Replies
2. UNIX for Dummies Questions & Answers
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (0 Replies)
Discussion started by: cipher#1
0 Replies
3. AIX
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (1 Reply)
Discussion started by: cipher#1
1 Replies
4. AIX
hi,
i need to install a source code from an open source on AIX 4.3. but first i need to install gcc.
is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users.
any comment would be appreciated.
thanks (9 Replies)
Discussion started by: itik
9 Replies
5. Linux
Hi all,
I am using gcc4.1.1 on redhat4.5 and when i rethrow an exception and I am catching it .. The application aborts and throws the following error message to stdout - the error that's been thrown is been caught but never gets that far as it falls over on throw statement
Has anyone ever... (0 Replies)
Discussion started by: nano2
0 Replies
6. AIX
I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error:
bison -t --name-prefix=java_ -o java/parse.c java/parse.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.make: *** Broken pipe
gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies
7. AIX
I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it.
Thanks in advance for your help!
# gcc -v
Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies
8. AIX
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Discussion started by: smartgupta
6 Replies
9. AIX
Hi All,
We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment...
how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies
10. Programming
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies