Net::LDAP makefile generation fails on ActiveState Perl 5.8.8



I install ActiveState 5.8.8 on 2 PCs (one running Windows NT4 SP6, the other
running Windows XP SP2).
In both cases, the "perl Makefile.PL" command fails like this:

D:\Drivers\Perl\CPAN\Net-LDAP-Bundle\perl-ldap-0.33>perl Makefile.PL
Undefined subroutine &ActivePerl::Config::find_prog called at
E:/Perl/site/lib/ActivePerl/Config.pm line 70.
Compilation failed in require at E:/Perl/lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at E:/Perl/lib/ExtUtils/MakeMaker.pm line
7.
Compilation failed in require at inc/Module/Install/Can.pm -
/Users/gbarr/Library/Perl/Module/Install/Can.pm line 8.
BEGIN failed--compilation aborted at inc/Module/Install/Can.pm -
/Users/gbarr/Library/Perl/Module/Install/Can.pm line 8.
Compilation failed in require at inc/Module/Install.pm -
/Users/gbarr/Library/Perl/Module/Install.pm line 267.
Global symbol "$Verbose" requires explicit package name at
E:/Perl/lib/ExtUtils/MM_Any.pm line 1267.
Global symbol "$Verbose" requires explicit package name at
E:/Perl/lib/ExtUtils/MM_Any.pm line 1277.
Compilation failed in require at E:/Perl/lib/ExtUtils/MM_Unix.pm line 25.
Compilation failed in require at inc/Module/Install/Metadata.pm -
/Users/gbarr/Library/Perl/Module/Install/Metadata.pm line 173.
D:\Drivers\Perl\CPAN\Net-LDAP-Bundle\perl-ldap-0.33>

That initial "Undefined subroutine" error is odd, because the subroutine
"find_prog" is defined in Path.pm.
The module Config.pm includes:

package ActivePerl::Config;
....
use ActiveState::Path qw(find_prog realpath);
use Config ();
....
if ($^O eq "MSWin32" && !find_prog(_orig_conf("cc"))) {


Now, module E:/Perl/site/lib/ActiveState/Path.pm includes:

package ActiveState::Path;
....
our @EXPORT_OK = qw(path_list find_prog is_abs_path abs_path join_path
rel_path unsymlinked realpath);
....
sub find_prog {

So why is the subroutine reported as being undefined?
Note that installing with PPM avoids this problem. However, my target
machines are not connected to the Internet, so PPM/Internet is not an option
in my production environment.

Thank-you for constructive advice,
Clyde


.



Relevant Pages

  • Re: Can anyone program perl and fix a script?
    ... (Missing operator before packets?) ... Global symbol "$tmp" requires explicit package name at ./natview line 14. ...
    (alt.os.linux)
  • Use Strict Question
    ... Global symbol "$OrderFile" requires explicit package name at theta.pl ... Global symbol "$referer" requires explicit package name at theta.pl ... Global symbol "@odate" requires explicit package name at theta.pl line ...
    (perl.beginners)
  • Re: First Perl/CGI need critique on current code before further developement
    ... The errors in this script are _pervasive_. ... with future reserved word at webcounter.pl line 12. ... Global symbol "$slash" requires explicit package name at webcounter.pl line ...
    (comp.lang.perl.misc)
  • Re: Modify program to write just data to a text file.
    ... Global symbol "%DB" requires explicit package name at t.pl line 46. ... Bareword "BorOblig" not allowed while "strict subs" in use at t.pl line 26. ...
    (comp.lang.perl.misc)
  • Re: Lost here.. Use of uninitialized value in print?
    ... Global symbol "@files1to5" requires explicit package name at D:\My ... Global symbol "$list1" requires explicit package name at D:\My ... Global symbol "$selectitem" requires explicit package name at D:\My ...
    (perl.beginners)