Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


George.Reimer at fisglobal

May 30, 2012, 10:38 AM

Post #1 of 15 (1853 views)
Permalink
Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

My browser tells me that "It Works!" but it took a couple days of banging my head against the wall. I encountered the following rough spots and eventually stumbled over their solutions as noted:


1) No libpcre
This is a pre-requisite for httpd, I did not have it. I downloaded version 8.30 from www.pcre.org<http://www.pcre.org>. The configure script ran OK, but the make failed with errors about libgcc missing, even though 'rpm -aq' indicated it was present. It was necessary to remove all the gcc, g++, and libstdc packages via 'rpm -e', and then install them again in the following order:

libgcc-4.2.0-3.aix6.1.ppc.rpm
libstdcplusplus-4.2.0-3.aix6.1.ppc.rpm
libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm
gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm

These packages are all downloadable at:

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

My 'rpm -aq' listing now includes:

libgcc-4.2.0-3
gcc-4.2.0-3
libstdc++-4.2.0-3
gcc-c++-4.2.0-3
libstdc++-devel-4.2.0-3

But I did NOT install any separate gcc-4.2.0-3 RPM, I think it just came along with the gcc-c++ package. Originally I had installed a separate gcc package, and I think that messed up the interface with libgcc.


2) Apache 'make install' fails with "install: File mod_authn_file.so was not found."



This issue is discussed at length on the mailing list archives at:



http://mail-archives.apache.org/mod_mbox/httpd-dev/201202.mbox/%3CCAN9c_NSp8D9ifhb0FgSmfyKHqfQSFrmwuj+5przNZpqmp7v=zg [at] mail%3E



but I did not see a resolution for it. Recommendations for work-arounds included compiling and installing the apache "apr" sopftware as a separate package, using an explicitly declared destination directory when running "make install", and some other suggestions that I did not understand. None of them worked for me.



Instead, what make the install work for me was a suggestion from the README in the build/aix subdirectory. The scripts there are supposed to build an AIX installp package for apache. I didn't try it, but they said that libtool did not work well with the AIX 'install' program, and to use the GNU one instead. I already had the GNU coreutils installed (also available from the above IBM site), so I set the PATH so that 'which install' returned /opt/freeware/bin/install.



After this, 'make install' ran just fine, and httpd runs for me and serves out the test page. I had already separated out the 'apr' stuff and installed it in /usr/local/apr and compiled apache separately, but out of curiosity I started over again, unpacking both httpd and httpd-deps into the same directory and running 'configure' with the "-with-included-apr" option, and that installed and runs just fine, too!



George




_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


covener at gmail

May 30, 2012, 10:57 AM

Post #2 of 15 (1777 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal> wrote:
> My browser tells me that “It Works!”  but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


mamfelt at gmail

Jun 12, 2012, 2:17 PM

Post #3 of 15 (1716 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

There are some "more recent" gcc builds for AIX available via:
http://www.perzl.org/aix/index.php?n=Main.Gcc

*Current versions:*

- AIX5L V5.1: v4.5.3-2
- AIX5L V5.2: v4.6.3-2
- AIX5L V5.3: v4.6.3-2
- AIX V6.1: v4.6.3-2
- AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be
installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you
use the buildaix.ksh script (in ./build/aix directory). The result is (is
suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail> wrote:

> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
> <George.Reimer [at] fisglobal> wrote:
> > My browser tells me that “It Works!” but it took a couple days of
> banging
> > my head against the wall. I encountered the following rough spots and
> > eventually stumbled over their solutions as noted:
>
> can you share your gcc experience here in the wiki:
>
> http://wiki.apache.org/httpd/AIXPlatform
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>


Brian.Gaber at tpsgc-pwgsc

Jun 13, 2012, 6:16 AM

Post #4 of 15 (1737 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>


mamfelt at gmail

Jun 13, 2012, 10:44 AM

Post #5 of 15 (1733 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must
compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if
those have made it into trunk yet. I can send them seperately if
interested. With apr and apr-util separate the httpd config and build goes
much faster.

On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber
<Brian.Gaber [at] tpsgc-pwgsc>wrote:

> **
> Michael,
>
> I will try your buildaix.ksh script. I have been using IBM's compiler
> (xlc, cc_r, cc).
>
> On related question, Have you successfully compiled PHP against
> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
> at some point. Against Apache 2.2.x I have not problem compiling PHP.
>
> Cheers.
>
> Brian
>
> ------------------------------
> *From:* Michael Felt [mailto:mamfelt [at] gmail]
> *Sent:* Tuesday, June 12, 2012 5:17 PM
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++
>
> There are some "more recent" gcc builds for AIX available via:
> http://www.perzl.org/aix/index.php?n=Main.Gcc
>
> *Current versions:*
>
> - AIX5L V5.1: v4.5.3-2
> - AIX5L V5.2: v4.6.3-2
> - AIX5L V5.3: v4.6.3-2
> - AIX V6.1: v4.6.3-2
> - AIX V7.1: v4.6.3-2
>
> RPM's being what they are - there are several packages that need to be
> installed as mentioned above.
>
> And, I would be very interested in hearing what your experiences are if
> you use the buildaix.ksh script (in ./build/aix directory). The result is
> (is suppossed to be) an installp installable file in build/aix.
>
> Regards,
> Michael
>
> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail> wrote:
>
>> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
>> <George.Reimer [at] fisglobal> wrote:
>> > My browser tells me that “It Works!” but it took a couple days of
>> banging
>> > my head against the wall. I encountered the following rough spots and
>> > eventually stumbled over their solutions as noted:
>>
>> can you share your gcc experience here in the wiki:
>>
>> http://wiki.apache.org/httpd/AIXPlatform
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>> For additional commands, e-mail: users-help [at] httpd
>>
>>
>


mamfelt at gmail

Jun 13, 2012, 10:45 AM

Post #6 of 15 (1722 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

forgot to mention: no have not tried to compile php against 2.4.x yet. Will
setup a test machine soon to try.

On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail> wrote:

> I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.
>
> The important thing I noticed is that if you compile apr with gcc you must
> compile httpd with gcc as well, and v.v.
> Noone noticed when they were "bundled" I expect.
>
> I also have a buildaix.ksh for both apr and apr-util, but I do not know if
> those have made it into trunk yet. I can send them seperately if
> interested. With apr and apr-util separate the httpd config and build goes
> much faster.
>
>
> On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <
> Brian.Gaber [at] tpsgc-pwgsc> wrote:
>
>> **
>> Michael,
>>
>> I will try your buildaix.ksh script. I have been using IBM's
>> compiler (xlc, cc_r, cc).
>>
>> On related question, Have you successfully compiled PHP against
>> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
>> at some point. Against Apache 2.2.x I have not problem compiling PHP.
>>
>> Cheers.
>>
>> Brian
>>
>> ------------------------------
>> *From:* Michael Felt [mailto:mamfelt [at] gmail]
>> *Sent:* Tuesday, June 12, 2012 5:17 PM
>> *To:* users [at] httpd
>> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
>> with gcc/g++
>>
>> There are some "more recent" gcc builds for AIX available via:
>> http://www.perzl.org/aix/index.php?n=Main.Gcc
>>
>> *Current versions:*
>>
>> - AIX5L V5.1: v4.5.3-2
>> - AIX5L V5.2: v4.6.3-2
>> - AIX5L V5.3: v4.6.3-2
>> - AIX V6.1: v4.6.3-2
>> - AIX V7.1: v4.6.3-2
>>
>> RPM's being what they are - there are several packages that need to be
>> installed as mentioned above.
>>
>> And, I would be very interested in hearing what your experiences are if
>> you use the buildaix.ksh script (in ./build/aix directory). The result is
>> (is suppossed to be) an installp installable file in build/aix.
>>
>> Regards,
>> Michael
>>
>> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail> wrote:
>>
>>> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
>>> <George.Reimer [at] fisglobal> wrote:
>>> > My browser tells me that “It Works!” but it took a couple days of
>>> banging
>>> > my head against the wall. I encountered the following rough spots and
>>> > eventually stumbled over their solutions as noted:
>>>
>>> can you share your gcc experience here in the wiki:
>>>
>>> http://wiki.apache.org/httpd/AIXPlatform
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>>> For additional commands, e-mail: users-help [at] httpd
>>>
>>>
>>
>


mamfelt at gmail

Jun 13, 2012, 12:58 PM

Post #7 of 15 (1728 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

started with php build. 1st real error is a syntax error in the embedded
sqlite.

After building an external version of sqlite (3.6.22 was the last one I had
downloaded, haven not looked for a new one) I am stopping for the night.
Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be
included. By default most of these are not
being found. my approach will be to get php tp compile with minimal
arguments to ./configure and then add extra statements as needed.

Michael

On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail> wrote:

> forgot to mention: no have not tried to compile php against 2.4.x yet.
> Will setup a test machine soon to try.
>
>
> On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail> wrote:
>
>> I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.
>>
>> The important thing I noticed is that if you compile apr with gcc you
>> must compile httpd with gcc as well, and v.v.
>> Noone noticed when they were "bundled" I expect.
>>
>> I also have a buildaix.ksh for both apr and apr-util, but I do not know
>> if those have made it into trunk yet. I can send them seperately if
>> interested. With apr and apr-util separate the httpd config and build goes
>> much faster.
>>
>>
>> On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <
>> Brian.Gaber [at] tpsgc-pwgsc> wrote:
>>
>>> **
>>> Michael,
>>>
>>> I will try your buildaix.ksh script. I have been using IBM's
>>> compiler (xlc, cc_r, cc).
>>>
>>> On related question, Have you successfully compiled PHP against
>>> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
>>> at some point. Against Apache 2.2.x I have not problem compiling PHP.
>>>
>>> Cheers.
>>>
>>> Brian
>>>
>>> ------------------------------
>>> *From:* Michael Felt [mailto:mamfelt [at] gmail]
>>> *Sent:* Tuesday, June 12, 2012 5:17 PM
>>> *To:* users [at] httpd
>>> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX
>>> 6.1 with gcc/g++
>>>
>>> There are some "more recent" gcc builds for AIX available via:
>>> http://www.perzl.org/aix/index.php?n=Main.Gcc
>>>
>>> *Current versions:*
>>>
>>> - AIX5L V5.1: v4.5.3-2
>>> - AIX5L V5.2: v4.6.3-2
>>> - AIX5L V5.3: v4.6.3-2
>>> - AIX V6.1: v4.6.3-2
>>> - AIX V7.1: v4.6.3-2
>>>
>>> RPM's being what they are - there are several packages that need to be
>>> installed as mentioned above.
>>>
>>> And, I would be very interested in hearing what your experiences are if
>>> you use the buildaix.ksh script (in ./build/aix directory). The result is
>>> (is suppossed to be) an installp installable file in build/aix.
>>>
>>> Regards,
>>> Michael
>>>
>>> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail> wrote:
>>>
>>>> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
>>>> <George.Reimer [at] fisglobal> wrote:
>>>> > My browser tells me that “It Works!” but it took a couple days of
>>>> banging
>>>> > my head against the wall. I encountered the following rough spots and
>>>> > eventually stumbled over their solutions as noted:
>>>>
>>>> can you share your gcc experience here in the wiki:
>>>>
>>>> http://wiki.apache.org/httpd/AIXPlatform
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>>>> For additional commands, e-mail: users-help [at] httpd
>>>>
>>>>
>>>
>>
>


Brian.Gaber at tpsgc-pwgsc

Jun 14, 2012, 6:03 AM

Post #8 of 15 (1721 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

Michael,

Here is the configure that I used:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware

Thanks.

Brian
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Wednesday, June 13, 2012 3:58 PM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

started with php build. 1st real error is a syntax error in the embedded sqlite.

After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be included. By default most of these are not
being found. my approach will be to get php tp compile with minimal arguments to ./configure and then add extra statements as needed.

Michael

On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try.


On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if those have made it into trunk yet. I can send them seperately if interested. With apr and apr-util separate the httpd config and build goes much faster.


On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>


mamfelt at gmail

Jun 14, 2012, 8:52 AM

Post #9 of 15 (1712 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

Now I need to see if I actually put everything needed in ./build/aix/README
for httpd.

Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I
am trying to be independent of "old" RPM's). A secondary goal is that the
installp packages built are suitable for installation in WPAR (hosting)
environments.

Next - I started with a clean installation (AIX 5.3 TL7 first, working
mainly with AIX 6.1 now) and "added" things as needed.

For zlib - what is needed is to copy zlib.h, and I think there is another
zlib related include file as well. -- copy to /usr/include, or /opt/include

For apr and apr-util I added build/aix/* files - I'll send copies if you
like. An independent tester who finds them sucessful may help get them
accepted to apr and apr-util trunks.

For the other packages that are needed - I wrote a buildaix package that
you can download via
http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/

If you add /opt/bin to your PATH the command /opt/bin/buildaix will run the
./configure command with some defaults - basically - prefix is /opt,
mandir=/usr/share/man, and confdir is /etc (and another one is /var, I
forget it's name atm).

I choose /opt as, imho, a better generic prefix for AIX - where /usr/local
just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt
might fix a lot of things that break with "./configure" commands that only
look at /usr and /usr/local by default - but this is an aside".

Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if
possible) - instead

download and build fresh using buildaix -- /opt, /etc, /var and
/usr/share/man as default destinations

For httpd: customized version of build/aix/* for apr-util in any case
(buildaix could be used for apr, but I have a seperate set of files for
that package as well)

So, e.g., coreutils I built and installed using buildaix, same for pcre and
any other required external package.

Thus, with php, I started with buildaix.

libxml2 was missing so the basic step was:
root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
....
installp -d . aixtools.libxml2.rte
....
aixtools.libxml2.rte 2.7.7.0 USR APPLY
SUCCESS

Added /opt to list of directories to search in configure to look for
xml2-config
LINE 21865

And configure completes.

I also got an Syntax errors with embedded sqlite so I compiled an external
version. However, php continues to try to compile that.

Maybe you can help me beyond this point:

michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
#!/usr/bin/ksh

set -x

./configure \
--prefix=/opt \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libdir=/opt/lib \
--with-sqlite3=/opt \
> build/aix/configure.out

Now that configure has finished (there is a makefile) I can use buildaix
again (it skips the ./configure step if it sees a Makefile)

root [at] x10:[/data/prj/php-5.3.13]buildaix
NAME: php
VERSION.RELEASE: 5.3.13.0
/usr/bin/buildaix: using existing Makefile
/usr/bin/buildaix: run make distclean to get a standard AIX configure

-rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
-rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
-rw------- 1 michael staff 44892 May 8 11:22 config.guess
-rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
-rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
-rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
-rw------- 1 michael staff 33387 May 8 11:22 config.sub

+ make > build/aix/make.out
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S)
Syntax error.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S)
Undeclared identifier i.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S)
Undeclared identifier or.
make: 1254-004 The error code from the last command is 1.


Stop.

I hope this is not too lengthy - but I am anxious/curious about what I am
doing wrong - that make continues to try to compile the embedded sqlite
when it has an external one.

On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber
<Brian.Gaber [at] tpsgc-pwgsc>wrote:

> **
> Michael,
>
> Here is the configure that I used:
>
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> --with-mysql=/usr/local/mysql \
> --with-libxml-dir=/opt/freeware \
> --with-zlib-dir=/opt/freeware
>
> Thanks.
>
> Brian
> ------------------------------
> *From:* Michael Felt [mailto:mamfelt [at] gmail]
> *Sent:* Wednesday, June 13, 2012 3:58 PM
>
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++
>
> started with php build. 1st real error is a syntax error in the embedded
> sqlite.
>
> After building an external version of sqlite (3.6.22 was the last one I
> had downloaded, haven not looked for a new one) I am stopping for the
> night. Will keep posted.
>
> Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to
> be included. By default most of these are not
> being found. my approach will be to get php tp compile with minimal
> arguments to ./configure and then add extra statements as needed.
>
> Michael
>
> On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail> wrote:
>
>> forgot to mention: no have not tried to compile php against 2.4.x yet.
>> Will setup a test machine soon to try.
>>
>>
>> On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail> wrote:
>>
>>> I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.
>>>
>>> The important thing I noticed is that if you compile apr with gcc you
>>> must compile httpd with gcc as well, and v.v.
>>> Noone noticed when they were "bundled" I expect.
>>>
>>> I also have a buildaix.ksh for both apr and apr-util, but I do not know
>>> if those have made it into trunk yet. I can send them seperately if
>>> interested. With apr and apr-util separate the httpd config and build goes
>>> much faster.
>>>
>>>
>>> On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <
>>> Brian.Gaber [at] tpsgc-pwgsc> wrote:
>>>
>>>> **
>>>> Michael,
>>>>
>>>> I will try your buildaix.ksh script. I have been using IBM's
>>>> compiler (xlc, cc_r, cc).
>>>>
>>>> On related question, Have you successfully compiled PHP against
>>>> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
>>>> at some point. Against Apache 2.2.x I have not problem compiling PHP.
>>>>
>>>> Cheers.
>>>>
>>>> Brian
>>>>
>>>> ------------------------------
>>>> *From:* Michael Felt [mailto:mamfelt [at] gmail]
>>>> *Sent:* Tuesday, June 12, 2012 5:17 PM
>>>> *To:* users [at] httpd
>>>> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX
>>>> 6.1 with gcc/g++
>>>>
>>>> There are some "more recent" gcc builds for AIX available via:
>>>> http://www.perzl.org/aix/index.php?n=Main.Gcc
>>>>
>>>> *Current versions:*
>>>>
>>>> - AIX5L V5.1: v4.5.3-2
>>>> - AIX5L V5.2: v4.6.3-2
>>>> - AIX5L V5.3: v4.6.3-2
>>>> - AIX V6.1: v4.6.3-2
>>>> - AIX V7.1: v4.6.3-2
>>>>
>>>> RPM's being what they are - there are several packages that need to be
>>>> installed as mentioned above.
>>>>
>>>> And, I would be very interested in hearing what your experiences are if
>>>> you use the buildaix.ksh script (in ./build/aix directory). The result is
>>>> (is suppossed to be) an installp installable file in build/aix.
>>>>
>>>> Regards,
>>>> Michael
>>>>
>>>> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail>wrote:
>>>>
>>>>> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
>>>>> <George.Reimer [at] fisglobal> wrote:
>>>>> > My browser tells me that “It Works!” but it took a couple days of
>>>>> banging
>>>>> > my head against the wall. I encountered the following rough spots and
>>>>> > eventually stumbled over their solutions as noted:
>>>>>
>>>>> can you share your gcc experience here in the wiki:
>>>>>
>>>>> http://wiki.apache.org/httpd/AIXPlatform
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>>>>> For additional commands, e-mail: users-help [at] httpd
>>>>>
>>>>>
>>>>
>>>
>>
>


Brian.Gaber at tpsgc-pwgsc

Jun 14, 2012, 10:30 AM

Post #10 of 15 (1710 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

I was getting errors with sqlite also so I added these two configure directives:

--without-pdo-sqlite
--without-sqlite

This got me past the sqlite problem.


________________________________
From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Thursday, June 14, 2012 11:52 AM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

Now I need to see if I actually put everything needed in ./build/aix/README for httpd.

Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I am trying to be independent of "old" RPM's). A secondary goal is that the installp packages built are suitable for installation in WPAR (hosting) environments.

Next - I started with a clean installation (AIX 5.3 TL7 first, working mainly with AIX 6.1 now) and "added" things as needed.

For zlib - what is needed is to copy zlib.h, and I think there is another zlib related include file as well. -- copy to /usr/include, or /opt/include

For apr and apr-util I added build/aix/* files - I'll send copies if you like. An independent tester who finds them sucessful may help get them accepted to apr and apr-util trunks.

For the other packages that are needed - I wrote a buildaix package that you can download via http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/

If you add /opt/bin to your PATH the command /opt/bin/buildaix will run the ./configure command with some defaults - basically - prefix is /opt, mandir=/usr/share/man, and confdir is /etc (and another one is /var, I forget it's name atm).

I choose /opt as, imho, a better generic prefix for AIX - where /usr/local just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt might fix a lot of things that break with "./configure" commands that only look at /usr and /usr/local by default - but this is an aside".

Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if possible) - instead

download and build fresh using buildaix -- /opt, /etc, /var and /usr/share/man as default destinations

For httpd: customized version of build/aix/* for apr-util in any case (buildaix could be used for apr, but I have a seperate set of files for that package as well)

So, e.g., coreutils I built and installed using buildaix, same for pcre and any other required external package.

Thus, with php, I started with buildaix.

libxml2 was missing so the basic step was:
root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
....
installp -d . aixtools.libxml2.rte
....
aixtools.libxml2.rte 2.7.7.0 USR APPLY SUCCESS

Added /opt to list of directories to search in configure to look for xml2-config
LINE 21865

And configure completes.

I also got an Syntax errors with embedded sqlite so I compiled an external version. However, php continues to try to compile that.

Maybe you can help me beyond this point:

michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
#!/usr/bin/ksh

set -x

./configure \
--prefix=/opt \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libdir=/opt/lib \
--with-sqlite3=/opt \
> build/aix/configure.out

Now that configure has finished (there is a makefile) I can use buildaix again (it skips the ./configure step if it sees a Makefile)

root [at] x10:[/data/prj/php-5.3.13]buildaix
NAME: php
VERSION.RELEASE: 5.3.13.0
/usr/bin/buildaix: using existing Makefile
/usr/bin/buildaix: run make distclean to get a standard AIX configure

-rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
-rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
-rw------- 1 michael staff 44892 May 8 11:22 config.guess
-rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
-rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
-rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
-rw------- 1 michael staff 33387 May 8 11:22 config.sub

+ make > build/aix/make.out
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S) Syntax error.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S) Undeclared identifier i.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S) Undeclared identifier or.
make: 1254-004 The error code from the last command is 1.


Stop.

I hope this is not too lengthy - but I am anxious/curious about what I am doing wrong - that make continues to try to compile the embedded sqlite when it has an external one.

On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

Here is the configure that I used:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware

Thanks.

Brian
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Wednesday, June 13, 2012 3:58 PM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

started with php build. 1st real error is a syntax error in the embedded sqlite.

After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be included. By default most of these are not
being found. my approach will be to get php tp compile with minimal arguments to ./configure and then add extra statements as needed.

Michael

On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try.


On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if those have made it into trunk yet. I can send them seperately if interested. With apr and apr-util separate the httpd config and build goes much faster.


On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>


mamfelt at gmail

Jun 14, 2012, 2:37 PM

Post #11 of 15 (1700 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

I have gotten it to compile (5.3.14) - and what I needed to add for the IBM
compiler was -qlangval=extc99 so that it would accept c++ like comments
(starting with //)

The other problem I have, and it is an "old" one, is that the AIX make (or
maybe the ksh) does not execute the $(BUILD_CLI) argument to build
sapi/cli/php. After editing Makefile, and making sure that "#! ." is not
the first line of php.sym it completes building.

Anyway, now I need to try a default to "add everything" and see what extras
need to be built. And also try 5.4.4

On Thu, Jun 14, 2012 at 7:30 PM, Brian Gaber
<Brian.Gaber [at] tpsgc-pwgsc>wrote:

> **
> I was getting errors with sqlite also so I added these two configure
> directives:
>
> --without-pdo-sqlite
> --without-sqlite
>
> This got me past the sqlite problem.
>
>
> ------------------------------
> *From:* Michael Felt [mailto:mamfelt [at] gmail]
> *Sent:* Thursday, June 14, 2012 11:52 AM
>
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++
>
> Now I need to see if I actually put everything needed in
> ./build/aix/README for httpd.
>
> Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I
> am trying to be independent of "old" RPM's). A secondary goal is that the
> installp packages built are suitable for installation in WPAR (hosting)
> environments.
>
> Next - I started with a clean installation (AIX 5.3 TL7 first, working
> mainly with AIX 6.1 now) and "added" things as needed.
>
> For zlib - what is needed is to copy zlib.h, and I think there is another
> zlib related include file as well. -- copy to /usr/include, or /opt/include
>
> For apr and apr-util I added build/aix/* files - I'll send copies if you
> like. An independent tester who finds them sucessful may help get them
> accepted to apr and apr-util trunks.
>
> For the other packages that are needed - I wrote a buildaix package that
> you can download via
> http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/
>
> If you add /opt/bin to your PATH the command /opt/bin/buildaix will run
> the ./configure command with some defaults - basically - prefix is /opt,
> mandir=/usr/share/man, and confdir is /etc (and another one is /var, I
> forget it's name atm).
>
> I choose /opt as, imho, a better generic prefix for AIX - where /usr/local
> just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt
> might fix a lot of things that break with "./configure" commands that only
> look at /usr and /usr/local by default - but this is an aside".
>
> Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if
> possible) - instead
>
> download and build fresh using buildaix -- /opt, /etc, /var and
> /usr/share/man as default destinations
>
> For httpd: customized version of build/aix/* for apr-util in any case
> (buildaix could be used for apr, but I have a seperate set of files for
> that package as well)
>
> So, e.g., coreutils I built and installed using buildaix, same for pcre
> and any other required external package.
>
> Thus, with php, I started with buildaix.
>
> libxml2 was missing so the basic step was:
> root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
> ....
> installp -d . aixtools.libxml2.rte
> ....
> aixtools.libxml2.rte 2.7.7.0 USR APPLY
> SUCCESS
>
> Added /opt to list of directories to search in configure to look for
> xml2-config
> LINE 21865
>
> And configure completes.
>
> I also got an Syntax errors with embedded sqlite so I compiled an external
> version. However, php continues to try to compile that.
>
> Maybe you can help me beyond this point:
>
> michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
> #!/usr/bin/ksh
>
> set -x
>
> ./configure \
> --prefix=/opt \
> --sysconfdir=/etc \
> --mandir=/usr/share/man \
> --with-libdir=/opt/lib \
> --with-sqlite3=/opt \
> > build/aix/configure.out
>
> Now that configure has finished (there is a makefile) I can use buildaix
> again (it skips the ./configure step if it sees a Makefile)
>
> root [at] x10:[/data/prj/php-5.3.13]buildaix
> NAME: php
> VERSION.RELEASE: 5.3.13.0
> /usr/bin/buildaix: using existing Makefile
> /usr/bin/buildaix: run make distclean to get a standard AIX configure
>
> -rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
> -rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
> -rw------- 1 michael staff 44892 May 8 11:22 config.guess
> -rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
> -rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
> -rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
> -rw------- 1 michael staff 33387 May 8 11:22 config.sub
>
> + make > build/aix/make.out
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S)
> Syntax error.
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S)
> Undeclared identifier i.
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S)
> Syntax error: possible missing ';' or ','?
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S)
> Undeclared identifier or.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> I hope this is not too lengthy - but I am anxious/curious about what I am
> doing wrong - that make continues to try to compile the embedded sqlite
> when it has an external one.
>
> On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <
> Brian.Gaber [at] tpsgc-pwgsc> wrote:
>
>> **
>> Michael,
>>
>> Here is the configure that I used:
>>
>> ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
>> --with-mysql=/usr/local/mysql \
>> --with-libxml-dir=/opt/freeware \
>> --with-zlib-dir=/opt/freeware
>>
>> Thanks.
>>
>> Brian
>> ------------------------------
>> *From:* Michael Felt [mailto:mamfelt [at] gmail]
>> *Sent:* Wednesday, June 13, 2012 3:58 PM
>>
>> *To:* users [at] httpd
>> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
>> with gcc/g++
>>
>> started with php build. 1st real error is a syntax error in the
>> embedded sqlite.
>>
>> After building an external version of sqlite (3.6.22 was the last one I
>> had downloaded, haven not looked for a new one) I am stopping for the
>> night. Will keep posted.
>>
>> Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to
>> be included. By default most of these are not
>> being found. my approach will be to get php tp compile with minimal
>> arguments to ./configure and then add extra statements as needed.
>>
>> Michael
>>
>> On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail> wrote:
>>
>>> forgot to mention: no have not tried to compile php against 2.4.x yet.
>>> Will setup a test machine soon to try.
>>>
>>>
>>> On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail> wrote:
>>>
>>>> I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.
>>>>
>>>> The important thing I noticed is that if you compile apr with gcc you
>>>> must compile httpd with gcc as well, and v.v.
>>>> Noone noticed when they were "bundled" I expect.
>>>>
>>>> I also have a buildaix.ksh for both apr and apr-util, but I do not know
>>>> if those have made it into trunk yet. I can send them seperately if
>>>> interested. With apr and apr-util separate the httpd config and build goes
>>>> much faster.
>>>>
>>>>
>>>> On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <
>>>> Brian.Gaber [at] tpsgc-pwgsc> wrote:
>>>>
>>>>> **
>>>>> Michael,
>>>>>
>>>>> I will try your buildaix.ksh script. I have been using IBM's
>>>>> compiler (xlc, cc_r, cc).
>>>>>
>>>>> On related question, Have you successfully compiled PHP against
>>>>> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
>>>>> at some point. Against Apache 2.2.x I have not problem compiling PHP.
>>>>>
>>>>> Cheers.
>>>>>
>>>>> Brian
>>>>>
>>>>> ------------------------------
>>>>> *From:* Michael Felt [mailto:mamfelt [at] gmail]
>>>>> *Sent:* Tuesday, June 12, 2012 5:17 PM
>>>>> *To:* users [at] httpd
>>>>> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX
>>>>> 6.1 with gcc/g++
>>>>>
>>>>> There are some "more recent" gcc builds for AIX available via:
>>>>> http://www.perzl.org/aix/index.php?n=Main.Gcc
>>>>>
>>>>> *Current versions:*
>>>>>
>>>>> - AIX5L V5.1: v4.5.3-2
>>>>> - AIX5L V5.2: v4.6.3-2
>>>>> - AIX5L V5.3: v4.6.3-2
>>>>> - AIX V6.1: v4.6.3-2
>>>>> - AIX V7.1: v4.6.3-2
>>>>>
>>>>> RPM's being what they are - there are several packages that need to be
>>>>> installed as mentioned above.
>>>>>
>>>>> And, I would be very interested in hearing what your experiences are
>>>>> if you use the buildaix.ksh script (in ./build/aix directory). The result
>>>>> is (is suppossed to be) an installp installable file in build/aix.
>>>>>
>>>>> Regards,
>>>>> Michael
>>>>>
>>>>> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail>wrote:
>>>>>
>>>>>> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
>>>>>> <George.Reimer [at] fisglobal> wrote:
>>>>>> > My browser tells me that “It Works!” but it took a couple days of
>>>>>> banging
>>>>>> > my head against the wall. I encountered the following rough spots
>>>>>> and
>>>>>> > eventually stumbled over their solutions as noted:
>>>>>>
>>>>>> can you share your gcc experience here in the wiki:
>>>>>>
>>>>>> http://wiki.apache.org/httpd/AIXPlatform
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe [at] httpd
>>>>>> For additional commands, e-mail: users-help [at] httpd
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Bennett.Tony at con-way

Jun 14, 2012, 3:11 PM

Post #12 of 15 (1700 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

RE: what I needed to add for the IBM compiler was -qlangval=extc99 so that it would accept c++ like comments

You can give xlc this argument to allow C++ comments:
-qcpluscmt



From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Thursday, June 14, 2012 2:38 PM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

I have gotten it to compile (5.3.14) - and what I needed to add for the IBM compiler was -qlangval=extc99 so that it would accept c++ like comments (starting with //)

The other problem I have, and it is an "old" one, is that the AIX make (or maybe the ksh) does not execute the $(BUILD_CLI) argument to build sapi/cli/php. After editing Makefile, and making sure that "#! ." is not the first line of php.sym it completes building.

Anyway, now I need to try a default to "add everything" and see what extras need to be built. And also try 5.4.4
On Thu, Jun 14, 2012 at 7:30 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
I was getting errors with sqlite also so I added these two configure directives:

--without-pdo-sqlite
--without-sqlite

This got me past the sqlite problem.


________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Thursday, June 14, 2012 11:52 AM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

Now I need to see if I actually put everything needed in ./build/aix/README for httpd.

Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I am trying to be independent of "old" RPM's). A secondary goal is that the installp packages built are suitable for installation in WPAR (hosting) environments.

Next - I started with a clean installation (AIX 5.3 TL7 first, working mainly with AIX 6.1 now) and "added" things as needed.

For zlib - what is needed is to copy zlib.h, and I think there is another zlib related include file as well. -- copy to /usr/include, or /opt/include

For apr and apr-util I added build/aix/* files - I'll send copies if you like. An independent tester who finds them sucessful may help get them accepted to apr and apr-util trunks.

For the other packages that are needed - I wrote a buildaix package that you can download via http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/

If you add /opt/bin to your PATH the command /opt/bin/buildaix will run the ./configure command with some defaults - basically - prefix is /opt, mandir=/usr/share/man, and confdir is /etc (and another one is /var, I forget it's name atm).

I choose /opt as, imho, a better generic prefix for AIX - where /usr/local just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt might fix a lot of things that break with "./configure" commands that only look at /usr and /usr/local by default - but this is an aside".

Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if possible) - instead

download and build fresh using buildaix -- /opt, /etc, /var and /usr/share/man as default destinations

For httpd: customized version of build/aix/* for apr-util in any case (buildaix could be used for apr, but I have a seperate set of files for that package as well)

So, e.g., coreutils I built and installed using buildaix, same for pcre and any other required external package.

Thus, with php, I started with buildaix.

libxml2 was missing so the basic step was:
root [at] x10:[/data/prj/libxml2-2.7.7]buildaix<mailto:root [at] x10:[./data/prj/libxml2-2.7.7%5dbuildaix>
....
installp -d . aixtools.libxml2.rte
....
aixtools.libxml2.rte 2.7.7.0 USR APPLY SUCCESS

Added /opt to list of directories to search in configure to look for xml2-config
LINE 21865

And configure completes.

I also got an Syntax errors with embedded sqlite so I compiled an external version. However, php continues to try to compile that.

Maybe you can help me beyond this point:

michael [at] x05:[/data/prj/php-5.3.13]cat<mailto:michael [at] x05:[/data/prj/php-5.3.13%5dcat> php_configure.ksh
#!/usr/bin/ksh

set -x

./configure \
--prefix=/opt \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libdir=/opt/lib \
--with-sqlite3=/opt \
> build/aix/configure.out

Now that configure has finished (there is a makefile) I can use buildaix again (it skips the ./configure step if it sees a Makefile)

root [at] x10:[/data/prj/php-5.3.13]buildaix<mailto:root [at] x10:[./data/prj/php-5.3.13%5dbuildaix>
NAME: php
VERSION.RELEASE: 5.3.13.0
/usr/bin/buildaix: using existing Makefile
/usr/bin/buildaix: run make distclean to get a standard AIX configure

-rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
-rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
-rw------- 1 michael staff 44892 May 8 11:22 config.guess
-rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
-rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
-rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
-rw------- 1 michael staff 33387 May 8 11:22 config.sub

+ make > build/aix/make.out
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S) Syntax error.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S) Undeclared identifier i.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S) Undeclared identifier or.
make: 1254-004 The error code from the last command is 1.


Stop.

I hope this is not too lengthy - but I am anxious/curious about what I am doing wrong - that make continues to try to compile the embedded sqlite when it has an external one.
On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

Here is the configure that I used:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware

Thanks.

Brian
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Wednesday, June 13, 2012 3:58 PM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

started with php build. 1st real error is a syntax error in the embedded sqlite.

After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be included. By default most of these are not
being found. my approach will be to get php tp compile with minimal arguments to ./configure and then add extra statements as needed.

Michael
On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try.

On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if those have made it into trunk yet. I can send them seperately if interested. With apr and apr-util separate the httpd config and build goes much faster.

On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++
There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2
RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael
On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:
can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>


mamfelt at gmail

Jun 17, 2012, 9:35 AM

Post #13 of 15 (1668 views)
Permalink
Re: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

There was a short discussion some time back (in dev) about whether to
commit to c89 or c99 syntax. The c++ comments slip in from time to time -
and note it is in php that the c++ comments are giving the problem. Apache
is "clean" and compiles fine against cc defaults (i.e. c89 syntax).

On Fri, Jun 15, 2012 at 12:11 AM, Bennett, Tony <Bennett.Tony [at] con-way>wrote:

> RE: what I needed to add for the IBM compiler was -qlangval=extc99 so
> that it would accept c++ like comments****
>
> ** **
>
> You can give xlc this argument to allow C++ comments: ****
>
> -qcpluscmt****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Michael Felt [mailto:mamfelt [at] gmail]
> *Sent:* Thursday, June 14, 2012 2:38 PM
>
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++****
>
> ** **
>
> I have gotten it to compile (5.3.14) - and what I needed to add for the
> IBM compiler was -qlangval=extc99 so that it would accept c++ like comments
> (starting with //)
>
> The other problem I have, and it is an "old" one, is that the AIX make (or
> maybe the ksh) does not execute the $(BUILD_CLI) argument to build
> sapi/cli/php. After editing Makefile, and making sure that "#! ." is not
> the first line of php.sym it completes building.
>
> Anyway, now I need to try a default to "add everything" and see what
> extras need to be built. And also try 5.4.4****
>
> On Thu, Jun 14, 2012 at 7:30 PM, Brian Gaber <
> Brian.Gaber [at] tpsgc-pwgsc> wrote:****
>
> I was getting errors with sqlite also so I added these two configure
> directives:****
>
> ****
>
> --without-pdo-sqlite****
>
> --without-sqlite****
>
> ****
>
> This got me past the sqlite problem.****
>
> ****
>
> ** **
> ------------------------------
>
> *From:* Michael Felt [mailto:mamfelt [at] gmail] ****
>
> *Sent:* Thursday, June 14, 2012 11:52 AM****
>
>
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++****
>
> ** **
>
> Now I need to see if I actually put everything needed in
> ./build/aix/README for httpd.
>
> Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I
> am trying to be independent of "old" RPM's). A secondary goal is that the
> installp packages built are suitable for installation in WPAR (hosting)
> environments.
>
> Next - I started with a clean installation (AIX 5.3 TL7 first, working
> mainly with AIX 6.1 now) and "added" things as needed.
>
> For zlib - what is needed is to copy zlib.h, and I think there is another
> zlib related include file as well. -- copy to /usr/include, or /opt/include
>
> For apr and apr-util I added build/aix/* files - I'll send copies if you
> like. An independent tester who finds them sucessful may help get them
> accepted to apr and apr-util trunks.
>
> For the other packages that are needed - I wrote a buildaix package that
> you can download via
> http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/
>
> If you add /opt/bin to your PATH the command /opt/bin/buildaix will run
> the ./configure command with some defaults - basically - prefix is /opt,
> mandir=/usr/share/man, and confdir is /etc (and another one is /var, I
> forget it's name atm).
>
> I choose /opt as, imho, a better generic prefix for AIX - where /usr/local
> just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt
> might fix a lot of things that break with "./configure" commands that only
> look at /usr and /usr/local by default - but this is an aside".
>
> Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if
> possible) - instead
>
> download and build fresh using buildaix -- /opt, /etc, /var and
> /usr/share/man as default destinations
>
> For httpd: customized version of build/aix/* for apr-util in any case
> (buildaix could be used for apr, but I have a seperate set of files for
> that package as well)
>
> So, e.g., coreutils I built and installed using buildaix, same for pcre
> and any other required external package.
>
> Thus, with php, I started with buildaix.
>
> libxml2 was missing so the basic step was:
> root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
> ....
> installp -d . aixtools.libxml2.rte
> ....
> aixtools.libxml2.rte 2.7.7.0 USR APPLY
> SUCCESS
>
> Added /opt to list of directories to search in configure to look for
> xml2-config
> LINE 21865
>
> And configure completes.
>
> I also got an Syntax errors with embedded sqlite so I compiled an external
> version. However, php continues to try to compile that.
>
> Maybe you can help me beyond this point:
>
> michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
> #!/usr/bin/ksh
>
> set -x
>
> ./configure \
> --prefix=/opt \
> --sysconfdir=/etc \
> --mandir=/usr/share/man \
> --with-libdir=/opt/lib \
> --with-sqlite3=/opt \
> > build/aix/configure.out
>
> Now that configure has finished (there is a makefile) I can use buildaix
> again (it skips the ./configure step if it sees a Makefile)
>
> root [at] x10:[/data/prj/php-5.3.13]buildaix
> NAME: php
> VERSION.RELEASE: 5.3.13.0
> /usr/bin/buildaix: using existing Makefile
> /usr/bin/buildaix: run make distclean to get a standard AIX configure
>
> -rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
> -rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
> -rw------- 1 michael staff 44892 May 8 11:22 config.guess
> -rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
> -rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
> -rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
> -rw------- 1 michael staff 33387 May 8 11:22 config.sub
>
> + make > build/aix/make.out
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S)
> Syntax error.
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S)
> Undeclared identifier i.
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S)
> Syntax error: possible missing ';' or ','?
> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S)
> Undeclared identifier or.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> I hope this is not too lengthy - but I am anxious/curious about what I am
> doing wrong - that make continues to try to compile the embedded sqlite
> when it has an external one.****
>
> On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <
> Brian.Gaber [at] tpsgc-pwgsc> wrote:****
>
> Michael,****
>
> ****
>
> Here is the configure that I used:****
>
> ****
>
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> --with-mysql=/usr/local/mysql \
> --with-libxml-dir=/opt/freeware \
> --with-zlib-dir=/opt/freeware****
>
> ****
>
> Thanks.****
>
> ****
>
> Brian****
> ------------------------------
>
> *From:* Michael Felt [mailto:mamfelt [at] gmail] ****
>
> *Sent:* Wednesday, June 13, 2012 3:58 PM ****
>
>
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++****
>
> ** **
>
> started with php build. 1st real error is a syntax error in the embedded
> sqlite.
>
> After building an external version of sqlite (3.6.22 was the last one I
> had downloaded, haven not looked for a new one) I am stopping for the
> night. Will keep posted.
>
> Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to
> be included. By default most of these are not
> being found. my approach will be to get php tp compile with minimal
> arguments to ./configure and then add extra statements as needed.
>
> Michael****
>
> On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail> wrote:**
> **
>
> forgot to mention: no have not tried to compile php against 2.4.x yet.
> Will setup a test machine soon to try. ****
>
> ** **
>
> On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail> wrote:**
> **
>
> I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.
>
> The important thing I noticed is that if you compile apr with gcc you must
> compile httpd with gcc as well, and v.v.
> Noone noticed when they were "bundled" I expect.
>
> I also have a buildaix.ksh for both apr and apr-util, but I do not know if
> those have made it into trunk yet. I can send them seperately if
> interested. With apr and apr-util separate the httpd config and build goes
> much faster. ****
>
> ** **
>
> On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <
> Brian.Gaber [at] tpsgc-pwgsc> wrote:****
>
> Michael,****
>
> ****
>
> I will try your buildaix.ksh script. I have been using IBM's compiler
> (xlc, cc_r, cc).****
>
> ****
>
> On related question, Have you successfully compiled PHP against
> Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail
> at some point. Against Apache 2.2.x I have not problem compiling PHP.****
>
> ****
>
> Cheers.****
>
> ****
>
> Brian****
>
> ** **
> ------------------------------
>
> *From:* Michael Felt [mailto:mamfelt [at] gmail]
> *Sent:* Tuesday, June 12, 2012 5:17 PM
> *To:* users [at] httpd
> *Subject:* Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1
> with gcc/g++****
>
> There are some "more recent" gcc builds for AIX available via:
> http://www.perzl.org/aix/index.php?n=Main.Gcc****
>
> *Current versions:* ****
>
> - AIX5L V5.1: v4.5.3-2 ****
> - AIX5L V5.2: v4.6.3-2 ****
> - AIX5L V5.3: v4.6.3-2 ****
> - AIX V6.1: v4.6.3-2 ****
> - AIX V7.1: v4.6.3-2 ****
>
> RPM's being what they are - there are several packages that need to be
> installed as mentioned above.
>
> And, I would be very interested in hearing what your experiences are if
> you use the buildaix.ksh script (in ./build/aix directory). The result is
> (is suppossed to be) an installp installable file in build/aix.
>
> Regards,
> Michael****
>
> On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail> wrote:**
> **
>
> On Wed, May 30, 2012 at 1:38 PM, Reimer, George
> <George.Reimer [at] fisglobal> wrote:
> > My browser tells me that “It Works!” but it took a couple days of
> banging
> > my head against the wall. I encountered the following rough spots and
> > eventually stumbled over their solutions as noted:****
>
> can you share your gcc experience here in the wiki:
>
> http://wiki.apache.org/httpd/AIXPlatform
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>


Brian.Gaber at tpsgc-pwgsc

Jun 28, 2012, 10:34 AM

Post #14 of 15 (1551 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

Attempted to compile PHP 5.4.3 against Apache 2.4.2.

Compile Environment:
export CC="xlc -q64 -qcpluscmt"
export LD=ld
export LDFLAGS="-L/opt/freeware/lib"
export OBJECT_MODE=64

Successful configure statement:
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-ldap \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware \
--without-pdo-sqlite \
--without-sqlite3

Make returned this error:

"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-236 (W) Macro name __restrict__ has been redefined.
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-358 (I) "__restrict__" is defined on line 186 of /usr/include/standards.h.
/bin/sh /home/downloads/php-5.4.3/libtool --silent --preserve-dup-deps --mode=compile xlc -q64 -qcpluscmt -Iext/mysqli/ -I/home/downloads/php-5.4.3/ext/mysqli/ -DPHP_ATOM_INC -I/home/downloads/php-5.4.3/include -I/home/downloads/php-5.4.3/main -I/home/downloads/php-5.4.3 -I/home/downloads/php-5.4.3/ext/date/lib -I/home/downloads/php-5.4.3/ext/ereg/regex -I/opt/freeware/include/libxml2 -I/opt/freeware/include -I/usr/local/include -I/usr/local/mysql/include -I/home/downloads/php-5.4.3/TSRM -I/home/downloads/php-5.4.3/Zend -I/usr/include -g -c /home/downloads/php-5.4.3/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-236 (W) Macro name __restrict__ has been redefined.
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-358 (I) "__restrict__" is defined on line 186 of /usr/include/standards.h.
"/usr/local/mysql/include/my_config.h", line 1147.9: 1506-236 (W) Macro name PACKAGE_NAME has been redefined.
"/usr/local/mysql/include/my_config.h", line 1147.9: 1506-358 (I) "PACKAGE_NAME" is defined on line 2104 of /home/downloads/php-5.4.3/include/../main/php_config.h.
"/usr/local/mysql/include/my_config.h", line 1150.9: 1506-236 (W) Macro name PACKAGE_STRING has been redefined.
"/usr/local/mysql/include/my_config.h", line 1150.9: 1506-358 (I) "PACKAGE_STRING" is defined on line 2107 of /home/downloads/php-5.4.3/include/../main/php_config.h.
"/usr/local/mysql/include/my_config.h", line 1153.9: 1506-236 (W) Macro name PACKAGE_TARNAME has been redefined.
"/usr/local/mysql/include/my_config.h", line 1153.9: 1506-358 (I) "PACKAGE_TARNAME" is defined on line 2110 of /home/downloads/php-5.4.3/include/../main/php_config.h.
"/usr/local/mysql/include/my_config.h", line 1156.9: 1506-236 (W) Macro name PACKAGE_VERSION has been redefined.
"/usr/local/mysql/include/my_config.h", line 1156.9: 1506-358 (I) "PACKAGE_VERSION" is defined on line 2116 of /home/downloads/php-5.4.3/include/../main/php_config.h.
"/usr/local/mysql/include/my_global.h", line 626.10: 1506-296 (S) #include file <my_compiler.h> not found.
make: 1254-004 The error code from the last command is 1.


Stop.

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Thursday, June 14, 2012 5:38 PM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

I have gotten it to compile (5.3.14) - and what I needed to add for the IBM compiler was -qlangval=extc99 so that it would accept c++ like comments (starting with //)

The other problem I have, and it is an "old" one, is that the AIX make (or maybe the ksh) does not execute the $(BUILD_CLI) argument to build sapi/cli/php. After editing Makefile, and making sure that "#! ." is not the first line of php.sym it completes building.

Anyway, now I need to try a default to "add everything" and see what extras need to be built. And also try 5.4.4

On Thu, Jun 14, 2012 at 7:30 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
I was getting errors with sqlite also so I added these two configure directives:

--without-pdo-sqlite
--without-sqlite

This got me past the sqlite problem.


________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Thursday, June 14, 2012 11:52 AM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

Now I need to see if I actually put everything needed in ./build/aix/README for httpd.

Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I am trying to be independent of "old" RPM's). A secondary goal is that the installp packages built are suitable for installation in WPAR (hosting) environments.

Next - I started with a clean installation (AIX 5.3 TL7 first, working mainly with AIX 6.1 now) and "added" things as needed.

For zlib - what is needed is to copy zlib.h, and I think there is another zlib related include file as well. -- copy to /usr/include, or /opt/include

For apr and apr-util I added build/aix/* files - I'll send copies if you like. An independent tester who finds them sucessful may help get them accepted to apr and apr-util trunks.

For the other packages that are needed - I wrote a buildaix package that you can download via http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/

If you add /opt/bin to your PATH the command /opt/bin/buildaix will run the ./configure command with some defaults - basically - prefix is /opt, mandir=/usr/share/man, and confdir is /etc (and another one is /var, I forget it's name atm).

I choose /opt as, imho, a better generic prefix for AIX - where /usr/local just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt might fix a lot of things that break with "./configure" commands that only look at /usr and /usr/local by default - but this is an aside".

Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if possible) - instead

download and build fresh using buildaix -- /opt, /etc, /var and /usr/share/man as default destinations

For httpd: customized version of build/aix/* for apr-util in any case (buildaix could be used for apr, but I have a seperate set of files for that package as well)

So, e.g., coreutils I built and installed using buildaix, same for pcre and any other required external package.

Thus, with php, I started with buildaix.

libxml2 was missing so the basic step was:
root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
....
installp -d . aixtools.libxml2.rte
....
aixtools.libxml2.rte 2.7.7.0 USR APPLY SUCCESS

Added /opt to list of directories to search in configure to look for xml2-config
LINE 21865

And configure completes.

I also got an Syntax errors with embedded sqlite so I compiled an external version. However, php continues to try to compile that.

Maybe you can help me beyond this point:

michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
#!/usr/bin/ksh

set -x

./configure \
--prefix=/opt \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libdir=/opt/lib \
--with-sqlite3=/opt \
> build/aix/configure.out

Now that configure has finished (there is a makefile) I can use buildaix again (it skips the ./configure step if it sees a Makefile)

root [at] x10:[/data/prj/php-5.3.13]buildaix
NAME: php
VERSION.RELEASE: 5.3.13.0
/usr/bin/buildaix: using existing Makefile
/usr/bin/buildaix: run make distclean to get a standard AIX configure

-rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
-rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
-rw------- 1 michael staff 44892 May 8 11:22 config.guess
-rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
-rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
-rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
-rw------- 1 michael staff 33387 May 8 11:22 config.sub

+ make > build/aix/make.out
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S) Syntax error.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S) Undeclared identifier i.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S) Undeclared identifier or.
make: 1254-004 The error code from the last command is 1.


Stop.

I hope this is not too lengthy - but I am anxious/curious about what I am doing wrong - that make continues to try to compile the embedded sqlite when it has an external one.

On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

Here is the configure that I used:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware

Thanks.

Brian
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Wednesday, June 13, 2012 3:58 PM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

started with php build. 1st real error is a syntax error in the embedded sqlite.

After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be included. By default most of these are not
being found. my approach will be to get php tp compile with minimal arguments to ./configure and then add extra statements as needed.

Michael

On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try.


On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if those have made it into trunk yet. I can send them seperately if interested. With apr and apr-util separate the httpd config and build goes much faster.


On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>


Brian.Gaber at tpsgc-pwgsc

Jun 28, 2012, 11:55 AM

Post #15 of 15 (1496 views)
Permalink
RE: Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++ [In reply to]

Partial success compiling PHP 5.3.13 with Apache 2.4.2

Compile Environment:
export CC="xlc -q64 -qlangval=extc99"
export LD=ld
export LDFLAGS="-L/opt/freeware/lib"
export OBJECT_MODE=64

configure
export CC="xlc -q64 -qlangval=extc99"
export LD=ld
export LDFLAGS="-L/opt/freeware/lib"
export OBJECT_MODE=64

edit Makefile, search for line with php.sym, remove the '#! .'

"make" is successful
"make test" produces test that either report SKIP or FAIL. Majority FAIL.

Why all the failed tests?
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail]
Sent: Thursday, June 14, 2012 5:38 PM
To: users [at] httpd
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

I have gotten it to compile (5.3.14) - and what I needed to add for the IBM compiler was -qlangval=extc99 so that it would accept c++ like comments (starting with //)

The other problem I have, and it is an "old" one, is that the AIX make (or maybe the ksh) does not execute the $(BUILD_CLI) argument to build sapi/cli/php. After editing Makefile, and making sure that "#! ." is not the first line of php.sym it completes building.

Anyway, now I need to try a default to "add everything" and see what extras need to be built. And also try 5.4.4

On Thu, Jun 14, 2012 at 7:30 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
I was getting errors with sqlite also so I added these two configure directives:

--without-pdo-sqlite
--without-sqlite

This got me past the sqlite problem.


________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Thursday, June 14, 2012 11:52 AM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

Now I need to see if I actually put everything needed in ./build/aix/README for httpd.

Starting point for me is: use neither /usr(/local) nor /opt/freeware (as I am trying to be independent of "old" RPM's). A secondary goal is that the installp packages built are suitable for installation in WPAR (hosting) environments.

Next - I started with a clean installation (AIX 5.3 TL7 first, working mainly with AIX 6.1 now) and "added" things as needed.

For zlib - what is needed is to copy zlib.h, and I think there is another zlib related include file as well. -- copy to /usr/include, or /opt/include

For apr and apr-util I added build/aix/* files - I'll send copies if you like. An independent tester who finds them sucessful may help get them accepted to apr and apr-util trunks.

For the other packages that are needed - I wrote a buildaix package that you can download via http://sourceforge.net/projects/mkinstallp/files/buildaix-1.0.0/

If you add /opt/bin to your PATH the command /opt/bin/buildaix will run the ./configure command with some defaults - basically - prefix is /opt, mandir=/usr/share/man, and confdir is /etc (and another one is /var, I forget it's name atm).

I choose /opt as, imho, a better generic prefix for AIX - where /usr/local just seems to create problems. (Idea: a symbolic link of /usr/local -> /opt might fix a lot of things that break with "./configure" commands that only look at /usr and /usr/local by default - but this is an aside".

Summary: drop /usr/local as prefix, stop using old RPM (or any RPM if possible) - instead

download and build fresh using buildaix -- /opt, /etc, /var and /usr/share/man as default destinations

For httpd: customized version of build/aix/* for apr-util in any case (buildaix could be used for apr, but I have a seperate set of files for that package as well)

So, e.g., coreutils I built and installed using buildaix, same for pcre and any other required external package.

Thus, with php, I started with buildaix.

libxml2 was missing so the basic step was:
root [at] x10:[/data/prj/libxml2-2.7.7]buildaix
....
installp -d . aixtools.libxml2.rte
....
aixtools.libxml2.rte 2.7.7.0 USR APPLY SUCCESS

Added /opt to list of directories to search in configure to look for xml2-config
LINE 21865

And configure completes.

I also got an Syntax errors with embedded sqlite so I compiled an external version. However, php continues to try to compile that.

Maybe you can help me beyond this point:

michael [at] x05:[/data/prj/php-5.3.13]cat php_configure.ksh
#!/usr/bin/ksh

set -x

./configure \
--prefix=/opt \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-libdir=/opt/lib \
--with-sqlite3=/opt \
> build/aix/configure.out

Now that configure has finished (there is a makefile) I can use buildaix again (it skips the ./configure step if it sees a Makefile)

root [at] x10:[/data/prj/php-5.3.13]buildaix
NAME: php
VERSION.RELEASE: 5.3.13.0
/usr/bin/buildaix: using existing Makefile
/usr/bin/buildaix: run make distclean to get a standard AIX configure

-rw-r--r-- 1 root system 127516 Jun 14 00:44 ./Makefile
-rw-r--r-- 1 root system 17721 Jun 14 00:44 config.cache
-rw------- 1 michael staff 44892 May 8 11:22 config.guess
-rw-r--r-- 1 root system 47234 Jun 14 00:45 config.log
-rwxr-xr-x 1 root system 177 Jun 14 00:42 config.nice
-rwxr-xr-x 1 root system 91276 Jun 14 00:44 config.status
-rw------- 1 michael staff 33387 May 8 11:22 config.sub

+ make > build/aix/make.out
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S) Syntax error.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S) Undeclared identifier i.
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S) Undeclared identifier or.
make: 1254-004 The error code from the last command is 1.


Stop.

I hope this is not too lengthy - but I am anxious/curious about what I am doing wrong - that make continues to try to compile the embedded sqlite when it has an external one.

On Thu, Jun 14, 2012 at 3:03 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

Here is the configure that I used:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware

Thanks.

Brian
________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Wednesday, June 13, 2012 3:58 PM

To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

started with php build. 1st real error is a syntax error in the embedded sqlite.

After building an external version of sqlite (3.6.22 was the last one I had downloaded, haven not looked for a new one) I am stopping for the night. Will keep posted.

Question: what are the minimum modules (e.g. gd, jpeg, etc. that need to be included. By default most of these are not
being found. my approach will be to get php tp compile with minimal arguments to ./configure and then add extra statements as needed.

Michael

On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
forgot to mention: no have not tried to compile php against 2.4.x yet. Will setup a test machine soon to try.


On Wed, Jun 13, 2012 at 7:44 PM, Michael Felt <mamfelt [at] gmail<mailto:mamfelt [at] gmail>> wrote:
I had tested httpd with xlCv7 and xlCv11 and gcc 4.6.2.

The important thing I noticed is that if you compile apr with gcc you must compile httpd with gcc as well, and v.v.
Noone noticed when they were "bundled" I expect.

I also have a buildaix.ksh for both apr and apr-util, but I do not know if those have made it into trunk yet. I can send them seperately if interested. With apr and apr-util separate the httpd config and build goes much faster.


On Wed, Jun 13, 2012 at 3:16 PM, Brian Gaber <Brian.Gaber [at] tpsgc-pwgsc<mailto:Brian.Gaber [at] tpsgc-pwgsc>> wrote:
Michael,

I will try your buildaix.ksh script. I have been using IBM's compiler (xlc, cc_r, cc).

On related question, Have you successfully compiled PHP against Apache 2.4.2? I have not. I have tried PHP 5.2, 5.3 and 5.4 and all fail at some point. Against Apache 2.2.x I have not problem compiling PHP.

Cheers.

Brian

________________________________
From: Michael Felt [mailto:mamfelt [at] gmail<mailto:mamfelt [at] gmail>]
Sent: Tuesday, June 12, 2012 5:17 PM
To: users [at] httpd<mailto:users [at] httpd>
Subject: Re: [users [at] http] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++

There are some "more recent" gcc builds for AIX available via: http://www.perzl.org/aix/index.php?n=Main.Gcc

Current versions:

* AIX5L V5.1: v4.5.3-2
* AIX5L V5.2: v4.6.3-2
* AIX5L V5.3: v4.6.3-2
* AIX V6.1: v4.6.3-2
* AIX V7.1: v4.6.3-2

RPM's being what they are - there are several packages that need to be installed as mentioned above.

And, I would be very interested in hearing what your experiences are if you use the buildaix.ksh script (in ./build/aix directory). The result is (is suppossed to be) an installp installable file in build/aix.

Regards,
Michael

On Wed, May 30, 2012 at 7:57 PM, Eric Covener <covener [at] gmail<mailto:covener [at] gmail>> wrote:
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<George.Reimer [at] fisglobal<mailto:George.Reimer [at] fisglobal>> wrote:
> My browser tells me that "It Works!" but it took a couple days of banging
> my head against the wall. I encountered the following rough spots and
> eventually stumbled over their solutions as noted:

can you share your gcc experience here in the wiki:

http://wiki.apache.org/httpd/AIXPlatform

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd<mailto:users-unsubscribe [at] httpd>
For additional commands, e-mail: users-help [at] httpd<mailto:users-help [at] httpd>

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.