From:             to2958 at att dot com
Operating system: AIX 4.3.3
PHP version:      5.2.4
PHP Bug Type:     Compile Failure
Bug description:  sapi/cli not getting linked

Description:
------------
I'm using the snapshot php5.2-200709181230:
I can run configure and make without any obvious errors. However when i
run make test I get this:
        echo '\
\

Build complete.
Don't forget to run 'make test'.

ERROR: Cannot run tests without CLI sapi.

When I look around I can not find any php executable which was created. I
looked at the tail of the make log I see when the cli files were compiled
but not linking step ?
...
creating a temporary reloadable object file: .libs/libphp5.la-2.o
        /bin/sh /usr/local/source/php5.2-200709181230/libtool --silent
--preserve
-dup-deps --mode=compile /usr/bin/cc_r  -Isapi/cli/
-I/usr/local/source/php5.2-20
0709181230/sapi/cli/ -DPHP_ATOM_INC
-I/usr/local/source/php5.2-200709181230/inclu
de -I/usr/local/source/php5.2-200709181230/main
-I/usr/local/source/php5.2-200709
181230 -I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/source/
php5.2-200709181230/ext/date/lib
-I/usr/local/source/php5.2-200709181230/TSRM -I/
usr/local/source/php5.2-200709181230/Zend    -I/usr/include -g   -c
/usr/local/so
urce/php5.2-200709181230/sapi/cli/php_cli.c -o sapi/cli/php_cli.lo 
"/usr/local/source/php5.2-200709181230/TSRM/tsrm_config_common.h", line
25.1: 150
6-224 (I) Incorrect #pragma ignored.
        /bin/sh /usr/local/source/php5.2-200709181230/libtool --silent
--preserve
-dup-deps --mode=compile /usr/bin/cc_r  -Isapi/cli/
-I/usr/local/source/php5.2-20
0709181230/sapi/cli/ -DPHP_ATOM_INC
-I/usr/local/source/php5.2-200709181230/inclu
de -I/usr/local/source/php5.2-200709181230/main
-I/usr/local/source/php5.2-200709
181230 -I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/source/
php5.2-200709181230/ext/date/lib
-I/usr/local/source/php5.2-200709181230/TSRM -I/
usr/local/source/php5.2-200709181230/Zend    -I/usr/include -g   -c
/usr/local/so
urce/php5.2-200709181230/sapi/cli/php_cli_readline.c -o
sapi/cli/php_cli_readline
.lo 
"/usr/local/source/php5.2-200709181230/TSRM/tsrm_config_common.h", line
25.1: 150
6-224 (I) Incorrect #pragma ignored.
        /bin/sh /usr/local/source/php5.2-200709181230/libtool --silent
--preserve
-dup-deps --mode=compile /usr/bin/cc_r  -Isapi/cli/
-I/usr/local/source/php5.2-20
0709181230/sapi/cli/ -DPHP_ATOM_INC
-I/usr/local/source/php5.2-200709181230/inclu
de -I/usr/local/source/php5.2-200709181230/main
-I/usr/local/source/php5.2-200709
181230 -I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/source/
php5.2-200709181230/ext/date/lib
-I/usr/local/source/php5.2-200709181230/TSRM -I/
usr/local/source/php5.2-200709181230/Zend    -I/usr/include -g   -c
/usr/local/so
urce/php5.2-200709181230/sapi/cli/getopt.c -o sapi/cli/getopt.lo 
"/usr/local/source/php5.2-200709181230/TSRM/tsrm_config_common.h", line
25.1: 150
6-224 (I) Incorrect #pragma ignored.
        /bin/sh /usr/local/source/php5.2-200709181230/libtool --silent
--preserve
-dup-deps --mode=compile /usr/bin/cc_r  -Imain/
-I/usr/local/source/php5.2-200709
181230/main/ -DPHP_ATOM_INC
-I/usr/local/source/php5.2-200709181230/include -I/us
r/local/source/php5.2-200709181230/main
-I/usr/local/source/php5.2-200709181230 -
I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/source/php5.2-2
00709181230/ext/date/lib -I/usr/local/source/php5.2-200709181230/TSRM
-I/usr/loca
l/source/php5.2-200709181230/Zend    -I/usr/include -g   -c
main/internal_functio
ns_cli.c -o main/internal_functions_cli.lo 
"/usr/local/source/php5.2-200709181230/TSRM/tsrm_config_common.h", line
25.1: 150
6-224 (I) Incorrect #pragma ignored.
        echo '\
\

Build complete.
Don't forget to run 'make test'.

I'm trying to solve this myself but thought it might be something simple.
I didn't find anything in the bug base nor the maillist which seem like
this.

Thanks!
Todd

Expected result:
----------------
I'm expecting there to be a php executable for the test phase.


-- 
Edit bug report at http://bugs.php.net/?id=42702&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42702&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42702&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42702&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42702&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42702&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42702&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42702&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42702&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42702&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42702&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42702&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42702&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42702&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42702&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42702&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42702&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42702&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42702&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42702&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42702&r=mysqlcfg

Reply via email to