ID: 42318 Updated by: [EMAIL PROTECTED] Reported By: rainer dot tammer at schulergroup dot com Status: Assigned Bug Type: Compile Failure Operating System: AIX 5.2/5.3 PHP Version: 5.2CVS-2007-08-17 Assigned To: dmitry New Comment:
I can understand you troubles with CLI, but I'm wondered, how you can have problems with CGI if you build DSO for Apache. Previous Comments: ------------------------------------------------------------------------ [2008-08-28 07:49:10] rainer dot tammer at schulergroup dot com Hello, the problem only exists if you build the dso for Apache. If you only build php (stand alone) then you do not need the .libs directory. I am using libtool 1.5.20 (bundled with PHP). I have access to AIX 5.2 / 5.3 / 6.1 (maybe 5.1 / 4.3.3 very old dev environment). Regarding the access to an newer AIX machine: The problem is the access from the internet. If you like we can switch to pm an we can discuss this problem. Bye Rainer ------------------------------------------------------------------------ [2008-08-28 07:41:39] [EMAIL PROTECTED] I was never able to reproduce this build failure. The "fixed" configs worked fine for me on AIX, however build doesn't work with ".libs". I assume something may be different in libtools in different systems. For now I have access only to AIX 5.1. I'll able to fix the bug if somebody gives me access to AIX 5.2/5.3. ------------------------------------------------------------------------ [2008-07-17 01:20:46] [EMAIL PROTECTED] Dmitry, you never answered my question why you reverted your fix? [16 Aug 2007 10:32pm UTC] [EMAIL PROTECTED] And on second check: Assigning to Dmitry who broke this with his commit to fix (!) AIX build. Dmitry: cvs diff -r1.17.2.1 -r1.17.2.2 sapi/cgi/config9.m4 cvs diff -r1.22 -r1.22.2.1 sapi/cli/config.m4 [16 Aug 2007 10:34pm UTC] [EMAIL PROTECTED] Or not really broke but tried to fix. First fix was ok but for some reason Dmitry removed the .libs part of it, perhaps he knows why.. ------------------------------------------------------------------------ [2007-11-29 10:29:18] rainer dot tammer at schulergroup dot com Hello, with my suggested patch to the two configure files the errors will be gone. I have checked this on all 5.2.x releases. In sapi/cgi/config9.m4 and sapi/cli/config.m4 ... case $host_alias in *aix*) change ... sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` ... to ... sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'\` ... Do not forget to call utoconf to regenerate the configure script after the change. It looks like you only need this patch if you user the --with-apxs configure switch. Bye Rainer ------------------------------------------------------------------------ [2007-11-28 22:59:46] bduncan8 at yahoo dot com Using gcc 4 on AIX 5.3 and trying to compile PHP 5.2.5 When running make there are many messages about nm not finding files. If make install is attempted it completely fails. If I skip make install I can copy over the libphp5.so and get apache to return phpinfo() output but I have my doubts about being able to install pecl extensions I need like ibm-db2 and informix. It doesn't seem like there has been any official resolution proposed ... is this being looked at still? Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/42318 -- Edit this bug report at http://bugs.php.net/?id=42318&edit=1