Re: RE: One last thing... psql and readline - Mailing list pgsql-general

From Steve Wolfe
Subject Re: RE: One last thing... psql and readline
Date
Msg-id 003301bfb47b$0f8cb540$85755ad1@iboats.com
Whole thread Raw
In response to RE: One last thing... psql and readline  ("Michael S. Kelly" <michaelk@axian.com>)
List pgsql-general
> 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


pgsql-general by date:

Previous
From: "Michael S. Kelly"
Date:
Subject: RE: One last thing... psql and readline
Next
From: Peter Eisentraut
Date:
Subject: Re: Enumerated data type