Re: [Pgbuildfarm-members] CREATE FUNCTION hang on test machine polecat on HEAD

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Creager <Robert.Creager@Oracle.com>
Cc: Alex Hunsaker <badalex@gmail.com>, Andrew Dunstan <andrew@dunslane.net>, "pgbuildfarm-members@pgfoundry.org" <pgbuildfarm-members@pgfoundry.org>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-06-07T21:01:05Z
Lists: pgsql-hackers
Robert Creager <Robert.Creager@Oracle.com> writes:
>>> Another question worth asking here is whether PG is picking up perl
>>> 5.10.0 or 5.8.9, both of which are shipped in this OSX release.

> Hmm...  This might be a problem:

> which perl
> /opt/local/bin/perl

> type -a perl
> /opt/local/bin/perl
> /usr/bin/perl

> /opt/local/bin/perl -V
> This is perl, v5.8.9 built for darwin-2level

The configure log mentioned upthread says it's finding /usr/bin/perl,
so apparently the buildfarm is running with a different PATH than you're
using here.  But that log also shows

configure:7158: checking for flags to link embedded Perl
configure:7174: result:  -L/usr/local/lib  -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc

If there's anything perl-related in /usr/local/lib (not /opt/local/lib),
that could be confusing matters.

			regards, tom lane