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

Hi,

I'm using a Camelbox build of perl (v 5.10.0 for MSWin32-x86-MultiThread).

I downloaded a CPAN module (Game-Cards-1.45) which I am having trouble "make"ing.

I run perl Makefile.PL - no problem

When I run make I get the following error:

C:\DOCUME~1\Margie\LOCALS~1\Temp\make46962.sh: command not found: C:camelboxbinperl.exe [1]

Note the absence of "\"

The temp file "make46962.sh" was deleted after the command was completed so I can't get anything useful there.

Does anyone have any suggestions on how I can resolve this?

Replies are listed 'Best First'.
Re: "make"ing a CPAN module
by syphilis (Archbishop) on Sep 23, 2008 at 19:01 UTC
    I don't know much about Camelbox, but it looks to me that you're trying to build the module in a bash-type shell (Cygwin or MSYS ?). I don't think that's the right thing to be doing.

    As I understand it, Camelbox is a native Win32 build of perl, so try building the module in the cmd.exe shell. And use 'dmake' instead of 'make'. (I think 'dmake' comes with Camelbox, and I *expect* it's the right flavour of make to be using ... but I don't know for sure. What does perl -V:make report ?)

    Cheers,
    Rob
      Thanx, Rob,

      dmake did the trick.

      I came from a Unix background before retirement and I'm not too familiar with Windoze yet.

      Camelbox has both make and dmake but only mentioned make in the README.