You are not logged in.
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
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
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
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