You are not logged in.

#1 2009-03-02 07:05:42

fatblueduck
Member
From: Long Beach
Registered: 2005-04-20
Posts: 39

php-ncurses no display in arch linux

I have copied the ncurses-php code found here, http://devzone.zend.com/article/1083-Us … ses-in-PHP, and I have saved it as test_ncurses.php. When I run

php test_ncurses.php

it produces a basic ncurses screen in ubuntu, but nothing happens in arch linux.

I checked and found that arch linux did compile php with support for ncurses. Since there is no error shown, I'm not sure what to try next. Does anyone have a suggestion for me so I can start studying ncurses-php with arch?

Last edited by Chris DePauw (2009-03-02 07:06:45)

Offline

#2 2009-03-02 07:12:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: php-ncurses no display in arch linux

You can use ABS to get the package and adjust it to build with ncurses support and build it using makepkg.  Read the wiki page about ABS and makepkg.  If this is a useful option to be included for people in general, you could also use the bug tracker to request the official Arch package adds this.

Offline

#3 2009-03-02 07:22:04

fatblueduck
Member
From: Long Beach
Registered: 2005-04-20
Posts: 39

Re: php-ncurses no display in arch linux

Yes, I have built php with abs. Abs' default php package includes the configuration argument '--with-ncurses=share', but abs' php is still not able to run this script correctly.

Offline

#4 2010-03-02 19:01:30

lavanderson
Member
Registered: 2009-11-14
Posts: 3

Re: php-ncurses no display in arch linux

Anything in /var/log/everything.log?

I had a simliar problem after installing ncurses via pecl.  I found "unnable to load dynamic library '/usr/lib/php/20060613/ncurses.so'" in everything.log.  Copying /usr/lib/php/modules/ncurses.so into /usr/lib/php/20060613/, therefor, fixed it.

Offline

Board footer

Powered by FluxBB