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 <[email protected]> wrote:

> Please suggest.
>
> Regards,
> Sreejib
> On Wed, Sep 10, 2014 at 4:15 PM, Sreejib Ghosh <[email protected]>
> wrote:
>
>> Hi
>>
>> I checked the followings......
>>
>> # export CFLAGS="-maix64"
>> #export LDFLAGS="-maix64"
>> #export EXTRA_LDFLAGS_SHLIB="-Wl,-b64"
>> #export OBJECT_MODE=64
>> #export CC="gcc"
>> # # # #
>> #
>> # echo $EXTRA_LDFLAGS_SHLIB
>> -Wl,-b64
>> # ./configure --prefix=/usr/sap/apache --enable-mods-shared=most
>> --with-mpm=prefork --with-expat=builtin
>> 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="-maix64"
>> # ./configure --prefix=/usr/sap/apache --enable-mods-shared=most
>> --with-mpm=prefork --with-expat=builtin
>> 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 <[email protected]>
>> 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=
>>> export LDFLAGS=
>>> export EXTRA_LDFLAGS_SHLIB=
>>> export OBJECT_MODE=
>>> export CC=
>>>
>>> 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 <[email protected]> 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="-q64"
>>>> >
>>>> > export LDFLAGS="-q64"
>>>> > export EXTRA_LDFLAGS_SHLIB="-b64"
>>>> > export OBJECT_MODE=64
>>>> > export CC=”gcc”
>>>> >
>>>> > <SAP recommended CC should be native ANSI-C> <what should be value of
>>>> CC ? >
>>>> >
>>>> > We are using httpd-2.2.29 … SAP doesn’t support latest version 2.4.x
>>>> >
>>>> > =============================ERROR LOG=================
>>>> >
>>>> > # ./configure --prefix=/usr/sap/apache --enable-mods-shared=most
>>>> > --with-mpm=prefork --with-expat=builtin
>>>> > 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
>>>> > #
>>>> > ======================================================
>>>> >
>>>> > other details are attached here-with.
>>>> >
>>>> > Please help us.
>>>> >
>>>> > Thanks & regards,
>>>> >
>>>> > Sreejib Ghosh
>>>>
>>>>
>>>
>>
>

Reply via email to