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

Just grab the 5.10 trouchelle ppm zip file (or the ActiveState ppm tarball if you can locate it), unpack it to some location and:

1) Merge the blib/lib folder with the strawberry/perl/site/lib folder;
2) Merge the blib/arch/auto folder with the strawberry/perl/site/lib/auto folder.

I'll let you work out where the html documentation needs to go - though, of course, things should work ok without it.
If you want to utilise the 2 demo files in in blib/script copy them to strawberry/perl/site/bin (or to strawberry/perl/bin if strawberry/perl/site/bin doesn't exist).

I think that's about right ... probably safer to get ppm (which you have with StrawberryPerl) to do the job for you. Either:

ppm install Win32::GUI (for the ActivePerl build)
or
ppm install http://trouchelle.com/ppm10/Win32-GUI.ppd (for the trouchelle build).

Cheers,
Rob

Replies are listed 'Best First'.
Re^7: Win32::GUI Installation Errors
by Anonymous Monk on Dec 23, 2010 at 07:42 UTC
      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
        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 :-)