Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to create executibles for a perl program

Posted on 2001-08-15
6
Medium Priority
?
289 Views
Last Modified: 2010-03-05
I have created a perl program. I want to create a .exe file for that. I plan to put the .exe file online for our customers to simply download the file and run their scripts from there.
I work on a sun solaris system. I have been searching on the web to find  any software that can convert my perl programs to perl.exe.
What software can I use that will convert my perl program

#! /usr/local/bin/perl

print "this is a test program";

into and executible file.
OR is there a command in perl/unixz that would do the same function i.e. give me a binary/executible file for the above program so that i can use the executable rather then using my perl script.
 
thanks
0
Comment
Question by:jbarlas
6 Comments
 
LVL 6

Accepted Solution

by:
christopher sagayam earned 300 total points
ID: 6390041
0
 

Author Comment

by:jbarlas
ID: 6390139
i think this software has problems with Sun solaris.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 6390225
.exe are Windows executables, not UNIX. Most Soalris systems should come with Perl already installed.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 51

Expert Comment

by:ahoffmann
ID: 6391501
on UNIX simply do a
   chmod +x your-perl-script
and make shure the very first line in your-per-script looks like:

#! /usr/bin/perl

where /usr/bin/perl is the full path to the perl interpreter (may be found using:  which perl)
0
 
LVL 2

Expert Comment

by:hilltop
ID: 6393738
look here at the perl dev kit it contains a utility that will convert perl script to win32 executable
http://aspn.activestate.com/ASPN/Downloads/PDK/More i dont know of any way to create .exe's on solaris you will need an NT or 2000 box it wont work on win9X either
0
 
LVL 2

Expert Comment

by:hilltop
ID: 6393743
oops works on solaris to sorry
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question