"Bob Friesenhahn" <bfriesen(at)simple(dot)dallas(dot)tx(dot)us> writes:
> libedit-20060829-2.9 was installed to /usr/local.
> Configure was executed like:
> LDFLAGS=-L/usr/local/lib ./configure '--prefix=/opt/foo/postgresql'
> '--with-openssl' '--enable-thread-safety' '--with-pam' '--with-python'
> '--enable-integer-datetimes'
> configure: error: history header not found
Apparently your compiler doesn't search /usr/local/include by default.
The recommended way to do this is to
configure --with-includes=/usr/local/include --with-libs=/usr/local/lib
rather than fooling with LDFLAGS or CPPFLAGS directly.
regards, tom lane