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

Re: BUG #2838: Compile error "tab-complete.c" on Mac OS X

From: Thomas Jahnsen <tjahnsenX(at)netscape(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2838: Compile error "tab-complete.c" on Mac OS X
Date: 2006-12-26 10:21:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On Dec 19, 2006, at 7:29 AM, Tom Lane wrote:

> "Thomas Jahnsen" <tjahnsenX(at)netscape(dot)net> writes:
>> I try to compile PostgreSQL 8.2, but it fails in the file "tab- 
>> complete.c"
>> (src/bin/psql/tab-complete.c). It reports an undeclared function  
>> call;
>> 'rl_filename_completion_function'
> Please be specific about the version of libreadline (or Apple's  
> libedit)
> you are using.
>             regards, tom lane

I'm not terribly UNIX-savvy, so I don't really know how to get a  
library version ala 'program --version', but I have "libreadline. 
5.2.dylib" and "libreadline.5.0.dylib", and the man-page says it's  
for version 5.0. I haven't changed my readline installation since I  
compiled and installed PostgreSQL 8.1.1, and then it worked with no  
I have an installation in both "/usr" and "/usr/local" - with "/usr/ 
local" taking precedence - maybe it gets confused, but they seem to  
be the same version.

I have in the meantime found a workaround - if I specify '--with- 
libedit-preferred', it compiles fine.

Thomas Jahnsen

In response to

pgsql-bugs by date

Next:From: Martijn van OosterhoutDate: 2006-12-26 11:53:48
Subject: Re: NEED URGENT HELP....
Previous:From: LeoDate: 2006-12-26 06:12:01
Subject: BUG #2865: Cannot save the data in pgAdmin

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