perlcc error

Discussion in 'Perl Misc' started by makko, Mar 4, 2005.

  1. makko

    makko Guest

    Hello all,
    i tried using perlcc on my calc.pl script;
    perlcc -o calc calc.pl

    but i get this error;
    /usr/bin/perlcc: calc.pl did not compile, which can't happen:

    i'm using perl 5.8.4 on Slackware 10. What could be the cause of this?

    regards,
    Makko.
     
    makko, Mar 4, 2005
    #1
    1. Advertisements

  2. makko wrote:
    > Hello all,
    > i tried using perlcc on my calc.pl script;
    > perlcc -o calc calc.pl
    >
    > but i get this error;
    > /usr/bin/perlcc: calc.pl did not compile, which can't happen:
    >
    > i'm using perl 5.8.4 on Slackware 10. What could be the cause of this?


    perlcc doesn't work for all but the simplest of scripts. For all
    practical purposes you should be using the pp tool (which is part of the
    PAR module) to produce a standalone version of your Perl scripts.

    http://search.cpan.org/~autrijus/PAR/script/pp

    Simon.
     
    Simon Andrews, Mar 4, 2005
    #2
    1. Advertisements

  3. makko

    makko Guest

    PP works perfect thanx, but do the executables work on a machine with
    the same operating sysytem but without perl installed?
    Example: i make the executable on Linux_X86-perl_installed and run it
    on Linux_SPARC64-perl_!_installed.

    regards,
    Makko
     
    makko, Mar 17, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt Ittigson

    Problem with perlcc

    Matt Ittigson, Sep 30, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,454
    Matt Ittigson
    Sep 30, 2003
  2. makko

    perlcc error

    makko, Mar 2, 2005, in forum: Perl
    Replies:
    0
    Views:
    730
    makko
    Mar 2, 2005
  3. Paul Urbanus
    Replies:
    0
    Views:
    2,356
    Paul Urbanus
    Apr 7, 2006
  4. butt-fuzz

    perlcc makes it big

    butt-fuzz, Jul 21, 2003, in forum: Perl Misc
    Replies:
    9
    Views:
    352
    Juha Laiho
    Jul 28, 2003
  5. Warren Bell

    Perlcc and converting scripts to bytecode

    Warren Bell, Dec 7, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    261
    Robert
    Dec 7, 2003
  6. Ralph K

    Perl2EXE vs. PAR vs. perlcc

    Ralph K, Dec 7, 2003, in forum: Perl Misc
    Replies:
    7
    Views:
    903
    Simon Andrews
    Dec 12, 2003
  7. ngoc

    perlcc

    ngoc, Dec 10, 2003, in forum: Perl Misc
    Replies:
    6
    Views:
    320
    Sisyphus
    Dec 12, 2003
  8. Paul Urbanus

    perlcc error - 'Can't unlink error file...'

    Paul Urbanus, Apr 7, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    284
    Mothra
    Apr 7, 2006
Loading...