php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39854 5.2.0 fails w/ --with-libedit
Submitted: 2006-12-16 15:53 UTC Modified: 2006-12-25 01:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mike at brenden dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.0 OS: ubuntu606 amd64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-12-16 15:53 UTC] mike at brenden dot com
Description:
------------
Related to Bug #35409.
ubuntu606 on amd64
php-5.2.0

./configure --disable-all --with-libedit
make

still fails




Reproduce code:
---------------
./configure --disable-all --with-libedit
make

gives several compile errors about php_mb_encoding_translation, php_mb_strrchr, etc.
and various others (maybe 30 error lines in all), but it first gives:

ext/readline/.libs/readline.o: In function `_readline_completion_cb':
/files/php-5.2.0/ext/readline/readline.c:430: undefined reference to `completion_matches'

which, when my other bulk of desired options is turned on, appears anytime --with-libedit is included.

not huge problem, but couldn't figure how to add onto bug #35409 and it appears to still be alive, over one year later.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-17 18:45 UTC] iliaa@php.net
What version of libedit are you using?

Also, you can try the following patch
http://bb.prohost.org/patch/readline.txt
 [2006-12-18 00:27 UTC] judas dot iscariote at gmail dot com
Ilia: just an addtional notice .. current mantained "libedit" 
(http://www.thrysoee.dk/editline/ as stated on the php.net/readline docs) install headers on /usr/include/editline and NOT in /usr/include/readline , I have a patch to fix this , but it was created for an specific non/universal situation , but you maybe can look into it..

see..

http://www.php5.cl/patches/php5-really-with-libedit.patch

HTH.
 [2006-12-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 13:01:29 2024 UTC