pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem building PL/Perl
2+ messages / 2 participants
[nested] [flat]

* Problem building PL/Perl
@ 2001-03-17 01:45  Creager, Robert S <CreagRS@LOUISVILLE.STORTEK.COM>
  0 siblings, 1 reply; 2+ messages in thread

From: Creager, Robert S @ 2001-03-17 01:45 UTC (permalink / raw)
  To: pgsql-interfaces


Hey all,

I'm having trouble building plperl.c.  Cannot find include files
executor/spi.h, commands/trigger.h etc...  Basically, the include files it's
looking for are not in the include path on the command line.  There are no
include paths into the Postgres source tree.  Anyone else have this problem?
I re-ran the configure script after re-installing Perl with shared
libraries, to no avail.

Ultra 5, Solaris 2.6, Perl 5.6, March 16 CVS snapshot...

Thoughts?
Rob

Robert Creager
Senior Software Engineer
Client Server Library
303.673.2365 V
303.661.5379 F
888.912.4458 P
StorageTek
INFORMATION made POWERFUL





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Problem building PL/Perl
@ 2001-03-17 21:58  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Creager, Robert S <CreagRS@LOUISVILLE.STORTEK.COM>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-03-17 21:58 UTC (permalink / raw)
  To: Creager, Robert S <CreagRS@LOUISVILLE.STORTEK.COM>; +Cc: pgsql-interfaces

"Creager, Robert S" <CreagRS@LOUISVILLE.STORTEK.COM> writes:
> I'm having trouble building plperl.c.  Cannot find include files
> executor/spi.h, commands/trigger.h etc...  Basically, the include files it's
> looking for are not in the include path on the command line.  There are no
> include paths into the Postgres source tree.

Seems pretty broken.  What does the generated Makefile show as the
MakeMaker parameters?  I get


#   MakeMaker Parameters:

#       INC => q[-I../../../src/include]
#       NAME => q[plperl]
#       OBJECT => q[plperl.o eloglvl.o SPI.o]
#       XS => { SPI.xs=>q[SPI.c] }
#       dynamic_lib => { OTHERLDFLAGS=>q[/opt/perl5/lib/5.00503/PA-RISC2.0/auto/Opcode/Opcode.sl -L/opt/perl5/lib/5.00503/PA-RISC2.0/CORE -lperl] }


and the 'INC' part does get honored when the compiler is invoked.

> Ultra 5, Solaris 2.6, Perl 5.6, March 16 CVS snapshot...

Don't tell me the Perl guys redefined this stuff yet again :-(

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-17 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-17 01:45 Problem building PL/Perl Creager, Robert S <CreagRS@LOUISVILLE.STORTEK.COM>
2001-03-17 21:58 ` Tom Lane <tgl@sss.pgh.pa.us>

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