Does the executable generated from perlcc needs the library(.pm) files in the same place as compilat

Discussion in 'Perl Misc' started by Ling, Sep 24, 2004.

  1. Ling

    Ling Guest

    Hi,

    Does the executable generated from perlcc need the .pm files in the
    same place as compilation time? I can't get the compiled code run on a
    machine with different perl home. I tried setting PREL5LIB, it didn't
    help. It keeps on complaining not being able to find the .pm files. It
    looks like it hardcode the path for .pm files during compilation. Is
    this the expected behavior? If yes, are there other utilities to
    compile the perl code into binary and not hardcode the path for .pm?
    Thanks a lot,

    Ling
     
    Ling, Sep 24, 2004
    #1
    1. Advertising

  2. Ling

    Sisyphus Guest

    Re: Does the executable generated from perlcc needs the library(.pm)files in the same place as compilation time

    Ling wrote:
    > Hi,
    >
    > Does the executable generated from perlcc need the .pm files in the
    > same place as compilation time? I can't get the compiled code run on a
    > machine with different perl home. I tried setting PREL5LIB, it didn't
    > help. It keeps on complaining not being able to find the .pm files. It
    > looks like it hardcode the path for .pm files during compilation. Is
    > this the expected behavior? If yes, are there other utilities to
    > compile the perl code into binary and not hardcode the path for .pm?
    > Thanks a lot,
    >


    You'll get better milage with the PAR module's pp utility.
    PAR has its own mailing list (see http://lists.perl.org ).

    Cheers,
    Rob

    --
    To reply by email u have to take out the u in kalinaubears.
     
    Sisyphus, Sep 24, 2004
    #2
    1. Advertising

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,257
    Matt Ittigson
    Sep 30, 2003
  2. makko

    perlcc error

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

    perlcc makes it big

    butt-fuzz, Jul 21, 2003, in forum: Perl Misc
    Replies:
    9
    Views:
    173
    Juha Laiho
    Jul 28, 2003
  5. Does perlcc work OK?

    , Feb 3, 2005, in forum: Perl Misc
    Replies:
    1
    Views:
    216
    Tintin
    Feb 4, 2005
Loading...

Share This Page