On Sat, Sep 20, 2003 at 08:35:54AM -0400, Thorpe Mayes wrote: > I am trying to install the nspostgres driver (nspostgres-4.0beta1). The system is > Linux 9.0; > aolserver 3.5.0.
Not meaning to be pedantic here, but there is no Linux 9.0. Linux is at most at version 2.6 (in development). You meant Red Hat Linux 9.0, which is a distribution of Linux. > In file included from nspostgres.c:32: > nspostgres.h:48:22: libpq-fe.h: No such file or directory gcc is not finding libpq-fe.h > When I locate libpq-fe.h, I get: > > # locate libpq-fe.h > /usr/local/src/postgresql-7.3.4/src/interfaces/libpq/libpq-fe.h > /usr/local/src/postgresql-7.3.4/src/test/regress/tmp_check/install/usr/local/pgsql/ > include/libpq-fe.h > /usr/local/pgsql/include/libpq-fe.h > > Where do I go from here? gcc won't search the entire hard drive. It'll look in a few places like /usr/lib. Check the Makefile for the nspostgres module and see where it is looking for the PG libraries, and modify the path to be the path you have or simply add a -I/usr/local/src/postgresql-7.3.4/src/interfaces/libpq to the gcc line. -Roberto -- +----| Roberto Mello - http://www.brasileiro.net/ |------+ + Computer Science Graduate Student, Utah State University + + USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ + I,m A ae ta.. teSster fo r Wi dos N t ... -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
