From: suga at netbsd dot com dot br Operating system: NetBSD PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug description: ncurses includes in ext/ncurses/php_ncurses.h conflicts with BSD curses.
Description: ------------ When compiling PHP under NetBSD with '--with-ncurses', the build will fail when ext/ncurses/php_ncurses.h includes <curses.h>, which is actually BSD curses and NOT ncurses. For the process to work under NetBSD, it's necessary to replace "curses.h" with "ncurses.h" in that file, like: --- php_ncurses.h.old Fri Oct 3 20:33:08 2003 +++ php_ncurses.h Fri Oct 3 20:40:03 2003 @@ -19,7 +19,7 @@ #ifndef PHP_NCURSES_H #define PHP_NCURSES_H -#include <curses.h> +#include <ncurses.h> extern int le_ncurses_windows; -- Edit bug report at http://bugs.php.net/?id=25752&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25752&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25752&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25752&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25752&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25752&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25752&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25752&r=support Expected behavior: http://bugs.php.net/fix.php?id=25752&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25752&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25752&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25752&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25752&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25752&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25752&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25752&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25752&r=float