All,
I am using ActiveState Perl 5.8.8 (817) and trying to build Devel::Caller with MinGW. The odd thing is that it is failing to find -lperl58

Here is the output of perl Makefile.PL

C:\Devel-Caller-0.11>perl Makefile.PL # running Build.PL Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) C:\Perl\bin\perl.exe Build.PL Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Devel-Caller' version '0.11' Set up gcc environment - 3.4.2 (mingw-special)

Here is the output of mingw32-make

C:\Devel-Caller-0.11>mingw32-make C:\Perl\bin\perl.exe Build --makefile_env_macros 1 Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) lib\Devel\Caller.pm -> blib\lib\Devel\Caller.pm lib\Devel\Caller.xs -> lib\Devel\Caller.c C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\ExtUtils\ +xsubpp -noprototypes -typemap C:\Perl\lib\ExtUtils\typemap lib\Devel\ +Caller.xs gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_ +HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT +_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-al +iasing -O2 "-DXS_VERSION=\"0.11\"" "-DVERSION=\"0.11\"" -I"C:\Perl\li +b\CORE" -I"\include" -o "lib\Devel\Caller.o" "lib\Devel\Caller.c" ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\Devel\Caller\Caller +.bs') Generating script 'lib\Devel\Caller.lds' dlltool --def "lib\Devel\Caller.def" --output-exp "lib\Devel\Caller.ex +p" gcc -o "blib\arch\auto\Devel\Caller\Caller.dll" -Wl,--base-file,"lib\D +evel\Caller.base" -Wl,--image-base,0x26130000 -mdll "lib\Devel\Caller +.lds" "lib\Devel\Caller.exp" C:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: +cannot find -lperl58 collect2: ld returned 1 exit status dlltool --def "lib\Devel\Caller.def" --output-exp "lib\Devel\Caller.ex +p" --base-file "lib\Devel\Caller.base" gcc -o "blib\arch\auto\Devel\Caller\Caller.dll" -Wl,--image-base,0x261 +30000 -mdll "lib\Devel\Caller.lds" "lib\Devel\Caller.exp" C:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: +cannot find -lperl58 collect2: ld returned 1 exit status Manifying blib\lib/Devel/Caller.pm -> blib\libdoc\Devel.Caller.3 HTMLifying blib\lib\Devel\Caller.pm -> blib\libhtml\site\lib\Devel\Cal +ler.html Build: blib\lib\Devel\Caller.pm: unterminated list at =head in paragra +ph 30. ignoring. Build: blib\lib\Devel\Caller.pm: cannot resolve L<perlfunc/caller> in +paragraph 31. Build: blib\lib\Devel\Caller.pm: cannot resolve L<perlfunc/caller> in +paragraph 50. Build: blib\lib\Devel\Caller.pm: cannot resolve L<PadWalker> in paragr +aph 50.

While I would be just as happy if someone could point me to a ppm repository with a current Devel::Caller, I would truly like to figure out why a default lib can't be found.
Any and all help is appreciated.

Cheers - L~R


In reply to Help building Devel::Caller by Limbic~Region

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.