#25577 [NEW]: PHP ncurses code error?
| From: | root at noms4me dot net | Date: | Wed, 17 Sep 2003 18:28:50 +0000 |
| Subject: | #25577 [NEW]: PHP ncurses code error? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47713@lists.php.net to get a copy of this message | ||
From: root at noms4me dot net
Operating system: Sun solaris 9
PHP version: 4.3.3
PHP Bug Type: Compile Failure
Bug description: PHP ncurses code error?
Description:
------------
The machine in question is a SunBlade 150 running solaris 9 (sparc 64)
GCC 3.3
Apache 2.0.47
ncurses 5.3
make 3.80
Have tried to compile first php 3.3 then 3.2 and both of them gives me the
same error during make.
/bin/sh /home/vrghost/new_soft/httpd/php-4.3.2/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ncurses/
-I/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ -DPHP_ATOM_INC
-I/home/vrghost/new_soft/httpd/php-4.3.2/include
-I/home/vrghost/new_soft/httpd/php-4.3.2/main
-I/home/vrghost/new_soft/httpd/php-4.3.2 -I/usr/local/apache2/include
-I/home/vrghost/new_soft/httpd/php-4.3.2/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/mysql/include/mysql
-I/usr/local/include/include
-I/home/vrghost/new_soft/httpd/php-4.3.2/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/home/vrghost/new_soft/httpd/php-4.3.2/TSRM
-g -O2 -prefer-pic -c
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c -o
ext/ncurses/ncurses.lo
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c: In function
`zm_startup_ncurses':
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:212: error:
`KEY_RESIZE' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:212: error:
(Each undeclared identifier is reported only once
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:212: error:
for each function it appears in.)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:243: error:
`BUTTON4_PRESSED' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:244: error:
`BUTTON4_RELEASED' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:245: error:
`BUTTON4_CLICKED' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:246: error:
`BUTTON4_DOUBLE_CLICKED' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:247: error:
`BUTTON4_TRIPLE_CLICKED' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:248: error:
`BUTTON_SHIFT' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:249: error:
`BUTTON_CTRL' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:250: error:
`BUTTON_ALT' undeclared (first use in this function)
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c: In function
`zm_info_ncurses':
/home/vrghost/new_soft/httpd/php-4.3.2/ext/ncurses/ncurses.c:297: error:
`NCURSES_VERSION' undeclared (first use in this function)
make: *** [ext/ncurses/ncurses.lo] Error 1
Cheers Ben
--
Edit bug report at http://bugs.php.net/?id=25577&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25577&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25577&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25577&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25577&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25577&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25577&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25577&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25577&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25577&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25577&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25577&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25577&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25577&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25577&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25577&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25577&r=float