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

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.
  • Comment on Re^2: Win32::Lanman deprecated? (granting privileges)

Replies are listed 'Best First'.
Re^3: Win32::Lanman deprecated? (granting privileges)
by syphilis (Archbishop) on Apr 26, 2007 at 05:39 UTC
    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