httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Gaber <>
Subject RE: [users@httpd] Compiling/Installing httpd 2.4.2 on AIX 6.1 with gcc/g++
Date Thu, 14 Jun 2012 13:03:09 GMT

    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 \


From: Michael Felt []
Sent: Wednesday, June 13, 2012 3:58 PM
Subject: Re: [users@httpd] 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.


On Wed, Jun 13, 2012 at 7:45 PM, Michael Felt <<>>
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 <<>>
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 <<>>

    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.



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

There are some "more recent" gcc builds for AIX available via:

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

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.


On Wed, May 30, 2012 at 7:57 PM, Eric Covener <<>>
On Wed, May 30, 2012 at 1:38 PM, Reimer, George
<<>> 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:

To unsubscribe, e-mail:<>
For additional commands, e-mail:<>

View raw message