Re: build of PL/Perl cannot find include files.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: mhh@nortelnetworks.com
Cc: pgsql-bugs@postgresql.org
Date: 2001-04-25T20:12:05Z
Lists: pgsql-bugs
Mark Hollomon (mhh@nortelnetworks.com) writes:
> A build that includes PL/Perl fails with :

> gmake[1]: Entering directory `/home/mhh/src/postgresql-7.1/src/pl/plperl'
> cc -c  -Ae -O +Onolimit    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z -I/home/u2/vobadm/perl5/lib/5.00503/PA-RISC1.1/CORE  plperl.c

Hm.  It works fine for me -- I get cc lines like

cc -c -I../../../src/include -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z -I/opt/perl5.6.0/lib/5.6.0/PA-RISC2.0/CORE  plperl.c

Please see if you can figure out why EXTRA_INCLUDES isn't getting
propagated from Makefile.PL into the finished Makefile.  (The lack of 
-D_HPUX_SOURCE in your command lines also seems pretty fishy...)

			regards, tom lane