XML::Parser Installation error: XML-Parser-2.34

Discussion in 'Perl Misc' started by Sean, Oct 2, 2006.

  1. Sean

    Sean Guest

    I downloaded the XML-Parser module from
    http://search.cpan.org/~msergeant/XML-Parser/Parser.pm
    and I untar the source ball to $HOME/local/XML-Parser-2.34.
    Can someone give me some helps? I appreciate!

    Here is what I did and what errors I got:

    1) sean$cd local/XML-Parser-2.34
    2) XML-Parser-2.34$ ls
    Changes Expat MANIFEST Makefile.PL Parser Parser.pm README blib
    pm_to_blib samples t
    3) XML-Parser-2.34$ perl Makefile.PL PREFIX=$HOME/local/perl
    Writing Makefile for XML::parser::Expat
    Writing Makefile for XML::parse
    4) XML-Parser-2.34$ make
    make[1]: Entering directory `/home/sean/local/XML-Parser-2.34/Expat'
    cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
    -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\"
    -fPIC "-I/usr/lib/perl/5.8/CORE" Expat.c
    Expat.xs:12:19: error: expat.h: No such file or directory
    Expat.xs:60: error: syntax error before 'XML_Parser'
    Expat.xs:60: warning: no semicolon at end of struct or union
    Expat.xs:78: error: syntax error before ':' token
    Expat.xs:79: error: syntax error before ':' token
    Expat.xs:80: error: syntax error before ':' token
    Expat.xs:106: error: syntax error before '}' token
    Expat.xs:106: warning: data definition has no type or storage class
    ......(lots of similar errors)
    make[1]: *** [Expat.o] Erro
     
    Sean, Oct 2, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HarishN
    Replies:
    4
    Views:
    258
    Anno Siegel
    Feb 23, 2004
  2. Abhinav
    Replies:
    3
    Views:
    135
    Abhinav
    May 28, 2004
  3. arne
    Replies:
    0
    Views:
    377
  4. Erik Wasser
    Replies:
    5
    Views:
    520
    Peter J. Holzer
    Mar 5, 2006
  5. Sean
    Replies:
    3
    Views:
    339
    robic0
    Oct 3, 2006
Loading...

Share This Page