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

I am currently trying to install the lastest release of Win32::GUI from activestates site, the version is suppose to have some updates from the core install.

I guess my first problem is not having a C/C++ background is how the process works, what is makefile.pl all about?

I have read through some of the other post in regards to this subject using your super search and don't really get my answer.

I have verified that perl is in my path like so many of the posts stated to check.

I run makefile.pl, and it spits out a makefile, I do have MSVC++ avaliable to compile, but I don't know what to do. Can someone please help me.

Just for clarity here is my output from my makefile.pl, it generated a 23kb makefile:

Using Visual C++ NOTE:Makefile.PL will add the instruction to use the Resource your Makefile; if you're not using Visual C++, or don't want t resources with your extension, call this script with this addi argument: perl Makefile.PL USERESOURCE=0 Note (probably harmless): No library found for 'comctl32.lib' Note (probably harmless): No library found for 'oldnames.lib' Note (probably harmless): No library found for 'kernel32.lib' Note (probably harmless): No library found for 'user32.lib' Note (probably harmless): No library found for 'gdi32.lib' Note (probably harmless): No library found for 'winspool.lib' Note (probably harmless): No library found for 'comdlg32.lib' Note (probably harmless): No library found for 'advapi32.lib' Note (probably harmless): No library found for 'shell32.lib' Note (probably harmless): No library found for 'ole32.lib' Note (probably harmless): No library found for 'oleaut32.lib' Note (probably harmless): No library found for 'netapi32.lib' Note (probably harmless): No library found for 'uuid.lib' Note (probably harmless): No library found for 'wsock32.lib' Note (probably harmless): No library found for 'mpr.lib' Note (probably harmless): No library found for 'winmm.lib' Note (probably harmless): No library found for 'version.lib' Note (probably harmless): No library found for 'odbc32.lib' Note (probably harmless): No library found for 'odbccp32.lib' Note (probably harmless): No library found for 'msvcrt.lib' Writing Makefile for Win32::GUI

Thanks a lot!!!

Replies are listed 'Best First'.
Re: Compiling Modules under Win32
by myocom (Deacon) on Mar 23, 2001 at 00:35 UTC

    Your best bet is to use ppm to install this module.

    ppm install Win32-GUI
Re: Compiling Modules under Win32
by c-era (Curate) on Mar 23, 2001 at 00:34 UTC
    On win32 you type:
    perl Makefile.PL nmake nmake install
    and everything will be fine (unless you are running 9x/ME, then you may have troubles with nmake).

    P.S. Have you looked into using ppm? Then you wouldn't need to compile the module (you can get the latest version from dada.perl.it, they have their own ppm server).

Re: Compiling Modules under Win32 (no answer, but links to resources)
by ybiC (Prior) on Mar 23, 2001 at 06:56 UTC
    I've wrestled with this same issue, AM, and have yet to find satisfactory answers.   But if you look at my home node and Outside Links, you'll find links to resources that might help.

    Or follow the advice above of good monks and use PPM.
        cheers,
        Don
        stumbling toward Perl Adept
        (it's pronounced "why-bick")

(tye)Re: Compiling Modules under Win32
by tye (Sage) on Mar 23, 2001 at 19:25 UTC

    Hmmm. Is this just as simple as you need to modify your perl/lib/Config.pm file so that it knows where you actually installed MS VC++ (as opposed to where IndigoStar or ActiveState installed their copy)?

            - tye (but my friends call me "Tye")