I put that include from /usr/local/include because 'configure' wasn't finding readline.h (I think). I'll look into this.
Thanks again for the help.
On Mon, Mar 19, 2018 at 4:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Terry Phelps <tgphelps50@gmail.com> writes: > Thank you for your help. That resolved the problem. My bad. > The build ran much further and then got another error, which I'll mention > here, and go research it, since it could be just my bleeding edge source > code.
It looks like you've got -I/usr/local/include in front of the build's own -I switches, and that's allowing it to pull in back-version copies of PG-related include files instead of the ones in the source tree.
I'm not totally sure, but if you inject -I/usr/local/include through CPPFLAGS not CFLAGS, configure might do the right thing automatically. Otherwise, you could manually edit CPPFLAGS in src/Makefile.global after configuring to get the right -I order.