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

Re: postgresql-7.2b4/src/bin/psql/tab-complete.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Emberson <emberson(at)phc(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: postgresql-7.2b4/src/bin/psql/tab-complete.h
Date: 2002-01-10 23:36:23
Message-ID: 23673.1010705783@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Richard Emberson <emberson(at)phc(dot)net> writes:
> FYI: from a first time Postgresql builder:
>> uname -a
> Linux olympia.localDomain 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686
> unknown
>> ./configure --enable-multibyte --with-java --enable-syslog --with-perl
> --with-tcl

> Had to add to tab-complete.h:
> #include </usr/include/readline/rltypedefs.h>
> #include </usr/include/readline/readline.h>

> and change in the local directory Makefile from:
> psql: $(OBJS) $(libpq_builddir)/libpq.a
>         $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS)  $(LIBS) -o $@
> to:

> psql: $(OBJS) $(libpq_builddir)/libpq.a
>         $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) -L/usr/lib $(LIBS)
> -o $@

> So that it would pick up the readline libraray

I don't believe either of those changes is necessary --- /usr/include
and /usr/lib should be searched by default.  Perhaps you didn't have
libreadline installed to begin with?

			regards, tom lane

In response to

Responses

pgsql-committers by date

Next:From: momjianDate: 2002-01-10 23:40:59
Subject: pgsql/contrib/pg_resetxlog pg_resetxlog.c
Previous:From: momjianDate: 2002-01-10 23:35:19
Subject: pgsql/doc FAQ src/FAQ/FAQ.html

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