Government Security
Network Security Resources

Jump to content

Photo

How To Compile Perl 2 Exe Hp-Ux Platform


  • Please log in to reply
1 reply to this topic

#1 emmmanuel

emmmanuel

    Private

  • Members
  • 1 posts

Posted 29 March 2011 - 11:56 PM

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

#2 webdevil

webdevil

    Retired GSO General

  • Sergeant Major
  • 1,195 posts

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