Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

cannot install PadWalker on Strawberry

by jowe (Sexton)
on Mar 21, 2014 at 10:50 UTC ( #1079228=perlquestion: print w/replies, xml ) Need Help??

jowe has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, cannot install PadWalker. The file format of 'dll.exp' is not recognized.

My config: Windows 7 SP1 64bit Strawberry Perl 32bit

Ouput of cpan install:
C:\Users\Jo>cpan PadWalker CPAN: CPAN::SQLite loaded ok (v0.203) Database was generated on Fri, 21 Mar 2014 09:31:50 GMT Running install for module 'PadWalker' Running make for R/RO/ROBIN/PadWalker-1.98.tar.gz CPAN: Digest::SHA loaded ok (v5.85) CPAN: Compress::Zlib loaded ok (v2.063) Checksum for C:\strawberry\cpan\sources\authors\id\R\RO\ROBIN\PadWalke +r-1.98.tar .gz ok CPAN: Archive::Tar loaded ok (v1.96) CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.133380) CPAN: Module::CoreList loaded ok (v3.03) Building R/RO/ROBIN/PadWalker-1.98.tar.gz Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for PadWalker Writing MYMETA.yml and MYMETA.json cp blib\lib\ Running Mkbootstrap for PadWalker () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Pa C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp + -typemap C:\strawberry\perl\lib\ExtUtils\typemap PadWalker.xs > PadWalker.xsc + && C:\str awberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- PadWalker.xsc P +adWalker.c gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT +_CONTEXT - DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfields -s + -O2 -DVERSION=\"1.98\" -DXS_VERSION=\"1.98\" "-IC:\strawberry\perl\l +ib\CORE" PadWalker.c PadWalker.xs: In function 'XS_PadWalker__upcontext': PadWalker.xs:637:5: warning: cast from pointer to integer of different + size [-Wp ointer-to-int-cast] C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"PadWalker\", 'DLBASE' => 'PadWalker', 'D +L_FUNCS' = > { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def PadWalker.def --output-exp dll.exp g++ -o blib\arch\auto\PadWalker\PadWalker.dll -Wl,--base-file -Wl,dll. +base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" PadWalker. +o C:\str awberry\perl\lib\CORE\libperl518.a -lmoldname -lkernel32 -luser32 -lgd +i32 -lwins pool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -lu +uid -lws2_ 32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp dll.exp: file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\PadWalker\Pad +Walker.dll ' ROBIN/PadWalker-1.98.tar.gz C:\strawberry\c\bin\dmake.exe -- NOT OK CPAN: YAML::XS loaded ok (v0.41) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'PadWalker'. C:\Users\Jo>

Can anyone advise what to do - please. Thank you - Jo

Replies are listed 'Best First'.
Re: cannot install PadWalker on Strawberry
by syphilis (Bishop) on Mar 21, 2014 at 11:08 UTC
    My config: Windows 7 SP1 64bit Strawberry Perl 32bit

    Same here in every respect, and PadWalker-1.98 builds fine for me.
    One possible variance is that I'm using the "portable" version of Strawberry - but that shouldn't account for such a difference.
    As Anonymous Monk suggested, the first thing to do is to check that the right dlltool is being used.


      Just an FYI, I'm on protable Strawberry v5.18.2, same OS, builds fine here.

        After removing Strawberry Perl 32bit and installing Strawberry Perl 64bit PadWalker had been installed without any problems.

        Thanks you guys for your help.

        Best regards - Jo
Re: cannot install PadWalker on Strawberry
by Anonymous Monk on Mar 21, 2014 at 11:02 UTC
    Try  which -a dlltool to see which dlltool is getting called ... then make sure the strawberry one is first in path
      The advice to use which... isn't going to do jowe much good unless it's installed ...from sourceforge or elsewhere.

      Update: Oops. OP is using 64 bit; not sure the 32 bit GUNWin32 package will help, either.

      Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
      1. code
      2. verbatim error and/or warning messages
      3. a coherent explanation of what "doesn't work actually means.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1079228]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-10-25 22:31 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (90 votes). Check out past polls.