Hello, I've been having a problem using pp with deep dependencies. I've scoured the internet and could find very little to address this problem. On stackoverflow.com I found the following posts:
This does have a portability problem though. PAR has problems with compiled code and dynamic libraries. Maybe that doesn't matter in this case, but it has mattered to some of m customers. - brian d foy<http://stackoverflow.com/users/8817/brian-d-foy> Jul 31 at 17:32 Why haven't you reported these things as bugs? It's not like you don't know how to reach me. Furthermore, how does it have problems with compiled code? As far as I know, this simply means that you'll have to create a .par for each target platform: It's a binary format after all. In principle, it should handle shared libraries alright. - tsee<http://stackoverflow.com/users/13164/tsee> Aug 1 at 8:26 It would indeed appear that PAR Packer has the problems indicated by Brian. You may be interested in my stackoverflow post here: http://stackoverflow.com/questions/1424181/can-par-packer-generate-stand-alone-scripts In particular I see two common issues: 1. Issues with something like Log::Any::Adapter::Null required by CHI::Driver::File 2. Issues with compiled modules such as Scalar::Util required by Compress::Zlib a. Ref: http://search.cpan.org/~gbarr/Scalar-List-Utils-1.21/lib/Scalar/Util.pm#DIAGNOSTICS Errors produce by issue #1 above: [Tue Sep 15 15:28:08 2009] [error] Can't locate Log/Any/Adapter/Null.pm in @INC (@INC contains: CODE(0x874aab8) /tmp/par-apache/cache-7b4508ab92efb43271da1629e8eb654c1572cc55/inc/lib /tmp/par-apache/cache-7b4508ab92efb43271da1629e8eb654c1572cc55/inc CODE(0x87e8f54) CODE(0x87e9194)) at (eval 215) line 3. [Tue Sep 15 15:28:08 2009] [error] Compilation failed in require at CHI/Driver/File.pm line 11. [Tue Sep 15 15:28:08 2009] [error] BEGIN failed--compilation aborted at CHI/Driver/File.pm line 11. Errors produced by issue #2 above: [Tue Sep 15 09:11:06 2009] [error] "dualvar" is not exported by the Scalar::Util module [Tue Sep 15 09:11:06 2009] [error] Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.5/Compress/Zlib.pm line 9 [Tue Sep 15 09:11:06 2009] [error] BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Compress/Zlib.pm line 9. [Tue Sep 15 09:11:06 2009] [error] Compilation failed in require at -e line 360. Any help you could provide would be greatly appreciated. Thanks, ~ Jon ~~~~~~~~~~~~~~~ Jonathon Robinson Software Developer, CBOSS Software Development Research In Motion Ltd. 519-888-7465 x77337 jonarobin...@rim.com<mailto:jonarobin...@rim.com> --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.