Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: PAR::Packer, trouble to include specific external libraries

by Anonymous Monk
on Oct 01, 2012 at 15:50 UTC ( #996681=note: print w/ replies, xml ) Need Help??


in reply to PAR::Packer, trouble to include specific external libraries

use the -l option? try http://www.cavapackager.com/ ( CentOS is like RHEL right)?


Comment on Re: PAR::Packer, trouble to include specific external libraries
Re^2: PAR::Packer, trouble to include specific external libraries
by HJO (Acolyte) on Oct 01, 2012 at 16:10 UTC

    Thank you for your answer,

    I used the --lib option which is an option that I believe alows me to add lib files to my package as specified on the doc :

    -I, --lib=DIR Add the given directory to the perl library file search path. May be specified multiple times. (http://search.cpan.org/~rschupp/PAR-Packer-1.013/lib/pp.pm)

    or do you mean that I have to include every single file with a -l option ?

    Thanks for cavapackager, I've heard of it but it didn't really seamed like the perfect answer for me... I'll give it another try tomorrow

    And yes basically CentOS is like RHEL, every packaged is compiled after the RedHat packages and it is supposed to be 100% compatible...

    Regards

      I used the --lib option ...

      That is why i said use the -l option, copy/paste and ctrl+f to read about the -l option

      $ perldoc pp |ack "\-l\b" -l, --link=*FILE*|*LIBRARY* packed file. Also accepts names under library paths; i.e. "-l ncurses" means the same thing as "-l libncurses.so" or "-l

        Hi,

        Ok thanks, i'll try that

        And it's working :)

        Thanks a lot Anonymous Monk ^^

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-09-22 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls