Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.

Replies are listed 'Best First'.
Re^3: perlcc not working
by marto (Archbishop) 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.

        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.

        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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986212]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-06-18 02:51 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.