libedit / readline
Roman Neuhauser
neuhauser at bellavista.cz
Sun Apr 20 10:15:08 PDT 2003
Hi there,
I'd like to build PHP with libedit. The problem is, PHP's ./configure
script checks for readline() in libedit, but libedit.so.3 doesn't
contain that symbol; the port version of libedit is also configured to
not export it.
What I'd like to know is this: if libedit is meant to be a drop-in
replacement for readline, why doesn't it export readline()?
configure:64106: checking for readline in -ledit
configure:64125: gcc -o conftest -g -O2
-L/lib
conftest.c -ledit -lncurses -lcrypt -lm -lcrypt 1>&5
/tmp/ccpBx8F5.o: In function `main':
/home/roman/install/php/php-4.3.1/configure(.text+0x7): undefined reference to `readline'
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; }
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
More information about the freebsd-ports
mailing list