#25577 [Opn->Fbk]: PHP ncurses code error?
| From: | iliaa@php.net | Date: | Wed, 17 Sep 2003 22:41:17 +0000 |
| Subject: | #25577 [Opn->Fbk]: PHP ncurses code error? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47726@lists.php.net to get a copy of this message | ||
ID: 25577
Updated by: iliaa@php.net
Reported By: root at noms4me dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Sun solaris 9
PHP Version: 4.3.3
New Comment:
Make sure you only have 1 copy of the ncurses library/headers on your
system.
Previous Comments:
------------------------------------------------------------------------
[2003-09-17 14:28:50] root at noms4me dot net
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 this bug report at http://bugs.php.net/?id=25577&edit=1