Utilitarian has asked for the wisdom of the Perl Monks concerning the following question:

I have encountered an issue which appears to be a bug in the Solaris build of PAR::Packer and may previously have shown up under BSD as well but works fine under Linux

Solaris run

bash-2.05$ pp -o saxTest -e 'use XML::SAX; use Data::Dumper;print Dump +er(XML::SAX->parsers());' bash-2.05$ ./saxTest could not find ParserDetails.ini in /var/tmp/par-Utilitarian/cache-975 +edb21ccbc1a6efd7787c240583cc1b105f6fb/SAX $VAR1 = []; bash-2.05$ unzip saxTest .... bash-2.05$ find ./ -name ParserDetails.ini ./.cpan/build/XML-SAX-0.96-cpnLPo/blib/lib/XML/SAX/ParserDetails.ini ./lib/XML/SAX/ParserDetails.ini

./lib/XML/SAX/ParserDetails.ini above came directly from unziping the archive.

Linux run

linux6:~/$ pp -o saxTest -e 'use XML::SAX; use Data::Dumper;print Dump +er(XML::SAX->parsers());' linux6:~/$ ./saxTest $VAR1 = [ { 'Features' => { 'http://xml.org/sax/features/namespaces' = +> '1' }, 'Name' => 'XML::SAX::PurePerl' } ];

Has anyone come across a similar issue and if so is there a solution available?

There appears to have been a bug raised for this previously, but as far as I can tell it was closed without resolution. However I'm not familiar with the CPAN bug tracking process so if someone can give me a digestible tutorial on tracking this issue I would be massively grateful.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re: PAR::Packer fails to find dependencies when executed
by marto (Cardinal) on Nov 25, 2010 at 11:34 UTC
      Hi marto Thanks, that was the core of the issue, ParserDetails.ini in XML::SAX is loaded from the install directory and so breaks in pp. Testing the solution provided at the moment.

      print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
Re: PAR::Packer fails to find dependencies when executed
by Anonymous Monk on Nov 25, 2010 at 11:17 UTC