Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17338
| From | crankypuss <crankypuss@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | install ncurses (unknown type name ‘zend_rsrc_list_entry’) |
| Date | 2017-02-23 03:52 -0700 |
| Organization | lol |
| Message-ID | <o8mep4$jct$1@dont-email.me> (permalink) |
Running ubuntu 16.04, PHP-7 cli, trying to install ncurses.
The "sudo pecl install ncurses" is failing,
"/tmp/pear/temp/ncurses/ncurses.c:36:37: error: unknown type name
‘zend_rsrc_list_entry’
static void ncurses_destruct_window(zend_rsrc_list_entry *rsrc TSRMLS_DC)
^
/tmp/pear/temp/ncurses/ncurses.c:45:36: error: unknown type name
‘zend_rsrc_list_entry’
static void ncurses_destruct_panel(zend_rsrc_list_entry *rsrc TSRMLS_DC)
^
/tmp/pear/temp/ncurses/ncurses.c: In function ‘zm_startup_ncurses’:
/tmp/pear/temp/ncurses/ncurses.c:247:57: error:
‘ncurses_destruct_window’ undeclared (first use in this function)
le_ncurses_windows =
zend_register_list_destructors_ex(ncurses_destruct_window, NULL,
"ncurses_window", module_number);
^
/tmp/pear/temp/ncurses/ncurses.c:247:57: note: each undeclared
identifier is reported only once for each function it appears in
/tmp/pear/temp/ncurses/ncurses.c:249:56: error: ‘ncurses_destruct_panel’
undeclared (first use in this function)
le_ncurses_panels =
zend_register_list_destructors_ex(ncurses_destruct_panel, NULL,
"ncurses_panel", module_number);
^
Makefile:194: recipe for target 'ncurses.lo' failed
make: *** [ncurses.lo] Error 1
ERROR: `make' failed"
I've found that it's an apparent version mismatch,
http://stackoverflow.com/questions/34264584/unknown-type-name-zend-string
What I haven't found yet is how to resolve the issue. Not sure where to
go from here. I was happily using php-5 when I changed from debian to
ubuntu, which installs php-7. Is there no php-7 version of ncurses yet?
Really, I'm confused. TIA.
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
install ncurses (unknown type name ‘zend_rsrc_list_entry’) crankypuss <crankypuss@invalid.invalid> - 2017-02-23 03:52 -0700
Re: install ncurses (unknown type name ‘zend_rsrc_list_entry’) "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-02-23 12:35 +0100
Re: install ncurses (unknown type name ‘zend_rsrc_list_entry’) crankypuss <crankypuss@invalid.invalid> - 2017-02-23 04:55 -0700
Re: install ncurses (unknown type name ‘zend_rsrc_list_entry’) jesuspornstar1@gmail.com - 2017-04-25 01:45 -0700
Re: install ncurses (unknown type name ‘zend_rsrc_list_entry’) Jerry Stuckle <jstucklex@attglobal.net> - 2017-04-25 08:13 -0400
csiph-web