Subject: | Error while make-ing on Windows : undefined reference to `Perl_pad_swipe' |
Described in more details here : http://www.perlmonks.org/?node_id=976673
Hello,
i'm trying to install MooseX::Declare and Method::Signatures on windows
Strawberry. For both of these modules, one of the prerequisites is
Devel::BeginLift, and it won't install.
I tried :
Show quoted text
cpan> install Devel::BeginLift which says
Database was generated on Sat, 16 Jun 2012 23:36:59 GMT Running install
for module 'Devel::BeginLift' Running make for
F/FL/FLORA/Devel-BeginLift-0.001003.tar.gz Checksum for
C:\strawberry\cpan\sources\authors\id\F\FL\FLORA\Devel-Be
+ginLift-0.001003.tar.gz ok Scanning cache C:\strawberry\cpan\build for
sizes
......................................................................
[...]
BeginLift.o:BeginLift.c:(.text+0x787): undefined reference to `Perl_pa
d_swipe' collect2: ld returned 1 exit status dmake.EXE: Error code 129,
while making 'blib\arch\auto\Devel\BeginLi +ft\BeginLift.dll'
FLORA/Devel-BeginLift-0.001003.tar.gz C:\strawberry\c\bin\dmake.EXE --
NOT OK 'YAML' not installed, will not store persistent state Running
make test Can't te st without successful make Running make install Make
had returned bad status, install seems impossible Failed during this
command: FLORA/Devel-BeginLift-0.001003.tar.gz : make NO
I tried to install by hand with dmake, and got the same error.
I searched on Google but didn't find a solution. The fact that i don't
understand the error probably doesn't help.
It seems that the error is
BeginLift.o:BeginLift.c:(.text+0x787): undefined reference to
`Perl_pad_swipe'
In the PerlMonks message, someone gives hint of what a solution could be :
"
To me that means there is no way that is going to work (at least on
win32) without compiling a new perl which explicitly exports pad_swipe
-- or copy/pasting pad_swipe code into BeginLift.xs -- this has happened
before with Devel/B:: modules :) the cost of being on win32
The http://matrix.cpantesters.org/?dist=Devel-BeginLift+0.001003
confirms this, there are no win32 PASS grades
Please report bug upstream to BeginLift author
"