Bug #16115 Updated: readline prints errors if compiled along with apxs

From: Date: Fri, 22 Mar 2002 12:24:26 +0000
Subject: Bug #16115 Updated: readline prints errors if compiled along with apxs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3146@lists.php.net to get a copy of this message
ID: 16115 Updated by: edink@php.net Reported By: sander@php.net -Status: Open +Status: Closed Bug Type: *Configuration Issues Operating System: Debian (Sid) Linux PHP Version: 4.0CVS-2002-03-1 New Comment: This bug has been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2002-03-19 11:15:08] sander@php.net Reproduced the problem with ncurses too :( ------------------------------------------------------------------------ [2002-03-16 15:56:34] derick@php.net hmmm, I get the same with the ncurses extention.... (but not readline) Derick ------------------------------------------------------------------------ [2002-03-16 15:18:51] sander@php.net If you compile PHP with readline and apxs then every invocation of the CLI will print the following errors: PHP Warning: Function registration failed - duplicate name - readline in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_info in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_add_history in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_clear_history in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_list_history in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_read_history in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_write_history in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - readline_completion_function in Unknown on line 0 PHP Warning: readline: Unable to register functions, unable to load in Unknown on line 0 In despite of these errors, everything (including readline) works fine. To be completely clear, this is my configure line: ./configure --with-readline --with-apxs=/usr/local/apache/bin/apxs Any other configure line (without apxs) seems to work fine. Note: only 4.3.0-dev (ok, 4.2.1-dev :) seems to be affected, 4.2.0-dev NOT. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16115&edit=1

« previous php.bugs (#3146) next »