jbl_bomin has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strawberry Perl, PAR Packer, MinGW problem
by syphilis (Archbishop) on Apr 11, 2010 at 01:35 UTC | |
by wwe (Friar) on Apr 12, 2010 at 07:31 UTC |