ID: 28803 Updated by: [EMAIL PROTECTED] Reported By: Bjorn dot Wiberg at its dot uu dot se -Status: Open +Status: Verified Bug Type: PHP options/info functions Operating System: IBM AIX 5.2.0.0 ML5 PHP Version: 5.1.x-dev (200503210730) New Comment:
It bails out in sapi_cli_flush() because for some reason fflush(stdout) returns EOF and errno is EBADF. Will try to look into it today.. Previous Comments: ------------------------------------------------------------------------ [2005-03-21 17:11:41] Bjorn dot Wiberg at its dot uu dot se OK, now using: CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/lib -L/opt/freeware/lib -L/usr/local/lib" ./configure --enable-bcmath --enable-calendar --enable-dba --enable-debug --enable-exif --enable-embedded -mysqli --enable-filepro --enable-ftp --enable-gd-jis-conv --enable-gd-native-ttf --enable-mbstring --enable-memory-limit --enable-sockets --enable-zend-multibyte --prefix=/apache/php --with-apxs2=/apache/bin/apxs --with-bz2 --with-freetype-dir --with-gd --with-gdbm --with-gettext --with-imagick --with-inifile --with-jpeg-dir --with-ldap --with-libxml-dir --with-mime-magic --with-mnogosearch --with-mysql=/usr/local/mysql - -with-openssl=/opt/freeware --with-png-dir --with-tiff-dir --with-ttf --with-xpm-dir --with-zlib --with-zlib-dir With the same results, e.g.: [EMAIL PROTECTED]:/usr/local/src/php5-200503210730/tests/classes# less visibility_002b.diff 002+ /usr/local/src/php5-200503210730/main/main.c(1702) : Bailed out without a bailout address! Best regards, Björn ------------------------------------------------------------------------ [2005-03-18 19:59:48] [EMAIL PROTECTED] Remove also --enable-versioning (there's no use for it) ------------------------------------------------------------------------ [2005-03-18 19:59:03] [EMAIL PROTECTED] Uh..remove that IEEE...thing, this is fixed in CVS long time ago (you ARE trying CVS snapshots after all) ------------------------------------------------------------------------ [2005-03-15 09:16:27] Bjorn dot Wiberg at its dot uu dot se Oops, sorry, I removed that a long time ago but forgot to update the configure stuff of this bug report. The current configure line I'm using is: CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/include -DIEEE_BIG_ENDIAN" LDFLAGS="-L/lib -L/opt/freeware/lib -L/usr/local/lib" ./configure --enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-embed ded-mysqli --enable-filepro --enable-ftp --enable-gd-jis-conv --enable-gd-native-ttf --enable-mbstring --enable-memory-limit --enable-sockets --enable-versioning --enable-zend-multibyte --prefix=/apache/php --with -apxs2=/apache/bin/apxs --with-bz2 --with-freetype-dir --with-gd --with-gdbm --with-gettext --with-imagick --with-inifile --with-jpeg-dir --with-ldap --with-libxml-dir --with-mime-magic --with-mnogosearch --with-m ysql=/usr/local/mysql --with-openssl=/opt/freeware --with-png-dir --with-tiff-dir --with-ttf --with-xpm-dir --with-zlib --with-zlib-dir (The -DIEEE_BIG_ENDIAN is needed to fix bug #31131.) I've also tried 5.0.3 on another machine, without mnoGoSearch, and with some other built-in extensions/configure options (SysV semaphore stuff and dBASE), with another packaging of gcc 3.3.2 (IBM's instead of bullfreeware.com's), and with newer libs etc., but with the same result. Best regards, Björn ------------------------------------------------------------------------ [2005-03-14 22:41:40] [EMAIL PROTECTED] Uh..this part in your configure script caught my eye: --with-apxs2=/apache/bin/apxs --with-apxs2filter=/apache/bin/apxs You can have just ONE of those, NOT BOTH! ------------------------------------------------------------------------ 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/28803 -- Edit this bug report at http://bugs.php.net/?id=28803&edit=1