[sf-perl] trouble installing Net::LDAP
David Alban
extasia at extasia.org
Thu Aug 18 16:46:13 PDT 2011
no suggestions?
On Mon, Aug 15, 2011 at 6:22 PM, David Alban <extasia at extasia.org> wrote:
> trying to install Net::LDAP from perl-ldap-0.4001. "perl Makefile.PL"
> invokes cpan. i want the module installed in /nas/reg/, not in /usr.
> i have:
>
> $ grep reg ~/.cpan/CPAN/MyConfig.pm
> 'mbuildpl_arg' => q[--install_base /nas/reg],
> 'makepl_arg' => q[PREFIX=/nas/reg],
>
> yet:
>
> $ perl Makefile.PL
> *** Module::AutoInstall version 1.03
> *** Checking for Perl dependencies...
> [Core Features]
> - Convert::ASN1 ...missing. (would need 0.07)
> ==> Auto-install the 1 mandatory module(s) from CPAN? [y]
> [SASL authentication]
> - Authen::SASL ...missing. (would need 2.00)
> ==> Auto-install the 1 optional module(s) from CPAN? [n] y
> [LDAP URLs]
> - URI::ldap ...missing. (would need 1.1)
> ==> Auto-install the 1 optional module(s) from CPAN? [n] y
> [LDAPS]
> - IO::Socket::SSL ...missing. (would need 0.93)
> ==> Auto-install the 1 optional module(s) from CPAN? [n] y
> [Read/Write DSML files]
> - MIME::Base64 ...loaded. (3.07)
> - XML::SAX::Writer ...missing.
> ==> Auto-install the 1 optional module(s) from CPAN? [n] y
> [Read/Write LDIF files]
> - MIME::Base64 ...loaded. (3.07)
> *** Dependencies will be installed the next time you type 'make'.
> (You may need to do that as the 'root' user.)
> *** Module::AutoInstall configuration finished.
> *** Installing dependencies...
> *** You are not allowed to write to the directory
> '/usr/lib/perl5/site_perl/5.8.8';
> the installation may fail due to insufficient permissions.
>
> ==> Should we try to re-execute the autoinstall process with 'sudo'? [y]
>
> looks like it's trying to install to the system location. i don't
> want to do that. how do i get it to deploy where i want it to deploy?
>
> i've never experienced "perl Makefile.PL" invoking cpan. not a fan of
> it so far...
>
> thanks,
> david
--
Live in a world of your own, but always welcome visitors.
More information about the SanFrancisco-pm
mailing list