Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Compiling perl? perl??

Reply
Thread Tools

Compiling perl? perl??

 
 
Mark Seger
Guest
Posts: n/a
 
      11-30-2006
I suspect this has been discussed in the past before, and so I searched
around the web and virtually everything I found out there says perlcc is
buggy and not to use it, especially in production, so my question is are
there any reliable alternatives? Or is there some magic incantation to
get perlcc to build without segment faulting as that's what it's doing
to me?

The problem I'm interesting is solving is getting something to run on a
system that doesn't have perl installed. I know there are also those
who want to compile as a way of hiding source, but I don't care about that.

-mark
 
Reply With Quote
 
 
 
 
Ben Morrow
Guest
Posts: n/a
 
      12-01-2006

Quoth Mark Seger <>:
> I suspect this has been discussed in the past before, and so I searched
> around the web and virtually everything I found out there says perlcc is
> buggy and not to use it, especially in production, so my question is are
> there any reliable alternatives? Or is there some magic incantation to
> get perlcc to build without segment faulting as that's what it's doing
> to me?
>
> The problem I'm interesting is solving is getting something to run on a
> system that doesn't have perl installed. I know there are also those
> who want to compile as a way of hiding source, but I don't care about that.


See PAR.pm. This packages up the perl binary and your program into a
single executable.

Ben

--
Like all men in Babylon I have been a proconsul; like all, a slave ... During
one lunar year, I have been declared invisible; I shrieked and was not heard,
I stole my bread and was not decapitated.
~ ~ Jorge Luis Borges, 'The Babylon Lottery'
 
Reply With Quote
 
 
 
 
John Bokma
Guest
Posts: n/a
 
      12-01-2006
Mark Seger <> wrote:

> The problem I'm interesting is solving is getting something to run on
> a system that doesn't have perl installed. I know there are also
> those who want to compile as a way of hiding source, but I don't care
> about that.


Check out PAR, which puts the perl interpreter, your script, modules etc.
in one executable.

--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
 
Reply With Quote
 
boyd
Guest
Posts: n/a
 
      12-01-2006
In article <456f24f5$>,
Mark Seger <> wrote:

> I suspect this has been discussed in the past before, and so I searched
> around the web and virtually everything I found out there says perlcc is
> buggy and not to use it, especially in production, so my question is are
> there any reliable alternatives? Or is there some magic incantation to
> get perlcc to build without segment faulting as that's what it's doing
> to me?
>
> The problem I'm interesting is solving is getting something to run on a
> system that doesn't have perl installed. I know there are also those
> who want to compile as a way of hiding source, but I don't care about that.
>
> -mark


The module PAR does this for you, so I understand. This article by
simon cozens http://simon-cozens.org/programmer/articles/webgui.pod
does more than you are requesting, but it points the way.

Boyd
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 09:47 PM
Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 08:55 PM
Compiling when libedit is in path Is there a trick to compiling Ruby when libedit must exist in the search path? Can you statically link to readline 5.0 in some manner? -- Lon Baker Lon Baker Ruby 1 03-21-2005 08:57 AM
Compiling from the command line David Rainsford ASP .Net 4 05-06-2004 02:03 PM
VS is adding code when compiling Jonas L ASP .Net 1 04-01-2004 02:27 PM



Advertisments