Hello fellow monks,

I'm attempting something which on the surface seemed like it should be simple, but ran into a problem which has stumped me.

A bit of a context - I recently decided to install PAR Packer via CPAN on my laptop (Ubuntu Intrepid). I grabbed a small wxPerl script, used 'pp' to create a single stand-alone executable, and everything worked fine and dandy.

I decided that I wanted to create this same stand-alone as a Win32 executable, which means I would have to install perl and PAR packer, and compile/install 'pp' on windows.

I went ahead and downloaded strawberry perl, and that installed super smoothly (was quite surprised actually). I was able to use the included CPAN client short-cuts to download PAR Packer without any issues, and installed Module::Install without any problems. Since in order to compile 'pp', I need some kind of compiler (i.e gcc) and a 'make' program, I decided to download and install MinGW, which also installed pretty quick and without much fuss.

Finally I got to the point where I was ready to compile PAR Packer. I did the pre-requisite 'perl Makefile.PL' in the PAR Packer directory, and it generated the 'Makefile' file without any errors or warnings. Everything looked good.

Lastly, it was time to 'make', then 'make install'. When I did this, I ran into something odd. I got the following error, which I just can't seem to figure out. I'm posting the last few lines of the command prompt I/O, just for the purpose of context.

C:\STRAWB~1\cpan\build\PAR-PA~1.002>C:\MinGW\bin\make.lnk --makefile=C +:\strawberry\cpan\build\PAR-Packer-1.002-6M9H6e\Makefile C:\STRAWB~1\cpan\build\PAR-PA~1.002>include C:/MinGW/bin/inc/Module/In +stall.pm include inc/Module/Install/PAR.pm include inc/Module/Install/Base.pm mingw32-make: *** No rule to make target `Makefile.PL', needed by `Mak +efile'. Stop.

That last line, which reads "mingw32-make: *** No rule to make target `Makefile.PL', needed by `Makefile'. Stop." is what has me scratching my head. I've read in a few places that the name of the 'Makefile' or 'Makefile.PL' make cause problems like this (see this discussion: http://www.justskins.com/forums/module-install-and-makefile-pl-34284.html). However, I don't see any issues with the names or formats of the files I am using.

It's likely that the resolution to this is really simple, but since I haven't found it, I'm guessing the problem itself is uncommon. Any assistance in solving this is greatly appreciated.

Thanks, Bobby

In reply to Strawberry Perl, PAR Packer, MinGW problem by jbl_bomin

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.