Loading ...
Sorry, an error occurred while loading the content.
 

Having trouble installing XML::Parser

Expand Messages
  • Mark Johnson
    ENV: Linux 2.2, Mandrake 7.2 I am trying to install the XML::Parser module via the following command: perl -MCPAN -e install XML::Parser it takes off and
    Message 1 of 1 , May 30, 2002
      ENV: Linux 2.2, Mandrake 7.2

      I am trying to install the XML::Parser module via the following command:

      perl -MCPAN -e "install 'XML::Parser'"

      it takes off and then bails when it tries to make XML::Parse::Expat. I have
      checked to see if I have the expat library and I believe I do:

      /usr/share/doc/expat-1.95.2
      /usr/include/expat.h
      /usr/lib/libexpat.a
      /usr/lib/libexpat.la
      /usr/lib/libexpat.so
      /usr/lib/libexpat.so.0
      /usr/lib/libexpat.so.0.1.0

      But when perl gets to the XML::Parser::Expat it complains that it can't find
      some header files:

      cc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
      -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fpic
      -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE Expat.c
      In file included from /usr/include/sys/param.h:25,
      from /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:488,
      from Expat.xs:15:
      /usr/include/linux/param.h:4: asm/param.h: No such file or directory
      In file included from /usr/include/netinet/in.h:27,
      from /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:649,
      from Expat.xs:15:
      /usr/include/bits/socket.h:295: asm/socket.h: No such file or
      directory
      In file included from /usr/include/bits/errno.h:25,
      from /usr/include/errno.h:36,
      from /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:706,
      from Expat.xs:15:
      /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
      In file included from /usr/include/sys/ioctl.h:27,
      from /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:807,
      from Expat.xs:15:
      /usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or
      directory
      In file included from /usr/include/sys/ioctl.h:30,
      from /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:807,
      from Expat.xs:15:
      /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
      directory
      In file included from /usr/include/signal.h:300,
      from
      /usr/local/lib/perl5/5.6.1/i686-linux/CORE/unixish.h:93,
      from
      /usr/local/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
      from Expat.xs:15:
      /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
      directory


      I don't know where there files should come from. Any suggestions on how I
      can fix this?
    Your message has been successfully submitted and would be delivered to recipients shortly.