I've just bought a new dedicated server and I wanted to install the basic services on it, but when I tried to install php after updating my ports I get the following error message (after PHP's configuring is done).
checking for readline in -ledit... no ** Cannot --enable-pcretest-libedit because libedit library was not found. ===> Script "configure" failed unexpectedly. Please report the problem to mm@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/pcre/work/pcre-8.31/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/pcre. *** Error code 1 Stop in /usr/ports/devel/pcre. *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5.
And it seems that I have the
libedit library installed properly:
# locate libedit /lib/libedit.so.7 /usr/lib/libedit.a /usr/lib/libedit.so /usr/lib/libedit_p.a /usr/lib32/libedit.a /usr/lib32/libedit.so /usr/lib32/libedit.so.7 /usr/lib32/libedit_p.a
It happends when I want to install PHP, Lighttpd or even MySQL, how can I solve that?