> I've got the same problem with readline and psql using 7.0 RC1.
>
> I found that there was something odd when ran configure. Here's the
> readline stuff I grepped out of config.cache:
>
> ac_cv_header_readline_h=${ac_cv_header_readline_h='no'}
>
ac_cv_header_readline_history_h=${ac_cv_header_readline_history_h='yes'}
>
ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h='yes'}
> ac_cv_lib_readline_main=${ac_cv_lib_readline_main='yes'}
>
ac_cv_lib_readline_using_history=${ac_cv_lib_readline_using_history='yes'}
>
> Notice that the first line still says "no". Looks to me like it wants to
> find readline.h in /usr/include, as well as, /usr/include/readline.
Could
> this be the source of the problem?
Interesting observation, thanks for following up. In my case, I gave up
(since the machine that needed the emergency upgrade was slightly
whacked-out), and copied the psql binary from a different machine, a Redhat
6.1 setup, where the readline stuff compiled succesfully. Sorry I can't be
of more help.... well, let me see...
On the system where it compiled succesfully, readline.h is only found in
/usr/include/readline/readline.h.
steve