I have installed perl2exe application on a Solaris machine. I am having problems compiling my .pl script to an executable that can run on the hp-ux platform. see below my trial and error.
$ perl2exe -platform=hp-ux BkpArch.pl #complile command
Perl2Exe V9.100 Copyright © 1997-2008 IndigoSTAR Software
ERROR: Invalid platform: hp-ux #ERROR
$ pp -o BkpArch BkpArch.pl #Another Compile commnad
--It executes with no errors but when i run it on the hp-ux machine i get the below error.
$ ./BkpArch
ksh: ./BkpArch: cannot execute #ERROR
Thanks in advance
Emmanuel
Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
How To Compile Perl 2 Exe Hp-Ux Platform
Started by
emmmanuel
, Mar 29 2011 11:56 PM
1 reply to this topic
#1
Posted 29 March 2011 - 11:56 PM
#2
Posted 30 March 2011 - 12:40 PM
$ perl2exe -platform=hp-ux BkpArch.pl #complile command
Perl2Exe V9.100 Copyright © 1997-2008 IndigoSTAR Software
ERROR: Invalid platform: hp-ux #ERROR
Clearly indicates that the platform entered is incorrect
Is perl2exe case sensitive? try HP-UX
$ pp -o BkpArch BkpArch.pl #Another Compile commnad
--It executes with no errors but when i run it on the hp-ux machine i get the below error.
$ ./BkpArch
ksh: ./BkpArch: cannot execute #ERROR
chmod +x BkpArch
and then try executing it.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












