Skip Menu |

This queue is for tickets about the XML-Parser CPAN distribution.

Report information
The Basics
Id: 1758
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: Rahbari [...] nightsystems.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.31
Fixed in: (no value)



Subject: Problems during installing XML::Parser
Hello, by trying to install the XML::Parser I always got an error. I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0.
cpan> install XML::Parser CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sun, 03 Nov 2002 18:24:23 GMT Running install for module XML::Parser Running make for C/CO/COOPERCL/XML-Parser-2.31.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/C/CO/COOPERCL/XML-Parser-2.31.tar.gz ok Scanning cache /root/.cpan/build for sizes Deleting from cache: /root/.cpan/build/XML-Simple-1.08 (11.0>10.0 MB) Deleting from cache: /root/.cpan/build/XML-Sablotron-0.90 (10.9>10.0 MB) Deleting from cache: /root/.cpan/build/XML-LibXSLT-1.52 (10.7>10.0 MB) Deleting from cache: /root/.cpan/build/Compress-Zlib-1.19 (10.6>10.0 MB) Deleting from cache: /root/.cpan/build/XML-Parser-2.31 (10.2>10.0 MB) XML-Parser-2.31/ XML-Parser-2.31/Parser/ XML-Parser-2.31/Parser/Encodings/ XML-Parser-2.31/Parser/Encodings/x-sjis-cp932.enc XML-Parser-2.31/Parser/Encodings/iso-8859-7.enc XML-Parser-2.31/Parser/Encodings/iso-8859-9.enc XML-Parser-2.31/Parser/Encodings/x-euc-jp-unicode.enc XML-Parser-2.31/Parser/Encodings/big5.enc XML-Parser-2.31/Parser/Encodings/x-sjis-jdk117.enc XML-Parser-2.31/Parser/Encodings/x-sjis-unicode.enc XML-Parser-2.31/Parser/Encodings/iso-8859-5.enc XML-Parser-2.31/Parser/Encodings/README XML-Parser-2.31/Parser/Encodings/euc-kr.enc XML-Parser-2.31/Parser/Encodings/windows-1250.enc XML-Parser-2.31/Parser/Encodings/iso-8859-3.enc XML-Parser-2.31/Parser/Encodings/Japanese_Encodings.msg XML-Parser-2.31/Parser/Encodings/iso-8859-4.enc XML-Parser-2.31/Parser/Encodings/iso-8859-8.enc XML-Parser-2.31/Parser/Encodings/x-euc-jp-jisx0221.enc XML-Parser-2.31/Parser/Encodings/iso-8859-2.enc XML-Parser-2.31/Parser/Encodings/x-sjis-jisx0221.enc XML-Parser-2.31/Parser/LWPExternEnt.pl XML-Parser-2.31/samples/ XML-Parser-2.31/samples/canonical XML-Parser-2.31/samples/xmlcomments XML-Parser-2.31/samples/ctest.dtd XML-Parser-2.31/samples/REC-xml-19980210.xml XML-Parser-2.31/samples/xmlfilter XML-Parser-2.31/samples/canontst.xml XML-Parser-2.31/samples/xmlstats XML-Parser-2.31/t/ XML-Parser-2.31/t/defaulted.t XML-Parser-2.31/t/cdata.t XML-Parser-2.31/t/decl.t XML-Parser-2.31/t/astress.t XML-Parser-2.31/t/skip.t XML-Parser-2.31/t/stream.t XML-Parser-2.31/t/parament.t XML-Parser-2.31/t/finish.t XML-Parser-2.31/t/partial.t XML-Parser-2.31/t/ext2.ent XML-Parser-2.31/t/encoding.t XML-Parser-2.31/t/external_ent.t XML-Parser-2.31/t/ext.ent XML-Parser-2.31/t/file.t XML-Parser-2.31/t/foo.dtd XML-Parser-2.31/t/namespaces.t XML-Parser-2.31/Changes XML-Parser-2.31/Expat/ XML-Parser-2.31/Expat/Expat.xs XML-Parser-2.31/Expat/Makefile.PL XML-Parser-2.31/Expat/encoding.h XML-Parser-2.31/Expat/Expat.pm XML-Parser-2.31/Expat/typemap XML-Parser-2.31/MANIFEST XML-Parser-2.31/Parser.pm XML-Parser-2.31/Makefile.PL XML-Parser-2.31/README CPAN.pm: Going to build C/CO/COOPERCL/XML-Parser-2.31.tar.gz Checking if your kit is complete... Looks good Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl cp Parser.pm blib/lib/XML/Parser.pm cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.31/Expat' cp Expat.pm ../blib/lib/XML/Parser/Expat.pm /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c cc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fpic "-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE" Expat.c Expat.xs:12: expat.h: No such file or directory make[1]: *** [Expat.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.31/Expat' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
From: sebastiao_barata [...] yahoo.com
[guest - Sun Nov 3 18:32:20 2002]: Show quoted text
> Hello, > > by trying to install the XML::Parser I always got an error. > I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0.
I do not know if it is the same problem, but I also had a make break at that point. I was compiling in Cygwin. The problem was related with $LIB being defined with garbage. Try to set LIB="" and recompile. It should work. Anyway it is a bug, so it should be solved.
From: Guest
Same Problem i am facing while make make[1]: *** [Expat.o] Error 1 make[1]: Leaving directory `/usr/XLS/XML-Parser-2.31/Expat' make: *** [subdirs] Error 2 Even its giving lot of error like /usr/local/include/expat.h:301: error: parse error before '*' token /usr/local/include/expat.h:321: error: parse error before '*' token /usr/local/include/expat.h:333: error: parse error before "XML_SetEntityDeclHandler" /usr/local/include/expat.h:334: error: parse error before "XML_EntityDeclHandler" /usr/local/include/expat.h:345: error: parse error before '*' token /usr/local/include/expat.h:357: error: parse error before '*' token /usr/local/include/expat.h:370: error: parse error before '*' token /usr/local/include/expat.h:375: error: parse error before '*' token /usr/local/include/expat.h:388: error: parse error before '*' token /usr/local/include/expat.h:424: error: parse error before '*' token /usr/local/include/expat.h:441: error: parse error before '*' token /usr/local/include/expat.h:501: error: parse error before '*' token /usr/local/include/expat.h:502: error: parse error before '*' token /usr/local/include/expat.h:520: error: parse error before '*' token /usr/local/include/expat.h:526: error: parse error before "XML_SetElementHandler" /usr/local/include/expat.h:527: error: parse error before "XML_StartElementHandler" /usr/local/include/expat.h:531: error: parse error before "XML_SetStartElementHandler" /usr/local/include/expat.h:532: error: parse error before "XML_StartElement I am trying in Solaris Anybody has any idea? [guest - Sun Nov 3 18:32:20 2002]: Show quoted text
> Hello, > > by trying to install the XML::Parser I always got an error. > I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0. >
Ticket migrated to github as https://github.com/toddr/XML-Parser/issues/16