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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sun Dec 22 02:01:28 2024 UTC