----- Original Message ----- From: "Glenn Linderman" > > And should PAR really include its own copy of Module::Install, or just > require that an appropriate version be installed? >
The idea of Module::Install is that you place it in the 'inc' folder of your source distro whenever you want to use it - and load it from the Makefile.PL with 'use inc::Module::Install;'. (Afaict, there's no point in running 'make install' when you build Module::Install - all that would do is copy it to a location from which it's never loaded.) I first tried building Module::Install-0.61 from source, and then copied it into the PAR-0.92/inc tree ... that got past the initial problems, but for some reason parl didn't get built. So I reverted to using the PAR-0.92 source as it came (straight out of the box) - and then removed that one line of code that Jan indicated. That worked fine. (I only tested to the extent of running 'nmake test'.) How do we identify that we're using AS perl btw ... and which build ? I mean, the simple portable fix to PAR's version of inc::Module::Install is to have: local @INC = ($path, @INC) unless is_activestate_perl_build_815_or_greater(); Or can that line of code be removed unconditionally ? Or can that line of code be removed under less restrictive conditions ? eg would 'local @INC = ($path, @INC) unless is_MSWin32();' work just as well ? Removal of that line doesn't seem to present me with any problem wrt MinGW-built perl. Again, I've only tested to the extent of running 'dmake test'. Cheers, Rob
