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

hi guys

i've got some problem.

I tryed compile module without ppm.

when I "make",I've seen error like this.

make: *** No rule to make target `C:\Perl\libConfig.pm', needed by `Ma +kefile'. Stop.

conditions

windows XP

ActivePerl-5.8.8.824-MSWin32-x86-287188.msi

MSYS-1.0.11.exe

MinGW-5.1.6.exe

module Text-Kakasi-2.04.tar.gz

I'm not sure of failure point but I think "libConfig.pm" should be lib\Config.pm, plz help me.

Replies are listed 'Best First'.
Re: compile modules @activeperl
by Anonymous Monk on Jun 07, 2010 at 02:37 UTC
    I'm not sure of failure point but I think "libConfig.pm" should be lib\Config.pm, plz help me.

    You're using the wrong make program. You might be able to override with

    perl Makefile.PL make=make
    but its better to use the program your perl is configured to use
    $ perl -V:make make='dmake';
Re: compile modules @activeperl
by syphilis (Archbishop) on Jun 07, 2010 at 07:12 UTC
    I'm not sure of failure point but I think "libConfig.pm" should be lib\Config.pm

    Yes, it should - and if that error doesn't go away when you switch to using dmake instead of make, let us know (as it's something that will have to be fixed).

    Cheers,
    Rob
Re: compile modules @activeperl
by chuckbutler (Monsignor) on Jun 07, 2010 at 05:25 UTC

    I second using dmake as the make utility with ActiveState/Windows. If it is not installed in your Perl distribution already, the PPM for it should be on the ActiveState site.

    Good luck. -c

      ActivePerl is built using MS's compiler and nmake. These are actually better choices. MinGW + dmake can be used too. Both combos are freely available.

      Recent versions of cpan and/or Perl's module building toolchain will use MS's compiler and nmake if found, and fall back to installing and using MinGW and dmake if not.