creating perl binary using PAR module , execution error under unix



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

.



Relevant Pages

  • Re: Using the X window system
    ... using 'packman' However when i run 'xdm' it gives me a error message. ... however when i try to call it from the command line, ... As for your programs that you compile, ... to be run as root. ...
    (comp.os.minix)
  • Re: Error for "mex" in Mac OS leopard
    ... Template Options file for building MEX-files via the system ... I have this error message: ... When I compile a C file, I always have the following error ... command not found ...
    (comp.soft-sys.matlab)
  • Installing KD3.2
    ... I am running SUSE 9 and when I have the ... ./configure command, it does not compile, it just gave an error message. ...
    (alt.os.linux.suse)
  • Error for "mex" in Mac OS leopard
    ... Template Options file for building MEX-files via the system ... I have this error message: ... When I compile a C file, I always have the following error ... command not found ...
    (comp.soft-sys.matlab)
  • Re: Display Problems
    ... If it shows up in the GUI, it is there, and must be present ... Or issue the command; ... > and got the error message file or folder not found. ... in the midst of the frustration, by all means, vent away. ...
    (alt.os.linux.suse)