develooper Front page | perl.perl5.porters | Postings from June 2001

PERL_DL_NONLAZY=1 and Cwd

Thread Next
From:
Michael G Schwern
Date:
June 26, 2001 20:10
Subject:
PERL_DL_NONLAZY=1 and Cwd
Message ID:
20010626231052.A23874@blackrider
So I'm trying to tear Cwd.pm out into its own CPAN module, and I've
all but got it except for one problem...

    $ perl -Iblib/lib -Iblib/arch t/Cwd.t

That works.

    $ PERL_DL_NONLAZY=1 perl -Iblib/lib -Iblib/arch t/Cwd.t

That doesn't.  "Undefined subroutine &Cwd::abs_path called at
blib/lib/Cwd.pm line 125"

"make test" likes to run with PERL_DL_NONLAZY on, there's no way to
shut it off I can find.  What's going on here?  Obviously PERL_DL_NONLAZY
is causing some sort of problem loading the XS components.

You'll find this version at http://www.pobox.com/~schwern/src/Cwd-2.05.tar.gz  
There's only very minor modifications to it, a bit of filename
twiddling in the test, and some tricks so fastcwd works.


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
Maybe they hooked you up with one of those ass-making magazines.
	-- brian d. foy as misheard by Michael G Schwern

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About