in reply to Help building Devel::Caller

I think there's an element of Module::Build bugginess involved here ... or perhaps it's the ActiveState/MinGW interaction that's buggy. You may also be better off using 'dmake' instead of 'mingw32-make' (http://search.cpan.org/dist/dmake/) though that alone won't solve the problem. (I am using 'dmake' and I get the same as you.)

Best I could come up with was to use this Makefile.PL:
use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Devel::Caller', 'VERSION_FROM' => 'lib/Devel/Caller.pm', # finds $VERSION );
Also you need to copy lib/Devel/Caller.xs up 2 levels (to the root directory of the source distro). Then run 'dmake clean' (or 'mingw32-make clean') to get back to a fresh installation. Then run 'perl Makefile.PL', 'dmake test', 'dmake install'. Some of the tests fail - same happens on my MinGW-built perl. And the output of 'dmake test' is a little nonsensical (and 'nmake test', too ... which is why the CPAN testers reckon it builds on Win32 ... though it doesn't). For a better understanding of which tests failed and which tests passed, run 'perl -Mblib t\Devel-Caller.t'

I see ActiveState have a ppm for Devel-Caller-Perl. Perhaps that's worth checking out.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Help building Devel::Caller
by Limbic~Region (Chancellor) on Aug 02, 2006 at 15:41 UTC
    Rob,
    I think there's an element of Module::Build bugginess involved here

    bart and I are coming to the same conclusion. Oddly enough, the last ppd I can find for Devel::Build is .08 and according to the changes file, it ported to Module::Build at .09 version. Oddly enough, the test report shows the current version building on Win32 when MVC++ is used as the compiler. This leads me to believe it is a ActiveState/MinGW/Module::Build problem. I have several different makes lying around so that isn't the problem as I see the behavior with all of them.

    Interestingly enough, my <make> test passed. Apparently a lot of the failing tests are marked TODO. As far as Devel::Caller::Perl, the particular module I am trying to install won't accept it as a surrogate dependency.

    Thanks so much for figuring out a work around!!!! Any suggestions on who to contact on a real fix would be appreciated.

    Cheers - L~R