in reply to Win32::Lanman deprecated? (granting privileges)

If you were to install ppm from CPAN ( http://search.cpan.org/~murray/PPM-2.1.8/ ), you could then install version 1.0.10.0 of Win32::Lanman into your Strawberry Perl by running:
ppm install http://www.bribes.org/perl/ppm/Win32-Lanman.ppd
It installed fine for me:
C:\_32\comp>ppm install http://www.bribes.org/perl/ppm/Win32-Lanman.pp +d Installing package 'http://www.bribes.org/perl/ppm/Win32-Lanman.ppd'.. +. Bytes transferred: 226633 Installing C:\strawberry-perl\perl\site\lib\auto\win32\lanman\lanman.d +ll Installing C:\strawberry-perl\perl\site\lib\auto\win32\lanman\lanman.e +xp Installing C:\strawberry-perl\perl\site\lib\auto\win32\lanman\lanman.l +ib Installing C:\strawberry-perl\perl\html\site\lib\win32\lanman.html Files found in blib\arch: installing files in blib\lib into architectu +re dependent library tree Installing C:\strawberry-perl\perl\site\lib\win32\lanman.pm Writing C:\strawberry-perl\perl\site\lib\auto\Win32\Lanman\.packlist
Make sure you call the module with use Win32::Lanman; (case is important).

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Win32::Lanman deprecated? (granting privileges)
by Anonymous Monk on Apr 25, 2007 at 19:40 UTC
    I'll keep trying this method, but so far I'm having trouble for one of the dependencies on ppm. XML-Parser is barfing on Expat.xs and friends. Thanks anyway.
      Yes - ppm relies on XML::Parser, which in turn needs the expat library. See http://win32.perl.org/wiki/index.php?title=Expat_Hacking for how to build XML::Parser on Strawberry/Vanilla Perl.

      I think that ppm has some other dependencies, too - but, unlike XML::Parser, they are all straightforward to build and install.

      Yet another (cheat's) method of installing XML::Parser is to download the ppm tarball from Randy Kobes ppm repository (http://theoryx5.uwinnipeg.ca/ppms/x86/XML-Parser.tar.gz), and extract the contents to the appropriate location within your perl installation. ie copy:
      1) the entire contents of the blib/arch/auto folder to C:/strawberry-perl/perl/site/lib/auto 2) the entire contents of the blib/html folder to C:/strawberry-perl/perl/html 3) the entire contents of the blib/lib folder to C:/strawberry-perl/perl/site/lib
      I'm fairly sure that particular build of XML::Parser (version 2.34) was built against a static Expat library - so you wouldn't even have to bother building the Expat library if you grab that particular distro !!

      Cheers,
      Rob
        Hi Rob,

        Most impressive!!! Learned again something valuable.

        Hi Anonymous,

        Of course the most done within perl is ideal for you. Just pointed out some workarounds.

        FYI: With the activestate pdk it is possible to include executables within the compiled perl application.

        With kind regards.
        ddn123456
        Rob, take a(nother) gold star! The XML::Parser trick worked fine loading from Randy's ppm repository. Thanks a millon. Richard