ID: 21153 Comment by: Andrew dot Duka at oktet dot ru Reported By: oden dot eriksson at linux-mandrake dot com Status: No Feedback Bug Type: Readline related Operating System: Mandrake 9.0 PHP Version: 4.3.0RC4 New Comment:
The same problem appears on the redhat boxes (7.3, 8.0). But solution is quite simple: to get readline support in PHP you need ncurses-devel package installed on your redhat box. This works on redhat-7.3 and 8.0 with PHP 4.3.1 and PHP4-200303141430 snapshot. Previous Comments: ------------------------------------------------------------------------ [2003-02-20 07:59:56] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-10 21:14:07] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip And if it still fails, send me the config.log file. ------------------------------------------------------------------------ [2003-01-13 12:24:01] oden dot eriksson at linux-mandrake dot com No, it's because ncurses stuff isn't present in readline for Mandrake. I found the error and sent a patch a while back to the cooker list, it went ignored (that's not unusual). Well, here's the fix anyway: http://www.mandrake.com/en/archives/cooker/2002-12/msg01367.php Chears. ------------------------------------------------------------------------ [2003-01-12 16:00:37] fdragon at fdragon dot org This looks to be related to readline includes in /usr/include and the actualy libraries being installed in /lib so they are available for applications such as bash during boot up when /usr may not be available. ------------------------------------------------------------------------ [2003-01-07 12:57:20] jmdault at mandrakesoft dot com It does not work with: cd ext/readline;phpize;aclocal ./configure --with-readline [--SNIP--] checking for libedit readline replacement... yes, shared checking for readline support... yes, shared checking for tgetent in -lncurses... yes checking for readline in -lreadline... no configure: error: readline library not found The problem is it checks for tgetent in -lncurses, but it doesn't add the lib in the $LIBS variable. I have the GNU readline library, version 4.3 I managed to get it work, but then, it also insists on checking *both* readline and libedit. So I installed libedit, and the same problem with the -lncurses appeared. Seems to me someone should check the config.m4.... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21153 -- Edit this bug report at http://bugs.php.net/?id=21153&edit=1