develooper Front page | perl.perl5.porters | Postings from July 2003

ExtUtils::Embed test using an installed perl

From:
Michael G Schwern
Date:
July 28, 2003 17:25
Subject:
ExtUtils::Embed test using an installed perl
Message ID:
20030729002429.GB21044@windhund.schwern.org
bleadperl@20278 gives:

/usr/local/src/perl-current/t $ ./perl harness -v ../lib/ExtUtils/t/Embed.t 
../lib/ExtUtils/t/Embed....1..9
# cc -o embed_test -I..  -pipe -fno-common -DDARWIN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing  -I/usr/local/bleadperl/lib/5.9.0/darwin-thread-multi-64int/CORE  embed_test.c -L.. -lperl    -flat_namespace ../lib/auto/DynaLoader/DynaLoader.a -L/usr/local/bleadperl/lib/5.9.0/darwin-thread-multi-64int/CORE -lperl -lm -lc
# ld: Undefined symbols:

# _PL_sigfpe_saved

not ok 1
# embed_test = ./embed_test
not ok 9 # system returned -1
FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test               Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../lib/ExtUtils/t/Embed.t                9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.


This could be an already installed version of bleadperl interfering with
the above compile.  Since /usr/local/src/perl-current is nowhere defined
above as an include, that's likely the case.

Deleting my installed copy of bleadperl and running the test again...

/usr/local/src/perl-current/t $ ./perl harness -v ../lib/ExtUtils/t/Embed.t 
../lib/ExtUtils/t/Embed....1..9
# cc -o embed_test -I..  -pipe -fno-common -DDARWIN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing  -I/usr/local/bleadperl/lib/5.9.0/darwin-thread-multi-64int/CORE  embed_test.c -L.. -lperl    -flat_namespace ../lib/auto/DynaLoader/DynaLoader.a -lm -lc
ok 1
# embed_test = ./embed_test
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9 # system returned 0
ok
All tests successful.
Files=1, Tests=9,  3 wallclock secs ( 1.10 cusr +  0.34 csys =  1.44 CPU)


-- 
Death follows me like a wee followey thing.
	-- Quakeman



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