----- Original Message ----- 
From: "Håkan Kvist"
.
.
>
> I applied the patch in the Install.pm module shipped with the
distribution,
> but that didn't
> help. I still get the:
>
> Undefined subroutine &ActivePerl::Config::find_prog called at
> C:/Perl/site/lib/ActivePerl/Config.pm line 70.
> Compilation failed in require at C:/Perl/lib/ExtUtils/MakeMaker.pm line 7.
> BEGIN failed--compilation aborted at C:/Perl/lib/ExtUtils/MakeMaker.pm
line
> 7.
> Compilation failed in require at inc/Module/Install/Can.pm -
> /usr/local/lib/perl5/site_perl/5.8.7/Module/Insta
> ll/Can.pm line 8.
> BEGIN failed--compilation aborted at inc/Module/Install/Can.pm -
> /usr/local/lib/perl5/site_perl/5.8.7/Module/I
>

I didn't realise there was a patch - haven't tried applying it.

For PAR, all you should have to do is remove the following line of code from
/inc/Module/Install.pm (in the PAR-0.92 source):

local @INC = ($path, @INC);

You'll get the same error you've reported above when you try to build
Module::ScanDeps, PAR::Dist, Parse::Binary, and Win32::Exe . Hopefully the
same fix will work for them, too. However, for them I used a different fix
(because I didn't know about this simpler fix). For each of those 4 modules,
in inc/Module/Install/Makefile.pm and inc/Module/Install/Can.pm I removed
the line 'use ExtUtils::MakeMaker ();'.

I would try building those 4 additional modules by first removing 'local
@INC = ($path, @INC);' from Install.pm. If that doesn't work, then you could
resort to the method I used.

Cheers,
Rob

Reply via email to