pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Cain <cain@cshl.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Support for DBD::PgSPI with Pg 7.4.8?
Date: Wed, 13 Jul 2005 13:51:12 -0400
Message-ID: <1121277072.4169.14.camel@localhost.localdomain> (raw)
In-Reply-To: <14041.1121276181@sss.pgh.pa.us>
References: <1121275178.4169.11.camel@localhost.localdomain>
	<14041.1121276181@sss.pgh.pa.us>

Tom,

Thanks! Of course I should have figured that out on my own.  Anyway, to
get it to work, I had to modify the Makefile.PL file for the
distribution.  It requires a $POSTGRES_HOME environment variable, which
doesn't help in Fedora, because files are spread all over the place.  I
just added a few items to the include list so that the appropriate
header files would be found.

Thanks,
Scott


On Wed, 2005-07-13 at 13:36 -0400, Tom Lane wrote:
> Scott Cain <cain@cshl.edu> writes:
> > gcc -c  -I/var/lib/pgsql/include -I/var/lib/pgsql/backend -I/var/lib/pgsql/interfaces/libpq -I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/ -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   PgSPI.c
> > In file included from PgSPI.xs:14:
> > PgSPI.h:16:22: postgres.h: No such file or directory
> > PgSPI.h:17:21: funcapi.h: No such file or directory
> > PgSPI.h:18:26: executor/spi.h: No such file or directory
> > PgSPI.h:26:20: ppport.h: No such file or directory
> 
> Either you don't have those header files available, or the PgSPI
> makefile is confused about where to look for them --- the
> -I/var/lib/pgsql/include -I/var/lib/pgsql/backend switches look
> like rather generic guesses as to where they are...
> 
> All the other errors are probably just cascading from that.
> 
> 			regards, tom lane
-- 
------------------------------------------------------------------------
Scott Cain, Ph. D.                                         cain@cshl.edu
GMOD Coordinator (http://www.gmod.org/)                     216-392-3087
Cold Spring Harbor Laboratory




view thread (3+ messages)

Message-ID: <1121277072.4169.14.camel@localhost.localdomain>
Permalink:  ../1121277072.4169.14.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1121277072.4169.14.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cain@cshl.edu, tgl@sss.pgh.pa.us
  Subject: Re: Support for DBD::PgSPI with Pg 7.4.8?
  In-Reply-To: <1121277072.4169.14.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox