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@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/