>> gmake[3]: Entering directory `/space/1/home/chriskl/pgsql/src/pl/plperl'
>> gcc -O2 -fno-strict-aliasing -g -fpic -DPIC -I.
>> -I/usr/libdata/perl/5.00503/mach/CORE -I../../../src/include -c -o
>> SPI.o SPI.c -MMD
>
>
>
> I am going to bet dollars to donuts that it is your perl version. Perl
> 5.00503 is ancient. Try upgrading to at least 5.6.
Not much I can do about that - it's builtin as part of FreeBSD 4.x series.
Chris