Thread: missing instruction for "client-only" install

missing instruction for "client-only" install

From
Vivek Khera
Date:
The installation instructions for client-only say to do this:

     gmake -C src/bin install
     gmake -C src/interfaces install
     gmake -C doc install

However, this leaves you with incomplete headers.  The following
should be added to the instructions.  This was true for 7.1.1, 7.1.2,
and 7.1.3.  I don't know if 7.2 has addressed this already.

cp src/include/postgres_ext.h /usr/local/pgsql/include/

After this, you can actually compile C code that uses postgres libs,
in particular the DBD::Pg module for Perl.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Re: missing instruction for "client-only" install

From
Tom Lane
Date:
Vivek Khera <khera@kcilink.com> writes:
> The installation instructions for client-only say to do this:
>      gmake -C src/bin install
>      gmake -C src/interfaces install
>      gmake -C doc install

> However, this leaves you with incomplete headers.  The following
> should be added to the instructions.

I think the preferred thing is

    gmake -C src/include install

rather than manually installing the headers.  I've fixed
installation.sgml.

            regards, tom lane