Thanks for your reply.I have installed readline from src without default
prefix because i have no privelege install lib to /usr, there are include
header files and libreadline*.a and also .so installed,so I think it is dev
package,right?
在 2011-8-16 下午8:01,"Craig Ringer" <ringerc(at)ringerc(dot)id(dot)au>写道:
> 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