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

Actually, you don't, they just like to make you think that you do ;)
No, my idea was for someone to send the files that result from running dmake, so I could simply put them into the right directories... Then again, something about that idea sounds a little too simple.

Anyway, thanks for helping out.
- Cbeppe.

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