Re: [GENERAL] 9.0.4 run configure failed with readline enable on susu linux x86-64

2011-08-16 Thread Tom Lane
Jov writes: > ./configure --prefix=/data/pgsql > --with-includes=/data/readline/include > --with-libraries=/data/readline/lib > failed with: > ... > checking test program... failed > configure: error: > Could not execute a simple test program. This may be a problem > related to locating shared l

Re: [GENERAL] 9.0.4 run configure failed with readline enable on susu linux x86-64

2011-08-16 Thread Jov
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" 写道: > On 16/08/2011 5:16 PM

Re: [GENERAL] 9.0.4 run configure failed with readline enable on susu linux x86-64

2011-08-16 Thread Craig Ringer
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 co

[GENERAL] 9.0.4 run configure failed with readline enable on susu linux x86-64

2011-08-16 Thread Jov
./configure --prefix=/data/pgsql --with-includes=/data/readline/include --with-libraries=/data/readline/lib failed with: ... checking for the pthreads library -lpthread... yes checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for the pth