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

Поиск
Список
Период
Сортировка
Искать

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

От:
Richard Emberson <emberson@phc.net>
Дата:
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 
#include 

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


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

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Richard Emberson  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 
> #include 

> 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

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

От:
Richard Emberson <emberson@phc.net>
Дата:
Tom Lane wrote:

> Richard Emberson  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 
> > #include 
>
> > 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

readline was installed - its part of the basic RedHat 7.2 configuration.
Being a complete Postgresql beginner, I am just happy that with a couple
of changes I got it to build at all.
A different topic: which mailing list do I post questions about production
hardware selection, disk layout (table to disk), RAD, and backup hardware?

Thanks.
Richard

FAQ