Edit report at http://bugs.php.net/bug.php?id=48865&edit=1

 ID:               48865
 Comment by:       
 Reported by:      ali dot barimani at bnpparibas dot com
 Summary:          Compile does not create .so library
 Status:           No Feedback
 Type:             Bug
 Package:          Compile Failure
 Operating System: AIX 6.1
 PHP Version:      5.3.0

 New Comment:

I was able to build PHP 5.3 by using GNU make instead of AIX make. I
used

make-3.80-1.aix5.1.ppc.rpm

from the AIX Toolbox site. 



Note that others have reported problems using gmake building other php
components.


Previous Comments:
------------------------------------------------------------------------
[2009-07-18 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2009-07-10 18:20:32] j...@php.net

Please see bug #39197 and #39187 and search using 'AIX' in the OS field.


If you can provide a proper patch, we'll gladly accept it, otherwise 

this will get into bogus as well..

------------------------------------------------------------------------
[2009-07-09 10:21:04] ali dot barimani at bnpparibas dot com

With changing the configure option to --disable-phar the build is
complete with CLI. But, there is no more libpphp5.so built for Apache
SAPI

------------------------------------------------------------------------
[2009-07-09 09:23:43] ali dot barimani at bnpparibas dot com

Description:
------------
I try to configure and compile PHP 5.3 on AIX 6.1.



When I active the CLI mode (and I need it), the confgure run correctly 

but the build failed (see Reproduce code please).





And with CLI the build crash (see bellow).



        /bin/sh /bnp/khome/abarim30/src/php-5.3.0/libtool
--preserve-dup-deps --mode=compile gcc  -Imain/
-I/bnp/khome/abarim30/src/php-5.3.0/main/ -DPHP_ATOM_INC
-I/bnp/khome/abarim30/src/php-5.3.0/include
-I/bnp/khome/abarim30/src/php-5.3.0/main
-I/bnp/khome/abarim30/src/php-5.3.0
-I/bnp/khome/abarim30/src/php-5.3.0/ext/date/lib
-I/bnp/khome/abarim30/src/php-5.3.0/ext/ereg/regex
-I/usr/local/include/libxml2 -I/opt/freeware/include
-I/opt/freeware/include/freetype2 -I/usr/local/pkg/gd.2.0.33/include
-I/apps/env30/sybase/current/OCS-15_0/include
-I/opt/freeware/include/libxml2 -I/bnp/khome/abarim30/src/php-5.3.0/TSRM
-I/bnp/khome/abarim30/src/php-5.3.0/Zend  -fPIC -I/usr/local/include 
-I/usr/include -g -fvisibility=hidden -O0 -Wall   -c
main/internal_functions_cli.c -o main/internal_functions_cli.lo 

 gcc -Imain/ -I/bnp/khome/abarim30/src/php-5.3.0/main/ -DPHP_ATOM_INC
-I/bnp/khome/abarim30/src/php-5.3.0/include
-I/bnp/khome/abarim30/src/php-5.3.0/main
-I/bnp/khome/abarim30/src/php-5.3.0
-I/bnp/khome/abarim30/src/php-5.3.0/ext/date/lib
-I/bnp/khome/abarim30/src/php-5.3.0/ext/ereg/regex
-I/usr/local/include/libxml2 -I/opt/freeware/include
-I/opt/freeware/include/freetype2 -I/usr/local/pkg/gd.2.0.33/include
-I/apps/env30/sybase/current/OCS-15_0/include
-I/opt/freeware/include/libxml2 -I/bnp/khome/abarim30/src/php-5.3.0/TSRM
-I/bnp/khome/abarim30/src/php-5.3.0/Zend -fPIC -I/usr/local/include
-I/usr/include -g -fvisibility=hidden -O0 -Wall -c
main/internal_functions_cli.c -o main/internal_functions_cli.o

        echo '\

\

Generating phar.php

/bin/sh[14]: -d:  not found

make: The error code from the last command is 127.





Reproduce code:
---------------
When disable-cli => But the .so is not created !



Build complete.

Don't forget to run 'make test'.



srkondorv abarim30 /bnp/khome/abarim30/src/php-5.3.0/.libs > ls -la

total 95104

drwxrwxrwx    2 abarim30 kondor30        256 Jul  9 11:02 .

drwxr-xr-x   17 abarim30 kondor30       4096 Jul  9 11:02 ..

-rw-rw-rw-    1 abarim30 kondor30   48682884 Jul  9 11:02 libphp5.a

lrwxrwxrwx    1 abarim30 kondor30         13 Jul  9 11:02 libphp5.la ->
../libphp5.la

-rw-rw-rw-    1 abarim30 kondor30       2051 Jul  9 11:02 libphp5.lai



Expected result:
----------------
./configure  --without-mysql \

             --without-sqlite \

             --without-pdo-sqlite \

             --with-sybase-ct=/apps/env30/sybase/current/OCS-15_0 \

             --with-apxs=/apps/local/apache/bin/apxs \

             --with-xmlrpc \

             --enable-debug=yes \

             --enable-sysvmsg \

             --enable-sockets \

             --enable-soap \

             --enable-bcmath \

             --with-gd=/usr/local/pkg/gd.2.0.33 \

             --with-libxml-dir=/opt/freeware \

             --with-freetype-dir=/opt/freeware \

             --with-xsl=/opt/freeware \

             --with-zlib-dir=/opt/freeware \

             --with-xpm-dir=/opt/freeware \

             --with-jpeg-dir=/opt/freeware \

             --with-png-dir=/opt/freeware \

             --enable-inline-optimization





------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=48865&edit=1

Reply via email to