| Posted on 2006-12-08 19:06:12-08 by aron |
| Install errors |
|
Hi, having a problem installing the XML::Parser module. The problem seems to reside with the Expat sub-module. The system is a Kubuntu Edgy box, cpan script version 1.03, CPAN.pm version 1.8802. I'm giving what I believe are the relevant portions of error, and omitting the cruft:
cpan[1]> clean XML::Parser::Expat
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 08 Dec 2006 15:25:06 GMT
Running clean for module XML::Parser::Expat
Running make clean
Distribution seems to have never been unzipped/untarred, nothing done
cpan[2]> install XML::Parser::Expat
Running install for module XML::Parser::Expat
Running make for M/MS/MSERGEANT/XML-Parser-2.34.tar.gz
CPAN: Digest::SHA loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz ok
Scanning cache /root/.cpan/build for sizes
[Omitted package enumeration here - nothing irregular seen]
Removing previously used /root/.cpan/build/XML-Parser-2.34
CPAN.pm: Going to build M/MS/MSERGEANT/XML-Parser-2.34.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
[Omitted a long series of (successful) copy commands]
make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl /usr/share/perl/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl/5.8/ExtU
+tils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/l
+ocal/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
At this point, the script throws up a long series of error commands relating to the Expat library, looking mostly like so:
Expat.xs:60: error: expected specifier-qualifier-list before 'XML_Parser'
Expat.xs:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsdelim'
Expat.xs:194: error: expected '=', ',', ';', 'asm' or '__attribute__ before 'ms'
Expat.xs:197: error: expected ')' before 'parser'
Expat.xs:249: error: expected ')' before '*' token
...and so forth.
Appreciate any help. |
| Direct Responses: Write a response |