Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- From: "Clyde Ingram" <clydenospamorham@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Jun 2006 06:57:07 GMT
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
.
- Follow-Ups:
- Re: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- From: harryfmudd [AT] comcast [DOT] net
- Re: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- From: Sisyphus
- Re: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- Prev by Date: Re: Module Submission: Regexp::MultiLanguage
- Next by Date: Updating installed modules?
- Previous by thread: Module Submission: Regexp::MultiLanguage
- Next by thread: Re: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- Index(es):
Relevant Pages
|