[sf-perl] trouble installing Net::LDAP

Francisco Obispo fobispo at isc.org
Thu Aug 18 16:50:12 PDT 2011


$ perl Makefile.PL INSTALL_BASE=/nas/reg

Should inherit across the others as well, if not, try exporting it as a global variable.

Francisco




On Aug 18, 2011, at 4:46 PM, David Alban wrote:

> 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.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm

Francisco Obispo 
email: fobispo at isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
Key fingerprint = 532F 84EB 06B4 3806 D5FA  09C6 463E 614E B38D B1BE







More information about the SanFrancisco-pm mailing list