Hi,

I'm setting up Perl 5.8.7 with the intention of using it to do some simple
LDAP work.  I've built Perl and it seems fine.  I'm now trying to build the
Net::LDAP module (from Graham Barr) which states in its README file ...

    perl-ldap uses the following modules/distributions.

        Convert::ASN1   - required
        URI::ldap       - optional, needed for URL parsing
        Digest::MD5     - optional, needed for SASL CRAM-MD5 auth
        IO::Socket::SSL - optional, needed for Net::LDAPS
        XML::Parser     - optional, needed for Net::LDAP::DSML

I've downloaded CONVERT-ASN1-0_19, IO-SOCKET-SSL-0_97,URI-1_35 and
XML-PARSER-2_34 (Digest::MD5 seems to be in the Perl distribution).

Firstly, when Perl's CONFIGRE.COM procedure asked me where to install Perl I
nominated a directory and at the end of the build procedure I ran MMS
INSTALL, which placed a copy of the Perl runtime in that directory.  So far
so good.  However, I'm a little confused about the procedure for adding
extra modules.  When building additional modules using the typical steps of

    $ perl makefile.pl
    $ mms
    $ mms test
    $ mms install

should I have PERL_ROOT pointing to my 'install' directory or should I have
it pointing to the Perl source tree?

Secondly, regardless of where PERL_ROOT is pointing, when I try to build
Convert::ASN1 I get the following:

    $ sh def
      DKA100:[SOURCES.CONVERT-ASN1-0_19]
    $ perl makefile.pl
    Can't locate object method "new" via package "Module::Install::base"
     (perhaps you forgot to load "Module::Install::base"?)
     at inc/Module/Install.pm - /Users/gbarr/Library/Perl/Module/Install.pm 
line 269.
    %SYSTEM-F-ABORT, abort
    $

Any help would be much appreciated.

Thanks,

        Jeremy Begg

  +---------------------------------------------------------+
  |            VSM Software Services Pty. Ltd.              |
  |                 http://www.vsm.com.au/                  |
  |       "OpenVMS Systems Management & Programming"        |
  |---------------------------------------------------------|
  | P.O.Box 402, Walkerville, |  E-Mail:  [EMAIL PROTECTED] |
  | South Australia 5081      |   Phone:  +61 8 8221 5188   |
  |---------------------------|  Mobile:  0414 422 947      |
  |  A.C.N. 068 409 156       |     FAX:  +61 8 8221 7199   |
  +---------------------------------------------------------+

Reply via email to