Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jsoedomo [...] metapa.net
Cc:
AdminCc:

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



Subject: Similar problem with Perl 5.8.0, no expat.h
I got the same problem using Perl 5.8.0. However, after compiling XML::Parser 2.29 is ok. [root@dev XML-Parser-2.31]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser [root@dev XML-Parser-2.31]# make 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 `/tmp/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/ExtUtil s/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 -I/usr/include/gdbm -O2 - DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fpic "-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE" Expat.c Expat.xs:12:19: expat.h: No such file or directory make[1]: *** [Expat.o] Error 1 make[1]: Leaving directory `/tmp/XML-Parser-2.31/Expat' make: *** [subdirs] Error 2
From: james [...] zhengjinjun.com
On Sun Oct 27 02:14:49 2002, guest wrote: Show quoted text
> I got the same problem using Perl 5.8.0. However, after compiling > XML::Parser 2.29 is ok. > > [root@dev XML-Parser-2.31]# perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for XML::Parser::Expat > Writing Makefile for XML::Parser > [root@dev XML-Parser-2.31]# make > 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- Show quoted text
> 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 `/tmp/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/ExtUtil > s/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 -I/usr/include/gdbm -O2 - > DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fpic "- > I/usr/local/lib/perl5/5.8.0/i686-linux/CORE" Expat.c > Expat.xs:12:19: expat.h: No such file or directory > make[1]: *** [Expat.o] Error 1 > make[1]: Leaving directory `/tmp/XML-Parser-2.31/Expat' > make: *** [subdirs] Error 2
Your system doesn't have expat installed (thats why expat.h can't be found) Install expat, then make again On Mon Mar 06 06:41:05 2006, guest wrote: Show quoted text
> On Sun Oct 27 02:14:49 2002, guest wrote:
> > I got the same problem using Perl 5.8.0. However, after compiling > > XML::Parser 2.29 is ok. > > > > [root@dev XML-Parser-2.31]# perl Makefile.PL > > Checking if your kit is complete... > > Looks good > > Writing Makefile for XML::Parser::Expat > > Writing Makefile for XML::Parser > > [root@dev XML-Parser-2.31]# make > > 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 `/tmp/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/ExtUtil > > s/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 -I/usr/include/gdbm -O2 - > > DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fpic "- > > I/usr/local/lib/perl5/5.8.0/i686-linux/CORE" Expat.c > > Expat.xs:12:19: expat.h: No such file or directory > > make[1]: *** [Expat.o] Error 1 > > make[1]: Leaving directory `/tmp/XML-Parser-2.31/Expat' > > make: *** [subdirs] Error 2
> >
From: Jonathan
On Sun Mar 26 10:52:48 2006, guest wrote: Show quoted text
> Your system doesn't have expat installed > (thats why expat.h can't be found) > Install expat, then make again
What useful advice! On a debian-related machine, install "expat-dev". I'm not sure what other distros call it, but that solved the problem for me! :-) Cheers, Jonathan
From: Steve
On Sat Apr 15 05:36:27 2006, guest wrote: Show quoted text
> On Sun Mar 26 10:52:48 2006, guest wrote:
> > Your system doesn't have expat installed > > (thats why expat.h can't be found) > > Install expat, then make again
> > What useful advice! > > On a debian-related machine, install "expat-dev". I'm not sure what > other distros call it, but that solved the problem for me! :-) > > Cheers, > Jonathan > >
On Xubuntu 6.06 I had to install expat and libexpat1-dev. ~s