Compiling 4.0B3-RC4 on AIX
| From: | Brian Leyton | Date: | Tue, 09 Nov 1999 22:00:20 +0000 |
| Subject: | Compiling 4.0B3-RC4 on AIX | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6078@lists.php.net to get a copy of this message | ||
Has anyone had any recent success getting PHP4 and Apache to compile under
AIX? I saw a bug in the database (#2287) that matches my problem:
/usr2/apache_1.3.9/src/os/unix/os.h:117: conflicting types for `dlerror'
/usr/include/dlfcn.h:57: previous declaration of `dlerror'
If I change Apache's src/os/unix/os.h file to remove the 'const' in front of
the declaration for dlerror (as recommended in that bug report), then PHP
compiles, but Apache won't.
All of the bugs in the Apache bug database that match this problem seem to
refer to older versions of Apache (there are comments in there that indicate
that it was fixed around 1.3.2 - I'm using 1.3.6, and the person who opened
bug #2287 was using 1.3.9).
Is this an Apache bug or a PHP one? I've never had any trouble with this on
PHP3...
Brian