> -----Original Message-----
> From: Michael HOUZE [mailto:[EMAIL PROTECTED]
> Sent: 20 February 2007 15:26
> To: par@perl.org
> Subject: RE: Issues on solaris 10 and linux
> 
> 
> > By the way, what flavour of perl are you using? One built 
> with gcc or one built with forte?
> 
> mmm gcc I guess (I don't know what's forte).

The output of perl -V includes this information under "Compiler:". Forte is 
Sun's proprietary development toolset.

> 
> This is an example of the issue:
> use strict;
> use Text::Iconv;
> use XML::Simple;
> 
> 
> my $os_name=`uname`; chomp $os_name;
> my $os_version=`uname -r`; chomp $os_version;
> my $iconv;
> 
> my $config;
> 
> eval {
>         if ($os_name eq "SunOS" && $os_version eq "5.6") { 
> $iconv=Text::Iconv->new ("UTF-8", "8859-1"); }
>         else { $iconv=Text::Iconv->new ("UTF-8", "ISO8859-1"); }
>         #$iconv=Text::Iconv->new ("UTF-8", "ISO8859-1");
> };
> if ($@)
> {
>         print STDERR "Iconv initialization error: [EMAIL PROTECTED]";
>         $@ = undef;
> }
> 
> eval
> {
>         $config = XMLin ('.testconf', suppressempty => 1);
> };
> if ($@)
> {
>         print STDERR "Open configuration file: $@";
> }
> 
> on developpement host it's failed (iconv error 'Couldn't open 
> encmap iso8859-1.enc'), but pp works and par packaged 
> executable is built (maybe with something wrong inside).
> On test host, I got 'Open configuration file: Can't locate 
> object method "new" via package "XML::SAX::Expat" at 
> XML/SAX/ParserFactory.pm line 43.' and running perl script 
> with interpreter works.

Try -M XML::Sax::Expat on the pp command line. Module::ScanDeps (used 
internally by PAR) sometimes misses modules implicitly required or required at 
run time, though much effort has gone into dealing with these.

Reply via email to