For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > March 2008 > creating perl binary using PAR module , execution error under unix









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author creating perl binary using PAR module , execution error under unix
Sibu

2008-03-15, 7:59 am

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.

$ ldd a.out ## shows the following
a.out needs:
/usr/lib/libsocket.so.2
/usr/lib/libm.so.1
/usr/lib/libc.so.1
/usr/lib/libsocket.so.2 needs:
/usr/lib/libresolv.so.1


using perlcc I could compile and run the program without any problem
but its not portable.
Help me to to comple my perl progam with PP

This is perl, v5.8.0 , Curses::UI-0.96, PAR 0.977


Thanks in advance,
Sibu.N.L

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com