On Mon, 13 Dec 2004, Michael G Schwern wrote:
> > > Making POSIX (dynamic)
> > > Note (probably harmless): No library found for -lposix
> > > Note (probably harmless): No library found for -lcposix
> > > Can't locate auto/POSIX/autosplit.ix in @INC (@INC contains: ../../lib
> On Mon, Dec 13, 2004 at 11:34:05AM +0100, Rafael Garcia-Suarez wrote:
> > Only guessing :
> > Maybe this warning comes from ExtUtils::MM_Unix::max_exec_len().
>
> Could be. I wonder why its leaking out of the two evals though.
The following patch at least silences it:
diff -r -u perl-current/lib/ExtUtils/MM_Unix.pm
perl-andy/lib/ExtUtils/MM_Unix.pm
--- perl-current/lib/ExtUtils/MM_Unix.pm 2004-12-15 08:11:11.000000000
-0500
+++ perl-andy/lib/ExtUtils/MM_Unix.pm 2004-12-15 13:47:57.000000000 -0500
@@ -3611,7 +3611,10 @@
my $self = shift;
if (!defined $self->{_MAX_EXEC_LEN}) {
- if (my $arg_max = eval { require POSIX; &POSIX::ARG_MAX }) {
+ # Don't load POSIX if we're building the perl core -- POSIX
+ # might not be built yet. [perl #24445].
+ if ((!defined $self->{PERL_CORE}) &&
+ (my $arg_max = eval { require POSIX; &POSIX::ARG_MAX })) {
$self->{_MAX_EXEC_LEN} = $arg_max;
}
else { # POSIX minimum exec size
--
Andy Dougherty [EMAIL PROTECTED]