|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48865 Compile does not create .so library
Submitted: 2009-07-09 09:23 UTC Modified: 2009-07-18 01:00 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ali dot barimani at bnpparibas dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.0 OS: AIX 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
28 - 22 = ?
Subscribe to this entry?

 [2009-07-09 09:23 UTC] ali dot barimani at bnpparibas dot com
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 -> ../
-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 \


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-09 10:21 UTC] 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 built for Apache SAPI
 [2009-07-10 18:20 UTC]
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-18 01:00 UTC] 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".
 [2010-03-02 06:54 UTC] pfarrell at au1 dot ibm dot com
I was able to build PHP 5.3 by using GNU make instead of AIX make. I used
from the AIX Toolbox site. 

Note that others have reported problems using gmake building other php components.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 20:01:32 2024 UTC