Re: BUG #5156: Problem compiling postgresql-8.5alpha2 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5156: Problem compiling postgresql-8.5alpha2
Date
Msg-id 17242.1257005849@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5156: Problem compiling postgresql-8.5alpha2  ("Pierre" <pierre42d@9online.fr>)
List pgsql-bugs
"Pierre" <pierre42d@9online.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

pgsql-bugs by date:

Previous
From: "Pierre"
Date:
Subject: BUG #5156: Problem compiling postgresql-8.5alpha2
Next
From: "Jeff Janes"
Date:
Subject: BUG #5157: Hash index not concurrency safe