| From: | Vivek Khera <khera(at)kcilink(dot)com> | 
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org | 
| Subject: | "client" install doesn't install one necessary header file | 
| Date: | 2001-05-31 22:01:03 | 
| Message-ID: | 15126.48927.899276.859371@onceler.kciLink.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-bugs | 
I did a full build of postgres 7.1.2 on FreeBSD, and then went to do a
client install on a few front-end servers.  The INSTALL file says to
do this:
     gmake -C src/bin install
     gmake -C src/interfaces install
     gmake -C doc install
However, this doesn't let you build additional client apps on these
systems since libpq-fe.h does an include of posgres_ext.h.
For example, building DBD::Pg errors out like this:
In file included from Pg.h:17,
                 from Pg.xs:13:
/usr/local/pgsql/include/libpq-fe.h:27: postgres_ext.h: No such file or directory
gmake: *** [Pg.o] Error 1
Copying the file src/include/postgres_ext.h into
/usr/local/pgsql/include allows the build to complete.
I propose adding the command
cp src/include/postgres_ext.h /usr/local/pgsql/include
to the "Client-only" install instructions.  It doesn't seem necessary
to install all of src/include.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | pgsql-bugs | 2001-06-01 12:56:50 | pg_dump: Too much <SPACE> in COPY ouput | 
| Previous Message | Letitia Hickman | 2001-05-31 21:48:29 | Help! |