Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

When i am installing a one perl module i am getting error like this. So anyone can help me on this.

by Anonymous Monk
on May 04, 2022 at 06:50 UTC ( [id://11143560]=perlquestion: print w/replies, xml ) Need Help??

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

I am trying to installing these module "XML::CanonicalizeXML". I am getting error like below.

MakeMaker (v6.68)

Warning (non-fatal): Target 'dynamic' depends on targets in skipped section 'dynamic_lib'

Warning (non-fatal): Target 'static' depends on targets in skipped section 'static_lib'

Writing Makefile for Mytest2::canon

Writing Makefile for XML::CanonicalizeXML

  • Comment on When i am installing a one perl module i am getting error like this. So anyone can help me on this.

Replies are listed 'Best First'.
Re: When i am installing a one perl module i am getting error like this. So anyone can help me on this.
by marto (Cardinal) on May 04, 2022 at 08:00 UTC

      But after the these command

      sudo perl Makefile.PL

      I have execute the make command

      make

      Then i will get an error like this

      Skip blib/lib/XML/CanonicalizeXML.pm (unchanged) cd canon && make make[1]: Entering directory `/opt/SMAW/SMAWrtppl/5.8.9-04/lib/perl5/5. +8.9/XML-CanonicalizeXML-0.10/canon' gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fs +tack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSE +T_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fs +tack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches + -m64 -mtune=generic -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr +/lib64/perl5/CORE" canon.c In file included from canon.c:1:0: canon.h:1:36: fatal error: libxml/parserInternals.h: No such file or d +irectory #include <libxml/parserInternals.h> ^ compilation terminated. make[1]: *** [canon.o] Error 1 make[1]: Leaving directory `/opt/SMAW/SMAWrtppl/5.8.9-04/lib/perl5/5.8 +.9/XML-CanonicalizeXML-0.10/canon' make: *** [canon/libcanon.a] Error 2
        fatal error: libxml/parserInternals.h: No such file or directory #incl +ude <libxml/parserInternals.h>

        You don't have the module prerequisites installed as suggested in my previous reply.

        yum install libxml2 libxml2-devel or apt install libxml2 libxml2-dev, or whatever your OS package manager is.

        Update: See also this reply

Re: When i am installing a one perl module i am getting error like this. So anyone can help me on this.
by syphilis (Archbishop) on May 04, 2022 at 08:16 UTC
    What was the command that you ran ?

    Cheers,
    Rob

      sudo perl Makefile.PL

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11143560]
Approved by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-20 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found