Re: Problem building PL/Perl

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Creager, Robert S" <CreagRS(at)LOUISVILLE(dot)STORTEK(dot)COM>
Cc: "'Interfaces - PGSQL'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Problem building PL/Perl
Date: 2001-03-17 21:58:25
Message-ID: 14452.984866305@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Creager, Robert S" <CreagRS(at)LOUISVILLE(dot)STORTEK(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2001-03-18 20:37:41 Re: Trigger problem
Previous Message jreniz 2001-03-17 05:22:44 Trigger problem