Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 91520
Status: rejected
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: md5159 [...] mclink.it
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Missing MIME\types.db from pp-generated code
Date: Thu, 19 Dec 2013 10:48:54 +0100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: ric <md5159 [...] mclink.it>
Download (untitled) / with headers
text/plain 1.4k
I've an issue, for a missing of MIME:Types.db from code generated via pp of PAR::Packer. Development environment is: XP SP3 machine within VirtualBox Strawberry Perl 5.18.1.1 PAR::Packer 1.017 MIME:Lite 3.030 Interpreted code (i.e. code invoked via "perl -w scriptname.pl") runs fine within this environment, so I would exclude issues on the script. pp compilation is invoked in a very plain way as pp -v -o scriptname.exe scriptname.pl and does not output any warning. When the executable gets transferred on a "real" environment (an independent, XP SP3 "true" box), program fails with a "cannot open type database in MIME\types.db: No such file or directory" As a matter of fact, if I enter the cache folder within TEMP (where pp-compiled scripts expand their contents), and navigate downwards to \inc\lib\MIME, I find 4 modules there (base64.pm, lite.pm, type.pm, types.pm), but no types.db whatsoever. I've also tried to include explicitly MIME:Lite via -M pp -M MIME:Lite -v -o scriptname.exe scriptname.pl and also, specifying source and destination of the file to be included, pp -a "c:\strawberry\perl\site\lib\MIME\types.db;/inc/lib/MIME/types.db" -v -o scriptname.exe scriptname.pl still, to no extent. In the last form, I've also opened the zipped executable, and requested file is not where it should be. Can't say whether this is an issue or a pitfall on my side; whatever the case, any suggestion/workaround is greatly appreciated. regards ric
Download (untitled) / with headers
text/plain 734b
On Thu Dec 19 04:49:10 2013, md5159@mclink.it wrote: Show quoted text
> I've an issue, for a missing of MIME:Types.db from code generated via pp > of PAR::Packer. > > Development environment is: > > XP SP3 machine within VirtualBox > Strawberry Perl 5.18.1.1 > > PAR::Packer 1.017 > MIME:Lite 3.030 > ... > Can't say whether this is an issue or a pitfall on my side; whatever the > case, any suggestion/workaround is greatly appreciated. > > regards > ric
I wouldn't know, either, but reporting it to the PAR::Packer queue might let the people know about this problem who can fix it, as PAR::Packer is not maintained by the same people who maintain Strawberry Perl - Strawberry Perl includes it as a convenience to its users.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.