Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E17F11EA9 for ; Mon, 15 Sep 2014 14:26:54 +0000 (UTC) Received: (qmail 40005 invoked by uid 500); 15 Sep 2014 14:26:54 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 39927 invoked by uid 500); 15 Sep 2014 14:26:54 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 39917 invoked by uid 99); 15 Sep 2014 14:26:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 14:26:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of g.sreejib@gmail.com designates 209.85.220.48 as permitted sender) Received: from [209.85.220.48] (HELO mail-pa0-f48.google.com) (209.85.220.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 14:26:50 +0000 Received: by mail-pa0-f48.google.com with SMTP id hz1so6522163pad.21 for ; Mon, 15 Sep 2014 07:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jmtBW3erdR2ba8Ut9MPtevGA0fkpFOrKjpsCpoq5yKY=; b=eNOaOhLFw70afq4Upd+5YTrXCen1xZ98FQNrVo9FoJetksFEXTE2nvBfkMsHjgvv1E JxKP334tbwd759Mdq6ymCsXJNcwtta6MGo0lFkKJIFPQCRTan4sIQqwkHDRm1gjG0my5 tPlJwj8xsd7fGDQPvKfop5DknolRGFxj5ci9VA6bG9rBu5HmqbShyGZ2nxaAz7oBXf93 06ps8nyTQvwOUuX+OLGYzZeAyjhP01OXjChcxWUegMWlTdC/r1FlE8LVff6q9FmV3bWP yDpi9p3WT245XF26NqBqwGHCikxGhqlcNVG+wrjiJSHLeYRfm8oupCdT3OMKKrkT4DW5 gw0g== MIME-Version: 1.0 X-Received: by 10.70.49.14 with SMTP id q14mr45633881pdn.5.1410791189593; Mon, 15 Sep 2014 07:26:29 -0700 (PDT) Received: by 10.70.20.227 with HTTP; Mon, 15 Sep 2014 07:26:29 -0700 (PDT) In-Reply-To: References: <54102556.1070008@myarm.com> Date: Mon, 15 Sep 2014 19:56:29 +0530 Message-ID: Subject: =?UTF-8?Q?Re=3A_C_compiler_cannot_create_executable=E2=80=8Bs_=2D_config?= =?UTF-8?Q?ure_failed_for_srclib=2Fapr?= From: Sreejib Ghosh To: Jonathan Leffler Cc: Stefan Ruppert , Apache Portability Runtime Developers Content-Type: multipart/alternative; boundary=047d7bf18f8cb544af05031b6b80 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf18f8cb544af05031b6b80 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi I tried this one also.. same error. I want to use xlc as it is a native compiler ANSI-C complient and SAP also recommending not to use gcc. What should be the values I pass . Please help. export CFLAGS=3D"-q64" export LDFLAGS=3D"-q64" export EXTRA_LDFLAGS_SHLIB=3D"-b64" export OBJECT_MODE=3D64 export CC=3D Regards, Sreejib On Mon, Sep 15, 2014 at 7:29 PM, Jonathan Leffler < jonathan.leffler@gmail.com> wrote: > You should use a space in the command name: > > export CC=3D"gcc -maix64" > > That uses the GCC compiler with the argument '-maix64', rather than tryin= g > to use it as a single word gcc-maix64. > > > > > On Mon, Sep 15, 2014 at 12:27 AM, Sreejib Ghosh > wrote: > >> Hi >> >> >> I have tried with almost all combinations. But failed. Please suggest th= e >> correct one for AIX 7.1 with non GNU supported C-Compiler. >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >> # export CC=3D"gcc-maix64" >> # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost >> --with-mpm=3Dprefork --with-expat=3Dbuiltin >> checking for chosen layout... Apache >> checking for working mkdir -p... yes >> 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 Apache Portable Runtime library ... >> checking for APR... reconfig >> 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.1 >> checking for chosen layout... apr >> checking for gcc... gcc-maix64 >> checking whether the C compiler works... no >> configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': >> configure: error: C compiler cannot create executables >> See `config.log' for more details >> configure failed for srclib/apr >> # >> # export CFLAGS=3D"-q64" >> export LDFLAGS=3D"-q64" >> export EXTRA_LDFLAGS_SHLIB=3D"-b64" >> export OBJECT_MODE=3D64 >> export CC=3D"xlc-q64"# # # # >> # >> # >> # echo $CFLAGS >> -q64 >> # echo $CC >> xlc-q64 >> # pwd >> /sapdb/SDB/sapdata4/DUMP/httpd-2.2.29 >> # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost >> --with-mpm=3Dprefork --with-expat=3Dbuiltin >> checking for chosen layout... Apache >> checking for working mkdir -p... yes >> 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 Apache Portable Runtime library ... >> checking for APR... reconfig >> 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.1 >> checking for chosen layout... apr >> checking for gcc... xlc-q64 >> checking whether the C compiler works... no >> configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': >> configure: error: C compiler cannot create executables >> See `config.log' for more details >> configure failed for srclib/apr >> # # >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> Please help. >> >> regards, >> Sreejib >> >> On Wed, Sep 10, 2014 at 4:28 PM, Sreejib Ghosh >> wrote: >> >>> SAP replied seeing the logs: >>> >>> "It looks like false compiler has been used. GNU (GCC) compiler is only >>> valid for operating system LINUX. >>> Please use ANSI-C native compiler and source distribution instead of >>> pre-compiler and binary distribution." >>> >>> Logs already attached in earlier communication here. >>> >>> Regards, >>> Sreejib >>> >>> On Wed, Sep 10, 2014 at 4:19 PM, Sreejib Ghosh >>> wrote: >>> >>>> Please suggest. >>>> >>>> Regards, >>>> Sreejib >>>> On Wed, Sep 10, 2014 at 4:15 PM, Sreejib Ghosh >>>> wrote: >>>> >>>>> Hi >>>>> >>>>> I checked the followings...... >>>>> >>>>> # export CFLAGS=3D"-maix64" >>>>> #export LDFLAGS=3D"-maix64" >>>>> #export EXTRA_LDFLAGS_SHLIB=3D"-Wl,-b64" >>>>> #export OBJECT_MODE=3D64 >>>>> #export CC=3D"gcc" >>>>> # # # # >>>>> # >>>>> # echo $EXTRA_LDFLAGS_SHLIB >>>>> -Wl,-b64 >>>>> # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost >>>>> --with-mpm=3Dprefork --with-expat=3Dbuiltin >>>>> checking for chosen layout... Apache >>>>> checking for working mkdir -p... yes >>>>> 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 Apache Portable Runtime library ... >>>>> checking for APR... reconfig >>>>> 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.1 >>>>> checking for chosen layout... apr >>>>> checking for gcc... gcc >>>>> checking whether the C compiler works... no >>>>> configure: error: in >>>>> `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': >>>>> configure: error: C compiler cannot create executables >>>>> See `config.log' for more details >>>>> configure failed for srclib/apr >>>>> # >>>>> >>>>> Also checked >>>>> >>>>> # export CC=3D"-maix64" >>>>> # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost >>>>> --with-mpm=3Dprefork --with-expat=3Dbuiltin >>>>> checking for chosen layout... Apache >>>>> checking for working mkdir -p... yes >>>>> 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 Apache Portable Runtime library ... >>>>> checking for APR... reconfig >>>>> 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.1 >>>>> checking for chosen layout... apr >>>>> checking for gcc... -maix64 >>>>> checking whether the C compiler works... no >>>>> configure: error: in >>>>> `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': >>>>> configure: error: C compiler cannot create executables >>>>> See `config.log' for more details >>>>> configure failed for srclib/apr >>>>> # >>>>> >>>>> Please suggest. >>>>> Regards, >>>>> SREEJIB >>>>> >>>>> On Wed, Sep 10, 2014 at 3:56 PM, Sreejib Ghosh >>>>> wrote: >>>>> >>>>>> Hi Stefan >>>>>> >>>>>> Thanks for your expert advise. I am very new with Apache. >>>>>> >>>>>> Please do let me know what should be the values if I want to use >>>>>> ANSI-C compliant Compiler in AIX 7.1 >>>>>> >>>>>> export CFLAGS=3D >>>>>> export LDFLAGS=3D >>>>>> export EXTRA_LDFLAGS_SHLIB=3D >>>>>> export OBJECT_MODE=3D >>>>>> export CC=3D >>>>>> >>>>>> 2. what I should use gcc or xlc for AIX 7.1 >>>>>> >>>>>> Best regards, >>>>>> Sreejib >>>>>> >>>>>> On Wed, Sep 10, 2014 at 3:47 PM, Stefan Ruppert wrote= : >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> you are mixing xlc and gcc flags. To compile 64-bit code with xlc u= se >>>>>>> -q64 as you did. Using gcc you need to pass -maix64. If the linker = is >>>>>>> invoked by gcc you will also need to tell gcc to pass the -b64 >>>>>>> option to >>>>>>> the linker: -Wl,-b64 >>>>>>> >>>>>>> Regards, >>>>>>> Stefan >>>>>>> >>>>>>> Am 10.09.2014 10:55, schrieb Sreejib Ghosh: >>>>>>> > Hi Experts >>>>>>> > We are facing issue while installing Apache 2.2.29 in AIX 7.1 >>>>>>> > >>>>>>> > >>>>>>> > we are using following environments: >>>>>>> > >>>>>>> > export CFLAGS=3D"-q64" >>>>>>> > >>>>>>> > export LDFLAGS=3D"-q64" >>>>>>> > export EXTRA_LDFLAGS_SHLIB=3D"-b64" >>>>>>> > export OBJECT_MODE=3D64 >>>>>>> > export CC=3D=E2=80=9Dgcc=E2=80=9D >>>>>>> > >>>>>>> > >>>>>> of CC ? > >>>>>>> > >>>>>>> > We are using httpd-2.2.29 =E2=80=A6 SAP doesn=E2=80=99t support l= atest version >>>>>>> 2.4.x >>>>>>> > >>>>>>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3DERROR LOG=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>>>>> > >>>>>>> > # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dm= ost >>>>>>> > --with-mpm=3Dprefork --with-expat=3Dbuiltin >>>>>>> > checking for chosen layout... Apache >>>>>>> > checking for working mkdir -p... yes >>>>>>> > 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 Apache Portable Runtime library ... >>>>>>> > checking for APR... reconfig >>>>>>> > 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.1 >>>>>>> > checking for chosen layout... apr >>>>>>> > checking for gcc... gcc >>>>>>> > checking whether the C compiler works... no >>>>>>> > configure: error: in >>>>>>> `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': >>>>>>> > configure: error: C compiler cannot create executables >>>>>>> > See `config.log' for more details >>>>>>> > configure failed for srclib/apr >>>>>>> > # >>>>>>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >>>>>>> > >>>>>>> > other details are attached here-with. >>>>>>> > >>>>>>> > Please help us. >>>>>>> > >>>>>>> > Thanks & regards, >>>>>>> > >>>>>>> > Sreejib Ghosh >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > > > -- > Jonathan Leffler #include > Guardian of DBD::Informix - v2013.0521 - http://dbi.perl.org > "Blessed are we who can laugh at ourselves, for we shall never cease to b= e > amused." > --047d7bf18f8cb544af05031b6b80 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi
=C2=A0
I tried this one a= lso.. same error.
=C2=A0
I want to use xlc as it is a n= ative compiler ANSI-C complient=C2=A0 and SAP also recommending not to use = gcc. What should be the values I pass . Please help.
=C2=A0
export CFLAGS=3D"-q64"
export LDFLAGS= =3D"-q64"
export EXTRA_LDFLAGS_SHLIB=3D"-b64"
exp= ort OBJECT_MODE=3D64
export CC=3D
=C2=A0
=C2=A0Regards,
Sreejib

On Mon, Sep 15, 2014 at 7:29 PM, Jonathan Leffler <jonathan.leffler@gmail.com> wrote:
You should use a space in the command name:
export CC=3D"gcc -maix64"

That uses th= e GCC compiler with the argument '-maix64', rather than trying to u= se it as a single word gcc-maix64.




On Mon, Sep 1= 5, 2014 at 12:27 AM, Sreejib Ghosh <g.sreejib@gmail.com> w= rote:
Hi
=C2=A0
<= div>=C2=A0
I have tried with almost all combinations. But failed.= Please suggest the correct one for AIX 7.1 with non GNU supported C-Compil= er.
=C2=A0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# export CC= =3D"gcc-maix64"
# ./configure --prefix=3D/usr/sap/apache= --enable-mods-shared=3Dmost --with-mpm=3Dprefork --with-expat=3Dbuiltinchecking for chosen layout... Apache
checking for working mkdir -p... y= es
checking build system type... powerpc-ibm-aix7.1.0.0
checking host= system type... powerpc-ibm-aix7.1.0.0
checking target system type... po= werpc-ibm-aix7.1.0.0
Configuring Apache Portable Run= time library ...
checking for APR... reconfig
con= figuring 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
c= hecking target system type... powerpc-ibm-aix7.1.0.0
Configuring APR lib= rary
Platform: powerpc-ibm-aix7.1.0.0
checking for working mkdir -p..= . yes
APR Version: 1.5.1
checking for chosen layout... apr
= checking for gcc... gcc-maix64
checking whether the C compiler wor= ks... no
configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/src= lib/apr':
configure: error: C compiler cannot create executables
= See `config.log' for more details
configure failed for srclib/apr#
# export CFLAGS=3D"-q64"
export LDFLAGS=3D&= quot;-q64"
export EXTRA_LDFLAGS_SHLIB=3D"-b64"
export = OBJECT_MODE=3D64
export CC=3D"xlc-q64"# # # #
#
#=
# echo $CFLAGS
-q64
# echo $CC
xlc-q64
# pwd
/sapdb/SDB/= sapdata4/DUMP/httpd-2.2.29
# ./configure --prefix=3D/usr/sap/apach= e --enable-mods-shared=3Dmost --with-mpm=3Dprefork --with-expat=3Dbuiltin
checking for chosen layout... Apache
checking for = working mkdir -p... yes
checking build system type... powerpc-ibm-aix7.1= .0.0
checking host system type... powerpc-ibm-aix7.1.0.0
checking tar= get system type... powerpc-ibm-aix7.1.0.0
Configuring Apache Port= able Runtime library ...
checking for APR... reconfi= g
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 mk= dir -p... yes
APR Version: 1.5.1
checking for chosen layout... apr
checking for gcc... xlc-q64
checking whether the C compile= r works... no
configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.2= 9/srclib/apr':
configure: error: C compiler cannot create executable= s
See `config.log' for more details
configure failed for srclib/a= pr
# #
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
=C2=A0
Please help.
=C2=A0
regards,
Sreejib

On Wed, Sep 10, 2014 at 4:28 PM, Sre= ejib Ghosh <g.sreejib@gmail.com> wrote:
SAP replied seeing the logs:
=C2=A0
=
"It looks like false compiler has been used. GNU (GCC) compiler i= s only
valid for operating system LINUX.
Please use ANSI-C native com= piler and source distribution instead of
pre-compiler and binary distrib= ution."
=C2=A0
Logs already attached in earlier co= mmunication here.
=C2=A0
Regards,
Sreejib

On Wed, Sep 10, 2014 at 4:19 PM, Sreejib Ghosh <g.sreejib@gmail.com= > wrote:
Please suggest.
=C2=A0
Regards,
Sreejib
On Wed, Sep 10, 2014 at 4:15 PM, Sr= eejib Ghosh <g.sreejib@gmail.com> wrote:
Hi
=C2=A0
I checked the follow= ings......
=C2=A0
# export CFLAGS=3D"-maix64"=
#export LDFLAGS=3D"-maix64"
#export EXTRA_LDFLAGS_SHLIB=3D= "-Wl,-b64"
#export OBJECT_MODE=3D64
#export CC=3D"gcc&= quot;
# # # #
#
# echo $EXTRA_LDFLAGS_SHLIB
-Wl,-b64
# ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost = --with-mpm=3Dprefork --with-expat=3Dbuiltin
checking for chosen layout..= . Apache
checking for working mkdir -p... yes
checking build system t= ype... powerpc-ibm-aix7.1.0.0
checking host system type... powerpc-ibm-a= ix7.1.0.0
checking target system type... powerpc-ibm-aix7.1.0.0

Configuring Apache Portable Runtime library ...

checki= ng for APR... reconfig
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
ch= ecking for working mkdir -p... yes
APR Version: 1.5.1
checking for ch= osen layout... apr
checking for gcc... gcc
checking whether the C com= piler works... no
configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2= .2.29/srclib/apr':
configure: error: C compiler cannot create execut= ables
See `config.log' for more details
configure failed for srcl= ib/apr
#
=C2=A0
Also checked
=C2=A0=
# export CC=3D"-maix64"
# ./configure --prefi= x=3D/usr/sap/apache --enable-mods-shared=3Dmost --with-mpm=3Dprefork --with= -expat=3Dbuiltin
checking for chosen layout... Apache
checking for wo= rking mkdir -p... yes
checking build system type... powerpc-ibm-aix7.1.0= .0
checking host system type... powerpc-ibm-aix7.1.0.0
checking targe= t system type... powerpc-ibm-aix7.1.0.0
Configuring = Apache Portable Runtime library ...
checking for APR= ... reconfig
configuring package in srclib/apr now
checking build sys= tem 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.1
checking for chosen layou= t... apr
checking for gcc... -maix64
checking whether th= e C compiler works... no
configure: error: in `/sapdb/SDB/sapdata4/DUMP/= httpd-2.2.29/srclib/apr':
configure: error: C compiler cannot create= executables
See `config.log' for more details
configure failed f= or srclib/apr
#

Please suggest.
Regards,
SREEJIB

On Wed, Sep 10, 2014 at 3:56 PM, Sreejib Ghosh <g.sre= ejib@gmail.com> wrote:
<= div>Hi Stefan
=C2=A0
Thanks for your expert advise. I a= m very new with Apache.
=C2=A0
Please do let me know wh= at should be the values if I want to use ANSI-C compliant Compiler in AIX 7= .1
=C2=A0
export CFLAGS=3D
export LDFLAGS=3D
expo= rt EXTRA_LDFLAGS_SHLIB=3D
export OBJECT_MODE=3D
export CC=3D
=C2=A0
2. what I should use gcc or xlc for AIX 7.1
= =C2=A0
Best regards,
Sreejib

On Wed, Sep 10, 2014 a= t 3:47 PM, Stefan Ruppert <sr@myarm.com> wrote:
Hi,

you are mixing xlc and gcc flags. To compile 64-bit code with xlc use
-q64 as you did. Using gcc you need to pass -maix64. If the linker is
invoked by gcc you will also need to tell gcc to pass the -b64 option to the linker: -Wl,-b64

Regards,
Stefan

Am 10.09.2014 10:55, schrieb Sreejib Ghosh:
> Hi Experts
> We are facing issue while installing Apache 2.2.29 in AIX 7.1
>
>
> we are using following environments:
>
> export CFLAGS=3D"-q64"
>
> export LDFLAGS=3D"-q64"
> export EXTRA_LDFLAGS_SHLIB=3D"-b64"
> export OBJECT_MODE=3D64
> export CC=3D=E2=80=9Dgcc=E2=80=9D
>
> <SAP recommended CC should be native ANSI-C> <what should be = value of CC ? >
>
> We are using httpd-2.2.29 =E2=80=A6 SAP doesn=E2=80=99t support latest= version 2.4.x
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3DERROR LOG=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
>
> # ./configure --prefix=3D/usr/sap/apache --enable-mods-shared=3Dmost > --with-mpm=3Dprefork --with-expat=3Dbuiltin
> checking for chosen layout... Apache
> checking for working mkdir -p... yes
> 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 Apache Portable Runtime library ...
> checking for APR... reconfig
> 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.1
> checking for chosen layout... apr
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr= ':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> configure failed for srclib/apr
> #
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
>
> other details are attached here-with.
>
> Please help us.
>
> Thanks & regards,
>
> Sreejib Ghosh




<= /div>





= --
Jonathan Leffler <jonathan.leffler@= gmail.com>=C2=A0 #include <disclaimer.h>
Guardian of DBD::I= nformix - v2013.0521 - ht= tp://dbi.perl.org
"Blessed are we who can laugh at ourselves, f= or we shall never cease to be amused."

--047d7bf18f8cb544af05031b6b80--