On Wed, Sep 8, 2010 at 10:24 PM, philkime <[email protected]> wrote:
> using pp to package a binary which uses Unicode::Collate. This module
> requires some data files in its main library (that is, in <lib>/
> Unicode/Collate/ and I add these with the -a flag. This works fine. On
> OSX however, when Unicode::Collate tries to find these files, it
> can't:
>
> Unicode::Collate: Can't locate Unicode/Collate/allkeys.txt in @INC
> (@INC contains: CODE(0x100ad9528) CODE(0x100ad99a8))

This smells like the same problem as
https://rt.cpan.org/Ticket/Display.html?id=59710
esp. the fact that @INC contains only code refs, but no "real" directory.

That problem was reported on FreeBSD, but isn't OSX a FreeBSD under the hood?
It has been fixed in SVN, can you please try the attached patch?

> It may or may not be related but under OSX, it seems that my modules
> all appear in the cache with random string names directly under /.
> They also appear in inc/lib. This also seems to be a problem since I
> thought the random string modules in the root of the cache were just
> the main things that PAR needed?

That's confusing, but OK (and not specific to OSX).

Cheers, Roderich

Attachment: r1202.patch
Description: Binary data

Reply via email to