postgresql-7.2b4/src/bin/psql/tab-complete.h - Mailing list pgsql-committers

From Richard Emberson
Subject postgresql-7.2b4/src/bin/psql/tab-complete.h
Date
Msg-id 3C3E1775.4E8D7B5E@phc.net
Whole thread Raw
Responses Re: postgresql-7.2b4/src/bin/psql/tab-complete.h
List pgsql-committers
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



pgsql-committers by date:

Previous
From: momjian@postgresql.org
Date:
Subject: pgsql/contrib/pg_resetxlog README.pg_resetxlog ...
Next
From: momjian@postgresql.org
Date:
Subject: pgsql/doc FAQ src/FAQ/FAQ.html