Skip Menu |

This queue is for tickets about the Math-Factor-XS CPAN distribution.

Report information
The Basics
Id: 46757
Status: resolved
Priority: 0/
Queue: Math-Factor-XS

People
Owner: Nobody in particular
Requestors: sunnibo [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Strawberry Perl does not compile this module.
When I compile this module, I got a following error. I do not know what is the problem. Env: Windows Vista SP1, Strawberry Perl 5.10.0 Thanks. --- Error Msg -- Show quoted text
cpan> install Math::Factor::XS
Running install for module 'Math::Factor::XS' Running Build for S/SC/SCHUBIGER/Math-Factor-XS-0.35.tar.gz Has already been unwrapped into directory D:\strawberry\cpan\build\Math-Factor -XS-0.35-3v2yGv CPAN.pm: Going to build S/SC/SCHUBIGER/Math-Factor-XS-0.35.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Math-Factor-XS' version '0.35' Copying lib\Math\Factor\XS.pm -> blib\lib\Math\Factor\XS.pm Copying XS.xs -> blib\Math\Factor\XS.xs blib\Math\Factor\XS.xs -> blib\Math\Factor\XS.c gcc -c -I"." -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT - DPERL_IM PLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 "- DXS_VERSION=\"0.3 5\"" "-DVERSION=\"0.35\"" -I"D:\strawberry\perl\lib\CORE" - I"D:\strawberry\c\inc lude" -o "blib\Math\Factor\XS.o" "blib\Math\Factor\XS.c" ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\blib\Math\Factor\XS\X S.bs') Generating script 'blib\Math\Factor\XS.lds' dlltool --def "blib\Math\Factor\XS.def" --output-exp "blib\Math\Factor\XS.exp" g++ -o "blib\arch\auto\blib\Math\Factor\XS\XS.dll" -Wl,--base- file,"blib\Math\Fa ctor\XS.base" -Wl,--image-base,0x343f0000 -mdll -s - L"D:\strawberry\perl\lib\COR E" -L"D:\strawberry\c\lib" "blib\Math\Factor\XS.lds" "blib\Math\Factor\XS.exp" dlltool --def "blib\Math\Factor\XS.def" --output-exp "blib\Math\Factor\XS.exp" - -base-file "blib\Math\Factor\XS.base" g++ -o "blib\arch\auto\blib\Math\Factor\XS\XS.dll" -Wl,--image- base,0x343f0000 - mdll -s -L"D:\strawberry\perl\lib\CORE" -L"D:\strawberry\c\lib" "blib\Math\Facto r\XS.lds" "blib\Math\Factor\XS.exp" SCHUBIGER/Math-Factor-XS-0.35.tar.gz D:\strawberry\perl\bin\perl.exe ./Build -- OK Running Build test t\00-load......... t\00-load.........1/1 # Failed test 'use Math::Factor::XS;' # at t\00-load.t line 9. # Tried to use 'Math::Factor::XS'. # Error: Can't locate loadable object for module Math::Factor::XS in @INC ( @INC contains: D:\strawberry\cpan\build\Math-Factor-XS-0.35- 3v2yGv\blib\lib D:\s trawberry\cpan\build\Math-Factor-XS-0.35-3v2yGv\blib\arch D:/STRAWB~1/perl/lib D :/STRAWB~1/perl/site/lib .) at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. # Testing Math::Factor::XS 0.35, Perl 5.010000, D:\STRAWB~1\perl\bin\perl.exe # Looks like you failed 1 test of 1. t\00-load......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t\functions.......Can't locate loadable object for module Math::Factor::XS in @I NC (@INC contains: D:\strawberry\cpan\build\Math-Factor-XS-0.35- 3v2yGv\blib\lib D:\strawberry\cpan\build\Math-Factor-XS-0.35-3v2yGv\blib\arch D:/STRAWB~1/perl/l ib D:/STRAWB~1/perl/site/lib .) at t\functions.t line 6 Compilation failed in require at t\functions.t line 6. BEGIN failed--compilation aborted at t\functions.t line 6. t\functions....... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t\pod-coverage....ok t\pod.............ok Test Summary Report ------------------- t\00-load (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t\functions (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output Files=4, Tests=3, 0 wallclock secs ( 0.06 usr + 0.02 sys = 0.08 CPU) Result: FAIL Failed 2/4 test programs. 1/3 subtests failed. SCHUBIGER/Math-Factor-XS-0.35.tar.gz D:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SCHUBIGER/Math-Factor-XS-0.35.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: SCHUBIGER/Math-Factor-XS-0.35.tar.gz : make_test NO Show quoted text
cpan>
On Tue Jun 09 00:42:44 2009, http://john6.myid.net/ wrote: Show quoted text
> When I compile this module, I got a following error. > I do not know what is the problem.
This is a known issue. See https://rt.cpan.org/Ticke/Display.html?id=39211 By changing within Build.PL - xs_files => { 'XS.xs' => 'blib/Math/Factor/XS.xs' }, + xs_files => { 'XS.xs' => 'lib/Math/Factor/XS.xs' }, should fix the error.
Fixed as of v0.35_01.