Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2HLx0x34464 for ; Sat, 17 Mar 2001 16:59:01 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f2HLwQt14455; Sat, 17 Mar 2001 16:58:26 -0500 (EST) To: "Creager, Robert S" cc: "'Interfaces - PGSQL'" Subject: Re: Problem building PL/Perl In-reply-to: <10FE17AD5F7ED31188CE002048406DE8514D19@lsv-msg06.stortek.com> References: <10FE17AD5F7ED31188CE002048406DE8514D19@lsv-msg06.stortek.com> Comments: In-reply-to "Creager, Robert S" message dated "Fri, 16 Mar 2001 18:45:40 -0700" Date: Sat, 17 Mar 2001 16:58:25 -0500 Message-ID: <14452.984866305@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200103/137 X-Sequence-Number: 1298 "Creager, Robert S" 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