Re: BUG #5156: Problem compiling postgresql-8.5alpha2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pierre" <pierre42d(at)9online(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5156: Problem compiling postgresql-8.5alpha2
Date: 2009-10-31 16:17:29
Message-ID: 17242.1257005849@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Pierre" <pierre42d(at)9online(dot)fr> writes:
> /usr/local/include/readline/history.h:46: error: redefinition of `struct
> _hist_entry'
> /usr/local/include/readline/history.h:83: error: conflicting types for
> 'add_history'
> /usr/local/include/readline/readline.h:94: error: previous declaration of
> 'add_history' was here
> /usr/local/include/readline/history.h:83: error: conflicting types for
> 'add_history'
> /usr/local/include/readline/readline.h:94: error: previous declaration of
> 'add_history' was here

This is not our problem, it's yours. You have a broken --- ie, not
self-consistent --- set of readline header files in /usr/local.

Why are you using a locally built readline library at all? It should
be available as part of whatever Linux distribution you are using.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2009-10-31 23:41:40 BUG #5157: Hash index not concurrency safe
Previous Message Robert Haas 2009-10-31 13:13:26 Re: BUG #5140: initdb crashes