php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16115 readline prints errors if compiled along with apxs
Submitted: 2002-03-16 15:18 UTC Modified: 2002-03-22 07:24 UTC
From: sander@php.net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0CVS-2002-03-1 OS: Debian (Sid) Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sander@php.net
New email:
PHP Version: OS:

 

 [2002-03-16 15:18 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-16 15:56 UTC] derick@php.net
hmmm, I get the same with the ncurses extention.... (but not readline)

Derick
 [2002-03-19 11:15 UTC] sander@php.net
Reproduced the problem with ncurses too :(
 [2002-03-22 07:24 UTC] edink@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 08:01:29 2024 UTC