Ng,
I tried your fix and I managed to get it to pass just as you did. In case
anyone was wondering, I used PowerZip to create a tar.gz in windows.
The problem is I upgraded to the new Win32 GUI 1.04 and now Loft programs
have stopped working. To make Win32::GUI backwards compatible because of
GUI's exporting constants I had to use Win32::GUI(); , instead of
Win32::GUI; . One problem arises when we have to call Win32::GUI::Loft;
It now complains about the () not being after Win32::GUI ( as though it
wanted me to use Win32::GUI()::Loft; which doesn't work ). It also complains
of missing GUI::Resizer.
Here is the msg I get when trying to run a previously working Loft created
program:
C:\perlstuff\SA>sa2.6.pl
'use Win32::GUI;' is currently exporting constants into the callers scope.
This functionality is deprecated. Use 'use Win32::GUI();' or list your
required exports explicitly instead. at
C:/Perl/site/lib/Win32/GUI/Loft/Design.pm line 31 Can't locate
Win32/GUI/Resizer.pm in @INC (@INC contains: C:\Program Files\ActiveState
Perl Dev Kit 6.0\lib\ C:/Perl/site/lib C:/Perl/lib .) at
C:/Perl/site/lib/Win32/GUI/Loft/Design.pm line 32.
BEGIN failed--compilation aborted at
C:/Perl/site/lib/Win32/GUI/Loft/Design.pm line 32.
Compilation failed in require at C:\perlstuff\SA\SA2.6.pl line 8.
BEGIN failed--compilation aborted at C:\perlstuff\SA\SA2.6.pl line 8.
Line 8 of my program is :
use Win32::GUI::Loft;
Has anyone else encountered this, or possibly know how to fix it?
Thanks!
Dave
--- In
theguiloft@yahoogroups.com
<http://tech.groups.yahoo.com/group/theguiloft/post?postID=UuHd_cqFjx_M--AcN
dfeHVE1gPcMaeHa0S0uD_yyu9RydcNgL7mfbBSEJ3laKCJhemx8ZvGIE5tqnyyvuK3N3H6qrFA>
, "bkoertge" <bkoertge@...> wrote:
>
> Unpacking Win32-GUI-AdHoc-0.04...done
> Generating HTML for Win32-GUI-AdHoc-0.04...done
> Installing to site area...failed
> ppm install failed: File conflict; package Win32-GUI already
provide
> C:/Perl/html/site/lib/Win32/GUI/BitmapInline.html
>
>
>Hi,
>
>I have encountered the same issues and found a workaround. However,
>not sure how safe is it and its implication. If it do not works, I
>will leave a post here.
>
>For that issue, I unpacked the Win32-GUI-AdHoc-0.04-PPM.tar.gzip
>file and removed the blib\lib\win32\gui\bitmapinline.pm file and
>then zip the whole directory into tar.gzip.
>
>After that I ppm the package and it passes through.
>
>If there is any danger to doing it this way, please kindly leave me
>a message.
>
>If there is a better solution, can you also please kindly leave me a
>message.
>
>Thank You
>Ng Kock Leong
[Non-text portions of this message have been removed]