php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21196 libedit problems
Submitted: 2002-12-26 07:51 UTC Modified: 2002-12-26 16:34 UTC
From: amd at tt dot ee Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.3.0RC4 OS: Gentoo/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: amd at tt dot ee
New email:
PHP Version: OS:

 

 [2002-12-26 07:51 UTC] amd at tt dot ee
./configure --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-jpeg-dir --with-tiff-dir --with-db --enable-dba --with-flatfile --enable-dbase --enable-dio --with-dom --with-zlib-dir --with-dom-xslt --with-dom-exslt --enable-filepro --with-gd --enable-ftp --with-jpeg-dir --with-png-dir --with-xpm-dir --with-zlib-dir --with-ttf --with-freetype-dir --with-t1lib --enable-gd-native-ttf --with-gettext --with-hyperwave --with-iconv --with-imap --with-imap-ssl --with-java --enable-mbstring --enable-mbregex  --with-mcrypt --with-mhash --with-mysql --with-mysql-sock --with-zlib-dir --with-ncurses --with-pdflib --with-jpeg-dir --with-png-dir --with-zlib-dir --with-tiff-dir --with-libedit --with-qtdom --with-mm --enable-shmop --with-snmp --enable-sockets --with-swf --enable-sysvmsg --enable-sysvsem --enable-sysvshm 
--
checking for readline support... no
checking for tgetent in -lncurses... yes
checking for readline in -ledit... no
configure: error: edit library required by readline not found

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-26 13:12 UTC] derick@php.net
Please post the relevant pieces from config.log.

Derick
 [2002-12-26 16:32 UTC] amd at tt dot ee
~2000 lines cut
--
configure:64106: checking for readline in -ledit
configure:64125: gcc -o conftest -g -O2
    -L/lib
    -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/server -L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/native_threads -L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386 -L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386 -Wl,-rpath,/lib -L/lib -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib conftest.c -ledit  -lncurses -lqt -lpdf -lz -ltiff -lpng -ljpeg -lpanel -lncurses -lmhash -lmcrypt -lltdl -ljava -lcrypt -lpam -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lbz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcrypt -lxml2 -lz -lm 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
configure: failed program was:
#line 64114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char readline();

int main() {
readline()
; return 0; }
 [2002-12-26 16:34 UTC] derick@php.net
Just install libedit and it will be fine (font forget to install the headers).

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC