Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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 ( [id://11143561]=note: print w/replies, xml ) Need Help??


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

That's a warning, not an error, and you don't show what you tried and how it failed. How do I post a question effectively?. Some modules have non perl dependencies. XML::CanonicalizeXML -> README.

  • Comment on Re: 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^2: 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 09:51 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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found