Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 4111
Status: rejected
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: michaelg [...] towersemi.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PP and Tk || where do I mistake ?
Date: Wed, 15 Oct 2003 13:34:05 +0200
From: "Goldberger Michael" <michaelg [...] towersemi.com>
To: <par [...] perl.org>, <bug-par [...] rt.cpan.org>, <autrijus [...] autrijus.org>
Hello Guys, I'm using the PAR-0.75 (PP) to create a stand alone executable out of my perl code , it seems that it works very good while I'm using the exe on station that can "see" my root (~) , the problem start when I try to exe it on a station that can't . I keep getting messages regarding my path , and of course it can't be seen so the app crashes . details: The command line I use is : pp -o rgp.exe rgp.pl ( I also tried it with -B even though it is assumed ) my path: I'm using perl-5.8.0 , PAR-0.75/ and Tk804.025 /users/michaelg/perl-5.8.0/bin/ /users/michaelg/perl-5.8.0/PAR-0.75/blib/script/ /users/michaelg/perl-5.8.0/Tk804.025/blib/script/ When I try to run my app I get the next diagnostics : Use of uninitialized value in pattern match (m//) at /loader/0x481920/utf8_heavy.pl line 164. Use of uninitialized value in scalar assignment at /loader/0x481920/utf8_heavy.pl line 180. Use of uninitialized value in pattern match (m//) at /loader/0x481920/utf8_heavy.pl line 181. Use of uninitialized value in scalar assignment at /loader/0x481920/utf8_heavy.pl line 238. Use of uninitialized value in pattern match (m//) at /loader/0x481920/utf8_heavy.pl line 241. Use of uninitialized value in scalar assignment at /loader/0x481920/utf8_heavy.pl line 290. Use of uninitialized value in pattern match (m//) at /loader/0x481920/utf8_heavy.pl line 291. panic: swash_fetch. at /users/michaelg/perl-5.8.0/lib/5.8.0/sun4-solaris/Tk/Widget.pm line 190 Tk::Widget::new('Tk::Button','MainWindow=HASH(0x86ed8c)','-text','Exit','-cursor','pirate','-background','gray','-command',...) called at /users/michaelg/perl-5.8.0/lib/5.8.0/sun4-solaris/Tk/Widget.pm line 256 Tk::Widget::__ANON__('MainWindow=HASH(0x86ed8c)','-text','Exit','-cursor','pirate','-background','gray','-command','CODE(0x7d1360)',...) called at script/hello.pl line 18 require main called at ../blib/lib/PAR.pm line 211 PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x549398)',1) called at script/main.pl line 4 require main called at ../blib/lib/PAR.pm line 211 PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x549494)') called at ../blib/lib/PAR.pm line 189 PAR::import('PAR') called at par.pl line 680 eval {...} called at par.pl line 165 __par_pl::BEGIN() called at script/hello.pl line 0 eval {...} called at script/hello.pl line 0 at script/hello.pl line 18 Font -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-* still in cache. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I tried to do it with a simple hello world app and it did work but evry time I try to do it with Tk module the app crashes with the above diagnostics . Do you have any idea regarding that meter . Thanks in advance . ~~~~~~~~~~~~~~~~~~~~~ Michael Goldberger Tel: 972-9-8636330 Mobile: 972-58-685233 michaelg@towersemi.com Tower Netanya Israel ~~~~~~~~~~~~~~~~~~~~~
[michaelg@towersemi.com - Wed Oct 15 07:37:47 2003]: Show quoted text
> Hello Guys, > I'm using the PAR-0.75 (PP) to create a stand alone executable > I
keep getting messages regarding my path , and of course it can't be seen so the app crashes . Show quoted text
> details: > The command line I use is : pp -o rgp.exe rgp.pl ( I also tried it > with -B even though it is assumed ) > > my path: > I'm using perl-5.8.0 , PAR-0.75/ and Tk804.025 > /users/michaelg/perl-5.8.0/bin/ > /users/michaelg/perl-5.8.0/PAR-0.75/blib/script/ > /users/michaelg/perl-5.8.0/Tk804.025/blib/script/ > When I try to run my app I get the next diagnostics : > > > Use of uninitialized value in pattern match (m//) at > /loader/0x481920/utf8_heavy.pl line 164.
Michael, sorry for the much, much belated reply, but as I am going to release PAR 0.81, I'd like to know whether it works for you now... I remember fixing this bug for Perl 5.6.x, but I had not been able to duplicate it in Perl 5.8.x. I'd be very grateful if you can help testing the snapshot in http://p4.elixus.org/snap/PAR.tar.gz and let me know if it works or not. Thanks! /Autrijus/