athanasia has asked for the wisdom of the Perl Monks concerning the following question:
When I try to run my exe, I get the following error:pp -vvv -l C:\Perl\lib -l C:\Perl\site\lib -o program.pl program.exe
Then I specifically tried adding the POSIX module to my pp command as follows:Can't locate POSIX.pm in @INC (@INC contains: CODE(0x1f0ef80) C:\Users +\ADMINI~1\AppData\Local\Temp\par-Administrator\cache-17f4ea2f953b4df5 +d967d28be8eb4c9a4937753f\inc\lib C:\Users\ADMINI~1\AppData\Local\Temp +\par-Administrator\cache-17f4ea2f953b4df5d967d28be8eb4c9a4937753f\inc + CODE(0x17c5f40) CODE(0x17c60b4)) at script/program.pl line 37. BEGIN failed--compilation aborted at script/program.pl line 37.
I see the module being added as command runs :pp -vvv -l C:\Perl\lib -l C:\Perl\site\lib -a C:\Perl\lib\POSIX.pm -o +program.pl program.exe
but I get the same error at runtime.\site\bin/pp: ... adding C:/Perl/lib/POSIX.pm as Perl/lib/POSIX.pm
I would highly appreciate any help as I 've been looking at this since yesterday and am at a total loss!use threads; use threads::shared; #setup thread code before any Tk code my $thread_data1 : shared; $thread_data1; my $thread_die1 : shared; $thread_die1 = 0; my $thread_go1 : shared; $thread_go1 = 0; my $thread1 = threads->new(\&work); my $thread_data2 : shared; $thread_data2; my $thread_die2 : shared; $thread_die2 = 0; my $thread_go2 : shared; $thread_go2 = 0; my $thread_user2 : shared; $thread_user2; my $thread_pass2 : shared; $thread_pass2; my $thread2 = threads->new(\&setconn); use Time::HiRes; use Tk; use Tk::Icon; use Tk::TopLevel; #use Tk::ProgressBar; use utf8; use Win32; use Win32::TieRegistry; use Win32::OLE('in'); use Win32::OLE qw(EVENTS); use Net::UPnP::ControlPoint; use Net::Telnet; use POSIX":sys_wait_h";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with POSIX.pm module using pp
by Anonymous Monk on Oct 23, 2008 at 03:09 UTC | |
by athanasia (Pilgrim) on Oct 23, 2008 at 07:48 UTC | |
by tsee (Curate) on Oct 23, 2008 at 13:18 UTC |