jls has asked for the wisdom of the Perl Monks concerning the following question:

This is exactly the same issue that was logged previously by GTi Giant: I installed AdminMisc exactly as described in Roth's installation instructions, but when I try to run anything using it I get the error message: "Can't locate loaadable object for module Win32::AdminMisc.." AdminMisc.pm is in \Perl\lib\Win32 and I created the lib/auto/adminmisc directory, as specified in the installation doc. I sent a message to Roth's email, as described on his web site, last month but never got any reply. Does anyone know what I did wrong? If GTi Giant is looking around here, what did you do to fix your error? Thanks for your assistance, jls

Replies are listed 'Best First'.
Re: Problem w/AdminMisc
by NetWallah (Canon) on Jul 30, 2003 at 05:06 UTC
    I verified the existance and installability of the AdminMisc package just a minute ago - it is fine.

    Here is what is should look like ..

    >>Command prompt>>ppm PPM - Programmer's Package Manager version 3.1. Copyright (c) 2001 ActiveState SRL. All Rights Reserved. Entering interactive shell. Using Term::ReadLine::Stub as readline lib +rary. Type 'help' to get started. ppm> install http://www.roth.net/perl/packages/win32-adminmisc.ppd ==================== Install 'win32-adminmisc' version 0.2003.07.14 in ActivePerl 5.8.0.806 +. ==================== Downloaded 86743 bytes. Extracting 16/16: blib/lib/Win32/AdminMisc.PM Installing D:\Perl\site\lib\auto\Win32\AdminMisc\AdminMisc.DLL Installing D:\Perl\site\lib\Win32\AdminMisc.PM Installing D:\Perl\site\lib\Win32\AdminMisc\desktop.pl Installing D:\Perl\site\lib\Win32\AdminMisc\MemGroup.pl Installing D:\Perl\site\lib\Win32\AdminMisc\NewDesktop.pl Installing D:\Perl\site\lib\Win32\AdminMisc\RenameUser.pl Installing D:\Perl\site\lib\Win32\AdminMisc\ResetDesktop.pl Installing D:\Perl\site\lib\Win32\AdminMisc\SCHED.PL Installing D:\Perl\site\lib\Win32\AdminMisc\SCHED2.PL Installing D:\Perl\site\lib\Win32\AdminMisc\SWITCH.PL Installing D:\Perl\site\lib\Win32\AdminMisc\Test.pl Installing D:\Perl\site\lib\Win32\AdminMisc\CreateAsUser.pl Installing D:\Perl\site\lib\Win32\AdminMisc\GetDriveSpace.pl Installing D:\Perl\site\lib\Win32\AdminMisc\Win32-AdminMisc.ppd Installing D:\Perl\site\lib\Win32\AdminMisc\README Installing D:\Perl\site\lib\Win32\AdminMisc\Readme.pod Successfully installed Win32-AdminMisc version 0.2003.07.14 in ActiveP +erl 5.8.0. 806. ppm> exit
    Which brings us to .. What version of perl are you running ? run
    perl -V
    and post the info here. The current Win32 version is 5.8, from Activestate.

    You should also check your access to the roth website - You may have a proxy or DNS issue preventing access.
    From a browser, enter the URL for the ppd file above.
    You should get back a single-line web page that says:

    The Win32::AdminMisc extension for Win32 X86 Roth Consulting (http://w +ww.roth.net/)
    If you don't, then you have a browsing or security related problem (Or the Roth site is down, which is very rare).
    Good luck.
      Thanks for your help.

      I am running Perl v5.6.1, the version of ppm is 2.2. I will attempt to install the latest Perl. Perhaps that will fix my problem.

      I entered the URL in my browser and got just what you said I should have gotten, so it must be something pertaining to my company's firewall or the version of ppm I am running.

      I am new to doing things on Windows (I much prefer UNIX). Windows seems so restrictive and error-prone. Or perhaps it's just my lack of windows knowledge/experience.

      Anyway, I will look into installing the latest Perl and go from there.

      Thanks very much for your assistance.
      jls

Re: Problem w/AdminMisc
by NetWallah (Canon) on Jul 29, 2003 at 19:49 UTC
    Try re-installing AdminMisc using these instructions:

    At a command prompt,type:
          PPM
    From within Perl Package Manager, type the following and hit enter:
          install http://www.roth.net/perl/packages/win32-adminmisc.ppd

    To exit out of PPM, type exit and hit enter.

      Thank you for your reply.

      I entered exactly what you suggested and got the following error:
      Error installing package 'http://www.roth.net/perl/packages/Win32-adminmisc.ppd': Could not locate a PPD file for package.

      I double checked the name to be sure I typed it in correctly. I think I tried this last month with the same results.

      Is there something I'm doing incorrectly?

      Thanks for your help...