Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17338 > unrolled thread
| Started by | crankypuss <crankypuss@invalid.invalid> |
|---|---|
| First post | 2017-02-23 03:52 -0700 |
| Last post | 2017-04-25 08:13 -0400 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.php
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
| From | crankypuss <crankypuss@invalid.invalid> |
|---|---|
| Date | 2017-02-23 03:52 -0700 |
| Subject | install ncurses (unknown type name ‘zend_rsrc_list_entry’) |
| Message-ID | <o8mep4$jct$1@dont-email.me> |
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.
[toc] | [next] | [standalone]
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Date | 2017-02-23 12:35 +0100 |
| Message-ID | <o8mheh$lno$1@solani.org> |
| In reply to | #17338 |
On 23.02.2017 at 11:52, crankypuss wrote: > 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? Indeed, there has not been a PHP 7 compatible release (the latest release is from 2012[1], long predating PHP 7), but there is a commit in trunk which claims to be a "basic 7 port"[2]. Note that there's also a ticket in the bug tracker, which has a patch for PHP 7 compatibility[3]. Consider to compile either yourself. [1] <https://pecl.php.net/package/ncurses> [2] <http://svn.php.net/viewvc/pecl/ncurses/trunk/ncurses.c?revision=340054&view=markup> [3] <https://bugs.php.net/bug.php?id=71299> -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | crankypuss <crankypuss@invalid.invalid> |
|---|---|
| Date | 2017-02-23 04:55 -0700 |
| Message-ID | <o8migb$vc0$1@dont-email.me> |
| In reply to | #17339 |
On 02/23/2017 04:35 AM, Christoph M. Becker wrote: > On 23.02.2017 at 11:52, crankypuss wrote: > >> 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? > > Indeed, there has not been a PHP 7 compatible release (the latest > release is from 2012[1], long predating PHP 7), but there is a commit in > trunk which claims to be a "basic 7 port"[2]. Note that there's also a > ticket in the bug tracker, which has a patch for PHP 7 compatibility[3]. > Consider to compile either yourself. > > [1] <https://pecl.php.net/package/ncurses> > [2] > <http://svn.php.net/viewvc/pecl/ncurses/trunk/ncurses.c?revision=340054&view=markup> > [3] <https://bugs.php.net/bug.php?id=71299> > Pardon my french, but fuckit. I've been using PHP for prototyping and i've been able to do some fairly interesting things with it, but i'm at the point of moving to C/C++ and the only value ncurses has to me at this point is that i could then run my backup and boot-setup utilities. I'll just reboot into debian-jessie when i need these functions. I thought about installing a previous version of php-cli but the only one in the Ubuntu repos is the one already installed. If somebody comes up with a better answer, that would be great, but I'm not willing to make a career out of installing PHP extensions, debugging make file is not my thang. Thanks very much.
[toc] | [prev] | [next] | [standalone]
| From | jesuspornstar1@gmail.com |
|---|---|
| Date | 2017-04-25 01:45 -0700 |
| Message-ID | <d1d45fec-832f-4fd1-93ac-3f93e5216374@googlegroups.com> |
| In reply to | #17340 |
On Thursday, February 23, 2017 at 4:55:45 AM UTC-7, crankypuss wrote: > On 02/23/2017 04:35 AM, Christoph M. Becker wrote: > > On 23.02.2017 at 11:52, crankypuss wrote: > > > >> 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? > > > > Indeed, there has not been a PHP 7 compatible release (the latest > > release is from 2012[1], long predating PHP 7), but there is a commit in > > trunk which claims to be a "basic 7 port"[2]. Note that there's also a > > ticket in the bug tracker, which has a patch for PHP 7 compatibility[3]. > > Consider to compile either yourself. > > > > [1] <https://pecl.php.net/package/ncurses> > > [2] > > <http://svn.php.net/viewvc/pecl/ncurses/trunk/ncurses.c?revision=340054&view=markup> > > [3] <https://bugs.php.net/bug.php?id=71299> > > > > Pardon my french, but fuckit. I've been using PHP for prototyping and > i've been able to do some fairly interesting things with it, but i'm at > the point of moving to C/C++ and the only value ncurses has to me at > this point is that i could then run my backup and boot-setup utilities. > I'll just reboot into debian-jessie when i need these functions. I > thought about installing a previous version of php-cli but the only one > in the Ubuntu repos is the one already installed. If somebody comes up > with a better answer, that would be great, but I'm not willing to make a > career out of installing PHP extensions, debugging make file is not my > thang. Thanks very much. I don't know why these kinds of issues are posted in Google groups forums that no one reads - but yeah, fuckit.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2017-04-25 08:13 -0400 |
| Message-ID | <odnebd$j5c$1@jstuckle.eternal-september.org> |
| In reply to | #17371 |
On 4/25/2017 4:45 AM, jesuspornstar1@gmail.com wrote: > On Thursday, February 23, 2017 at 4:55:45 AM UTC-7, crankypuss wrote: >> On 02/23/2017 04:35 AM, Christoph M. Becker wrote: >>> On 23.02.2017 at 11:52, crankypuss wrote: >>> >>>> 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? >>> >>> Indeed, there has not been a PHP 7 compatible release (the latest >>> release is from 2012[1], long predating PHP 7), but there is a commit in >>> trunk which claims to be a "basic 7 port"[2]. Note that there's also a >>> ticket in the bug tracker, which has a patch for PHP 7 compatibility[3]. >>> Consider to compile either yourself. >>> >>> [1] <https://pecl.php.net/package/ncurses> >>> [2] >>> <http://svn.php.net/viewvc/pecl/ncurses/trunk/ncurses.c?revision=340054&view=markup> >>> [3] <https://bugs.php.net/bug.php?id=71299> >>> >> >> Pardon my french, but fuckit. I've been using PHP for prototyping and >> i've been able to do some fairly interesting things with it, but i'm at >> the point of moving to C/C++ and the only value ncurses has to me at >> this point is that i could then run my backup and boot-setup utilities. >> I'll just reboot into debian-jessie when i need these functions. I >> thought about installing a previous version of php-cli but the only one >> in the Ubuntu repos is the one already installed. If somebody comes up >> with a better answer, that would be great, but I'm not willing to make a >> career out of installing PHP extensions, debugging make file is not my >> thang. Thanks very much. > > I don't know why these kinds of issues are posted in Google groups forums that no one reads - but yeah, fuckit. > First of all, this usenet, not a Google groups forum. Google Groups is just a poor interface to it. And there are quite a few people who read this newsgroup. No, there isn't much traffic, but that does not mean it isn't being read. As for crankypuss's problem - Christoph provided a solution. No, it's not the easiest solution, but when working with volunteers, not everything gets updated as quickly as one would like. I also would like to see ncurses on PHP7, but it's not a deal killer for me. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web