Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

perlcc not working

by puneet.keswani (Novice)
on Aug 08, 2012 at 10:12 UTC ( #986203=perlquestion: print w/ replies, xml ) Need Help??
puneet.keswani has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have a doubt regarding one of the utilities in perl - "perlcc"

5 years ago I had written a perl script and had used "perlcc" to create its binary equivalent, now I have to make some changes in the script and again want its binary equivalent. Now the perl version has changed to v5.8.8, earlier being v5.8.0. After I try to execute the below mentioned command it gives me the following error :

mccpbtopdev% /usr/local/bin/perlcc -o rpt_template2 excel_template.pl

Segmentation Fault - core dumped

/usr/local/bin/perlcc: excel_template.pl did not compile, which can't happen:

Starting compile Walking tree Exporter saved (it is in Symbol's @ISA) IO::Handle saved (it is in IO::File's @ISA) IO::Seekable saved (it is in IO::File's @ISA) OLE::Storage_Lite::PPS saved (it is in OLE::Storage_Lite::PPS::Dir's @ISA) Spreadsheet::WriteExcel::Workbook saved (it is in Spreadsheet::WriteExcel's @ISA) Prescan Saving methods Basically its giving Segmentation Fault with a core dump file. Please help..

Comment on perlcc not working
Re: perlcc not working
by marto (Chancellor) on Aug 08, 2012 at 10:15 UTC
      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.

        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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2014-07-31 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls