Re: readline library not found - Mailing list pgsql-general

From Scott Mead
Subject Re: readline library not found
Date
Msg-id s2sd3ab2ec81004160446x1c31a06fo9189499092147b65@mail.gmail.com
Whole thread Raw
In response to readline library not found  (zhong ming wu <mr.z.m.wu@gmail.com>)
Responses Re: readline library not found
List pgsql-general

On Thu, Apr 15, 2010 at 10:22 PM, zhong ming wu <mr.z.m.wu@gmail.com> wrote:
Dear List

I need to build a postgres on a linux machine that I don't have root access.

I built readline from source and installed it with prefix of /home/me/local

readline library are in /home/me/local/lib and headers files are in
/home/me/local/include/readline

After explicitly specfying these paths with --with-libs and
with-includes postgres configure is still choking
on readline.

To check that this should work, I disabled readline with
--without-readline and configure chokes at zlib not found.
So I install zlib from source at the same prefix.  This time postgres
configure finishes and then successfully built.

reading config.log is not helpful

Huh? This I find hard to believe.  Whenever I've had problems with readline it was actually libtermcap that was giving me a headache.  Are you sure that there's nothing in there that's pointing you to your libtermcap being .... 'wonky'


   Also, try setting CFLAGS to point to your include / lib dirs (-I/path/to/include) (-L/path/to/lib)

    

 

Now if this solution works for zlib why is it not working for readline?

thanks

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Tuple storage overhead
Next
From: dipti shah
Date:
Subject: Re: How to get whether user has ALL permissions on table?