Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: perlcc not working

by puneet.keswani (Novice)
on Aug 08, 2012 at 10:26 UTC ( #986212=note: print w/ replies, xml ) Need Help??


in reply to Re: perlcc not working
in thread perlcc not working

Hi, Is there any specific reason on why perlcc is not working after the perl version was enhanced to v5.8.0, also can you please tell me that what all things need to be installed for "pp" to work fine.


Comment on Re^2: perlcc not working
Re^3: perlcc not working
by marto (Bishop) on Aug 08, 2012 at 10:32 UTC

    If you read the links I gave you you'll find the quote:

    "The whole codegen suite (perlcc included) should be considered very experimental. Use for production purposes is strongly discouraged."

    see perlcc. You'll also find discussion about why perlcc died in the other links. pp is under active development, I have access to an old Solaris 10 system running perl 5.8.8 and have no problems creating executables using pp. to install pp and it's prerequisites use cpan:

    cpan pp
      Thanks a lot !! Will install pp and try running the command. Thanks once again.

        No problem, let us know if you have problems. Be sure to read the pp docs well.

      Your citations are wrong.

      perlcc did not die, it was rather enhanced, improved, it is used in production for over 10 years and is under continuous development.

      perlcc was just removed from core (p5p was not able to maintain it anymore).

      pp is no compiler, it is a packager.

        The docs themselves still say

        The code generated in this way is not guaranteed to work. The whole codegen suite (perlcc included) should be considered very experimental. Use for production purposes is strongly discouraged.

        Yup, packagers like PAR/pp/citrusPerl only package executables, but that is what most like puneet are after -- an installable myprog.exe that works out of the box

        perlcc might compile on puneet's machine, but generally it just doesn't compile on most machines.

        It never compiled on win32, while PAR/pp/citrusperl will gladly churn out an .exe

        Thanks. It was not my intention to suggest that pp is a compiler, without doing some searches I'm fairly sure that I frequently use the term packge or packager when discussing pp.

        Apologies if I've misrepresented perlcc, I was purely basing this on the documentation I read, which I quoted in this thread, and the experience of other users, rather than first hand experience of perlcc. In this thread the user was having problems, I suggested an alternative course of action to achieve if similar (but different) end result.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986212]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-18 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls