Re: BUG #2674: libedit not detected

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bob Friesenhahn" <bfriesen(at)simple(dot)dallas(dot)tx(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2674: libedit not detected
Date: 2006-10-04 20:47:53
Message-ID: 21539.1159994873@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bob Friesenhahn 2006-10-04 21:09:21 Re: BUG #2674: libedit not detected
Previous Message Bruce Momjian 2006-10-04 19:31:15 Re: error compiling 7.4.13 on OSX 10.4.8 -- Intel