Hi, I too had a bit of problem installing Win32-GUI 1.0. Here's what I did to resolve my problem.
1. I downloaded the appropriate ppd version of Win32-GUI for my version of Perl from ActiveState. Since I'm using 5.8.x I downloaded the Win32-GUI ppd package specifically built for that version of Perl. 2. Next, I uncompressed the downloaded file into a temp directory (e.g. C:\temp). 3. Inside the temp directory the uncompressed file built another directory (I don't remember the name but started with Win32 etc etc). 4. I switched into that directory and looked for the file "Win32-GUI.ppd". 5. When I tried to launch the install as described in the readme file I got the same error you got (Win32-GUI already installed). I figured the problem was that I needed to upgrade instead of install so I typed "ppm upgrade -install Win32- GUI.ppd". At this point I think it failed again with a similar error message. I tried to remove the package and start from scratch, but again it installed the old version and not the new one. I figured the install just wasn't finding the local directory even though I was sitting in it when I launched the install command, so I started ppm and edited the repository. I removed the current repositories and added one for my local drive and pointed it to the temp directory (help for manipulating the repository can be found by typing "Help Repository" at the ppm prompt). Once I added that repository and removed the other ones, the install worked. 6. Finally, I added the old repositories back (so I could easily install other packages from ActiveState) and left the new one for my local drive as the last one on the repository list. I found the key to a successful install was to add my local temp directory to the repository list (and removing the other repositories), and then execute "ppm upgrade -install Win32-GUI.ppd". Hope that helps. On 29 Nov 2004 at 20:23, Roelof Bos wrote: > Hello, > > I am just trying to upgrade to Win32-GUI 1.0. I have downloaded the > ppm from sourceforge. > > I note something strange during instalation, this is what the promt > reads: > > E:\Software\programeren\Perl\Modules\Win32-Gui\Win32-GUI-1.0-PPM-5.8>p > pm install Win32-GUI -force Note: Package 'Win32-GUI' is already > installed. ==================== Install 'Win32-GUI' version 0.0.558 in > ActivePerl 5.8.3.809. ==================== Files found in blib\arch: > installing files in blib\lib into architecture dependent library tree > Successfully installed Win32-GUI version 0.0.558 in ActivePerl > 5.8.3.809. > > Check the last line, I thought I was installing version 1.0 not > 0.0.558?? > > And then, when I try to start an app I made using DateTime controls: > > Can't locate auto/AddDateTime.al in @INC (@INC contains: lib > C:/Perl/lib C:/Perl/site/lib .) at lib/ItemControl.pm line 109 > > Is this because I installed an older version of Win32-GUI? Whats > happening, what should I do? > > I also tried to "build" my own Win32-GUI but I keep getting fatal > erros which I don't understand: > > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > The full output on the prompt follows below. I get the same error on > nmake, nmake test and nmake install. > > thanks > Roelof Bos > > ---------------------------------------------------------------------- > - > > E:\Software\programeren\Perl\Modules\Win32-Gui\Win32-GUI-1.0>nmake > test > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 > -D_CONSOLE > -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT > -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DPERL_POLLUTE > -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" > "-IC:\Perl\lib\CORE" GUI.cpp GUI.cpp > > *** Using Preserved Perl context. > > GUI.xs(2040) : warning C4101: 'targ' : unreferenced local variable > GUI.xs(2333) : error C2065: 'WINDOWINFO' : undeclared identifier > GUI.xs(2333) : error C2146: syntax error : missing ';' before > identifier 'pwi' GUI.xs(2333) : error C2065: 'pwi' : undeclared > identifier GUI.xs(2335) : error C2228: left of '.cbSize' must have > class/struct/union type GUI.xs(2336) : error C2065: 'GetWindowInfo' : > undeclared identifier GUI.xs(2338) : error C2228: left of '.rcClient' > must have class/struct/union type GUI.xs(2338) : error C2228: left of > '.left' must have class/struct/union type GUI.xs(2339) : error C2228: > left of '.rcClient' must have class/struct/union type GUI.xs(2339) : > error C2228: left of '.top' must have class/struct/union type > GUI.xs(2340) : error C2228: left of '.rcClient' must have > class/struct/union type GUI.xs(2340) : error C2228: left of '.right' > must have class/struct/union type GUI.xs(2341) : error C2228: left of > '.rcClient' must have class/struct/union type GUI.xs(2341) : error > C2228: left of '.bottom' must have class/struct/union type *** PACKAGE > Win32::GUI::Menu... *** PACKAGE Win32::GUI::MenuButton... *** PACKAGE > Win32::GUI::MenuItem... NMAKE : fatal error U1077: 'cl' : return code > '0x2' Stop. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. Discover which products truly live up to the hype. Start > reading now. http://productguide.itmanagersjournal.com/ > _______________________________________________ Perl-Win32-GUI-Users > mailing list Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >