Richard Poole wrote:
> 
> On Sun, Feb 04, 2001 at 02:37:32PM -0700, [EMAIL PROTECTED] wrote:
> > I'm hoping you can point me in the right direction, I'm trying to install version 
>0.93 or 0.95 of DBD:Pg.  I'm getting the following error with either one:
> 
> > In file included from Pg.xs:13:
> > Pg.h:13: libpq-fe.h: No such file or directory
> 
> You need to have the Postgres header files installed to compile DBD::Pg.
> It looks like you're using a package-based Linux distribution; you'll
> need the -dev package corresponding to the Postgres you're using.
> Incidentally, your Postgres is rather old; you should probably update
> to 7.0.3 if possible (there are RPMs and debs linked from the Postgres
> Web site).
> 
> Richard

Make sure you set your POSTGRES_INCLUDE and POSTGRES_LIB environment
variables. It looks as if make cannot find the include directory for
postgres.

If using csh:   setenv POSTGRES_INCLUDE /usr/local/pgsql/include     and
                setenv POSTGRES_LIB /usr/local/pgsql/lib

Do this before running make. For sh or bash you will need to use their
method for setting environment variables.

-- 
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street 
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353

Reply via email to