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

I'm trying to install XML::Parser in a local directory - I get through the installation of expat in good shape (as far as I can tell). The perl Makefile.pl invocation looks good, but when I run make I get the following warning (this is the first of several but they are similar and probably related)
cc-1047 cc: WARNING File = /usr/share/lib/perl5/irix-n32/5.00404/CORE/ +perlsdio.h, Line = 268 Macro "getc_unlocked" (declared at line 394 of "/usr/include/stdio.h +") has an incompatible redefinition. #define getc_unlocked(f) PerlIO_getc(f) ^
When I try to load the module, I see
Can't load '/home/globus/cyclone/zephyr/XMLParser/perllib/irix-n32/aut +o/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: 1760710:/ +usr/local/bin/perl: rld: Fatal Error: Cannot Successfully map soname 'libexpat.so.1' under any +of the filenames /usr/lib32/libexpat.so.1:/usr/lib32/internal/libexpat.so.1:/ +lib32/libexpat.so.1:/opt/lib32/libexpat.so.1:/usr/lib32/libexpat.so.1 +.1 :/usr/lib32/internal/libexpat.so.1.1:/lib32/libexpat.so.1.1:/opt/lib32 +/libexpat.so.1.1: at /usr/share/lib/perl5/irix-n32/5.00404/DynaLoade +r.pm line 168.
What is the relation between perlsdio.h and stdio.h? Thanks, Mark

Replies are listed 'Best First'.
Re: Installing XML::Parser
by mirod (Canon) on Jul 24, 2003 at 07:33 UTC
Re: Installing XML::Parser
by cleverett (Friar) on Jul 24, 2003 at 00:26 UTC
    Best place to ask is the perl-xml list that ActiveState runs.
Re: Installing XML::Parser
by graff (Chancellor) on Jul 24, 2003 at 01:25 UTC
    Looks like you may need to install James Clark's Expat package (that's offsite: www.jclark.com/xml/expat.html), and make sure that the XML module install can locate the resulting library that it provides.