Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group