ID: 32424 Updated by: [EMAIL PROTECTED] Reported By: tommythekid at mac dot com -Status: Open +Status: Feedback Bug Type: iPlanet related Operating System: Solaris 9 SPARC PHP Version: 5.0.3 New Comment:
The compile bug is already mentioned in bug #30641 so let's forget about that for now. Try this snapshot instead: http://snaps.php.net/php5-STABLE-latest.tar.gz Previous Comments: ------------------------------------------------------------------------ [2005-03-24 23:44:20] tommythekid at mac dot com .. same sort of error.. also tried getting a newer snapshot /bin/sh /var/tmp/php5-200503241930/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/php5-200503241930/meta_ccld -IZend/ -I/var/tmp/php5-200503241930/Zend/ -DPHP_ATOM_INC -I/var/tmp/php5-200503241930/include -I/var/tmp/php5-200503241930/main -I/var/tmp/php5-200503241930 -I/opt/SUNWwbsvr/plugins/include -I/usr/local/include/libxml2 -I/usr/local/mysql/include -I/var/tmp/php5-200503241930/TSRM -I/var/tmp/php5-200503241930/Zend -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -DZTS -c /var/tmp/php5-200503241930/Zend/zend_execute.c -o Zend/zend_execute.lo -O0 /usr/ccs/bin/as: "/var/tmp//ccKw22Ag.s": error: symbol "zend_error" is used but not defined /usr/ccs/bin/as: "/var/tmp//ccKw22Ag.s": internal error: evaluate_symbol_expression(): op 20? gmake: *** [Zend/zend_execute.lo] Error 1 (configure command) './configure' '--with-nsapi=/opt/SUNWwbsvr' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--with-mysql=/usr/local/mysql' '--enable-libgcc' '--enable-exif' '--with-java=/usr/j2se' '--with-gettext=/opt/sfw' '--with-zlib' '--with-bz2' '--enable-ftp' '--with-iconv' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-sockets' '--with-pear' '--with-libxml-dir=/usr/local/lib/' '--with-ldap' --disable-inline-optimization ------------------------------------------------------------------------ [2005-03-24 18:38:57] [EMAIL PROTECTED] Try using this configure option: --disable-inline-optimization ------------------------------------------------------------------------ [2005-03-24 08:03:57] tommythekid at mac dot com php-5.0.3 compiles cleanly with the same exact configure line :( .. php5-200503240330 errors like below: /bin/sh /var/tmp/php5-200503240330/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/php5-200503240330/meta_ccld -IZend/ -I/var/tmp/php5-200503240330/Zend/ -DPHP_ATOM_INC -I/var/tmp/php5-200503240330/include -I/var/tmp/php5-200503240330/main -I/var/tmp/php5-200503240330 -I/opt/SUNWwbsvr/plugins/include -I/usr/local/include/libxml2 -I/usr/local/mysql/include -I/var/tmp/php5-200503240330/TSRM -I/var/tmp/php5-200503240330/Zend -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -DZTS -c /var/tmp/php5-200503240330/Zend/zend_reflection_api.c -o Zend/zend_reflection_api.lo /bin/sh /var/tmp/php5-200503240330/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/php5-200503240330/meta_ccld -IZend/ -I/var/tmp/php5-200503240330/Zend/ -DPHP_ATOM_INC -I/var/tmp/php5-200503240330/include -I/var/tmp/php5-200503240330/main -I/var/tmp/php5-200503240330 -I/opt/SUNWwbsvr/plugins/include -I/usr/local/include/libxml2 -I/usr/local/mysql/include -I/var/tmp/php5-200503240330/TSRM -I/var/tmp/php5-200503240330/Zend -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -DZTS -c /var/tmp/php5-200503240330/Zend/zend_execute.c -o Zend/zend_execute.lo /usr/ccs/bin/as: "/var/tmp//cc3rGt9t.s": error: symbol "zend_error" is used but not defined /usr/ccs/bin/as: "/var/tmp//cc3rGt9t.s": internal error: evaluate_symbol_expression(): op 20? gmake: *** [Zend/zend_execute.lo] Error 1 [EMAIL PROTECTED] php5-200503240330]# ------------------------------------------------------------------------ [2005-03-23 23:47:03] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-03-23 10:34:53] tommythekid at mac dot com Description: ------------ no output is sent after calling ob_flush() after sending headers. This problem appears to be NSAPI related. Removing the first ob_flush() from the code produces the expected results. Reproduce code: --------------- while (ob_end_clean()); ob_start(); header("X-Foo: BAR"); ob_flush(); flush(); echo "PRE\n\n"; ob_flush(); flush(); echo "POST\n\n"; ob_flush(); flush(); Expected result: ---------------- HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Wed, 23 Mar 2005 09:31:45 GMT Content-type: text/html X-powered-by: PHP/5.0.3 X-foo: BAR Connection: close PRE POST Actual result: -------------- HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Wed, 23 Mar 2005 09:24:38 GMT Content-type: text/html X-powered-by: PHP/5.0.3 X-foo: BAR Connection: close ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32424&edit=1