creating perl binary using PAR module , execution error under unix
  Home FAQ Contact Sign in
comp.lang.perl.modules only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.perl.modules Profile…
 Up
creating perl binary using PAR module , execution error under unix         


Author: Sibu
Date: Mar 15, 2008 04:06

Hai all,

I have created a perl executable application using PP,the application
includes Curses:UI modules.

###Created the binary file by using the following command

$pp myscript.pl ## produces the file a.out

###When I run this file by using command below

$a.out

##gives the following error message

Can't open Curses/UI/Language/english.pm: No such file or directory at
Curses/UI/Language.pm line 96

## I also tried to compile with -M option

$PP -M Curses/UI/Language/english.pm myscript.pl ## produces the
file a.out

##when running a.out it also gives the same error message.
Show full article (1.03Kb)
2 Comments
Re: creating perl binary using PAR module , execution error under unix         


Author: sisyphus
Date: Mar 18, 2008 04:43

On Mar 15, 10:06 pm, Sibu gmail.com> wrote:
.
.
>
> ## I also tried to compile with -M option
>
> $PP -M Curses/UI/Language/english.pm myscript.pl

By my reading of the pp documentation ( at
http://search.cpan.org/~smueller/PAR-Packer-0.978/lib/pp.pm ), the
correct way to pack Curses/UI/Language/english.pm into the executable
would be:

$PP -M Curses::UI::Language::english myscript.pl

but I wonder if you might be better served by:

$PP -M Curses::UI myscript.pl

Cheers,
Rob
no comments
Re: creating perl binary using PAR module , execution error under unix         


Author: Sibu
Date: Mar 20, 2008 06:04

On Mar 18, 4:43 pm, sisyphus gmail.com> wrote:
> On Mar 15, 10:06 pm, Sibu gmail.com> wrote:
> .
> .
>
>
>
>> ## I also tried to compile with -M option
>
>> $PP -M Curses/UI/Language/english.pm myscript.pl
>
> By my reading of the pp documentation ( athttp://search.cpan.org/~smueller/PAR-Packer-0.978/lib/pp.pm), the
> correct way to pack Curses/UI/Language/english.pm into the executable
> would be:
>
> $PP -M Curses::UI::Language::english myscript.pl
>
> but I wonder if you might be better served by:
>
> $PP -M Curses::UI myscript.pl ...
Show full article (1.26Kb)
no comments