martinm has asked for the wisdom of the Perl Monks concerning the following question:
It's very worth mentioning that I get this in the apache2 log when I restart Apache2, so could indicate a wrong/missing package Installed xml packages:Unable to recognise encoding of this document at /usr/share/perl5/XML/ +SAX/PurePerl/EncodingDetect.pm line 100
2nd is a problem with PDL:ii libexpat1 2.0.1-7 + XML parsing C library - runtime library ii libxml-dumper-perl 0.81-1 + Perl module for dumping Perl objects from/to XML ii libxml-grove-perl 0.46alpha- +12 Perl module for accessing parsed *ML instances ii libxml-libxml-perl 1.70.ds-1 + Perl interface to the libxml2 library ii libxml-namespacesupport-perl 1.09-3 + Perl module for supporting simple generic namespac +es ii libxml-parser-perl 2.36-1.1+b +1 Perl module for parsing XML files ii libxml-parser-ruby1.8 0.7.1-1.1 + Interface of expat for the scripting language Ruby + 1.8 ii libxml-perl 0.08-2 + Perl modules for working with XML ii libxml-sablot-perl 1.0-2+b1 + encapsulation of the Sablotron XSL processor ii libxml-sax-perl 0.96+dfsg- +2 Perl module for using and building Perl SAX2 XML p +rocessors ii libxml-simple-perl 2.18-3 + Perl module for reading and writing XML ii libxml-twig-perl 1:3.34-1 + Perl module for processing huge XML documents in t +ree mode ii libxml-xpathengine-perl 0.12-2 + re-usable XPath engine for DOM-like trees ii libxml2
Line 88 is:Undefined subroutine &Proj::pj_init called at /usr/share/perl5/Avbrief +/Projection.pm line 88
I've tried$p->{pj} = Proj::pj_init(4, ["proj=$p->{proj}", "units=$p->{units}", "lat_0=$p->{lat_0}", "lon_0=$p->{lon_0}"]);
and get$p->{pj} = Proj::pj_init_plus(4, ["proj=$p->{proj}", . . .
Cheers, MartinUndefined subroutine &Proj::proj_init_plus called at /usr/share/perl5/ +Avbrief/Projection.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SAX and PDL probs
by InfiniteSilence (Curate) on Jan 24, 2012 at 17:54 UTC | |
by martinm (Novice) on Jan 25, 2012 at 09:52 UTC | |
by martinm (Novice) on Jan 25, 2012 at 18:30 UTC |