in reply to Re^7: Win32::GUI Installation Errors
in thread Win32::GUI Installation Errors

I've tried using PPM without any luck, so I did it the manual way that Syphilis showed. However, that wasn't completely successful either, since Perl gives me this error when I try to run the demonstration code provided at the Cpan site: Can't locate loadable object for module Win32::GUI in @INC (@INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .).
I'll take that to mean that the install wasn't entirely successful, but there seems to be something that needs to go in "C:/strawberry/perl/lib" and "C:\strawberry\perl\vendor\lib". Do you know what that is?

I also tried putting the extracted .zip file into an empty directory in C:\strawberry\ and then running perl -MExtUtils::Install -e install_default Win32/GUI, but that gives the same error as above upon running the script.

Thanks for all your help so far :)

- Cbeppe

Replies are listed 'Best First'.
Re^9: Win32::GUI Installation Errors
by syphilis (Archbishop) on Dec 23, 2010 at 12:24 UTC
    Can't locate loadable object for module Win32::GUI in @INC (@INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .)

    That just means it can't find the GUI.dll. It's looking for GUI.dll in the following locations (and in this order):
    1) C:/strawberry/perl/lib/auto/Win32/GUI/GUI.dll;
    2) C:/strawberry/perl/site/lib/auto/Win32/GUI/GUI.dll;
    3) C:\strawberry\perl\vendor\lib/auto/Win32/GUI/GUI.dll;
    4) ./auto/Win32/GUI/GUI.dll;

    By my reckoning, the file specified in 2) should now exist ... and that would be fine.

    I can see in the trouchelle zip, the following file:
    blib/arch/auto/Win32/GUI/GUI.dll

    So ... when you merge blib/arch/auto with C:/strawberry/perl/site/lib/auto, then C:/strawberry/perl/site/lib/auto/Win32/GUI/GUI.dll should definitely exist.

    Either my instructions were faulty, or they weren't carried out correctly.

    Cheers,
    Rob

    Update: If my instructions were faulty, I still can't spot the error :-)
      No, your instructions were exactly right. I just don't have the GUI.dll :o The only file in the blib/arch/auto/Win32/GUI/ is a .exists file. It seems like I'm simply missing the entire GUI.dll file...

      I'l l hunt around the web and see if I can download it from somewhere...
      - Cbeppe