On 16/08/2011 5:16 PM, Jov wrote:
> but if run configure without any args,it error with:
> ...
> checking for -lreadline... no
> checking for -ledit... no
> configure: error: readline library not found
> If you have readline already installed, see config.log for details on the
> failure. It is possible the compiler isn't looking in the proper directory.
> Use --without-readline to disable readline support.
>
> if --without-readline,configure runs OK
>
> how can i configure pg with readline?
>
You'll find that there's a -dev or -devel package for readline that you
need to install.
--
Craig Ringer