LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-03-2006, 12:01 AM   #1
Rudy
Member
 
Registered: Aug 2003
Location: United States
Distribution: Ubuntu 9.10, Red Hat
Posts: 49

Rep: Reputation: 15
Error - XML::Parser perl module is required for intltool


Hey all,
I'm trying to install from source, and I'm getting a pretty annoying error. I'm running the brand spankin new Ubuntu distro, Dapper. Just got it installed and running tonight. I'm trying to get gaim beta3 installed. Unfortunately, Ubuntu's package manager doesn't let you install beta software.

So, I try to ./configure it. Here's the results: (I had to remove most of the results due to maximum post length. Let me know if you need it all)
david@Smoothstoneserv:~/downloads/gaim-2.0.0beta3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

END XML Parser error results
Ok, so I ran a search for this XML Parser error thing, and it looks like lots of other people have this same issue. I found some post on this forum about a similar problem, and so I downloaded the parser from here: http://search.cpan.org/dist/XML-Parser/Parser.pm

I followed the README instructions. When I tried to 'make', I got the following errors. (I had to clip some, to let the text be below the maximum amount of characters... again, I took from near the top of the error message)

david@Smoothstoneserv:~/downloads/XML-Parser-2.34$ make
make[1]: Entering directory `/home/david/downloads/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
Removed stuff inbetween here
Expat.xs: At top level:
Expat.xs:729: error: syntax error before ‘XML_Content’
Expat.xs: In function ‘elementDecl’:
Expat.xs:731: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:731: error: syntax error before ‘)’ token
Expat.xs:738: error: ‘model’ undeclared (first use in this function)
Expat.xs:744: error: ‘name’ undeclared (first use in this function)
Expat.xs: In function ‘attributeDecl’:
Expat.xs:761: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:761: error: syntax error before ‘)’ token
Expat.xs: In function ‘entityDecl’:
Expat.xs:802: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:802: error: syntax error before ‘)’ token
Expat.xs: In function ‘doctypeStart’:
Expat.xs:831: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:831: error: syntax error before ‘)’ token
Expat.xs: In function ‘doctypeEnd’:
Expat.xs:852: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:852: error: syntax error before ‘)’ token
Expat.xs: In function ‘xmlDecl’:
Expat.xs:872: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:872: error: syntax error before ‘)’ token
Expat.xs: In function ‘unparsedEntityDecl’:
Expat.xs:901: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:901: error: syntax error before ‘)’ token
Expat.xs: In function ‘notationDecl’:
Expat.xs:929: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:929: error: syntax error before ‘)’ token
Expat.xs: At top level:
Expat.xs:960: error: syntax error before ‘parser’
Expat.xs: In function ‘externalEntityRef’:
Expat.xs:975: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:975: error: syntax error before ‘)’ token
Expat.xs:983: error: ‘pubid’ undeclared (first use in this function)
Expat.xs:985: error: ‘base’ undeclared (first use in this function)
Expat.xs:986: error: ‘sysid’ undeclared (first use in this function)
Expat.xs:1002: error: ‘parser’ undeclared (first use in this function)
Expat.xs:1004: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.xs:1004: error: syntax error before ‘entpar’
Expat.xs:1007: error: ‘entpar’ undeclared (first use in this function)
Expat.xs: At top level:
Expat.xs:1115: error: syntax error before ‘XML_Encoding’
Expat.xs: In function ‘unknownEncoding’:
Expat.xs:1123: error: ‘name’ undeclared (first use in this function)
Expat.xs:1167: error: ‘info’ undeclared (first use in this function)
Expat.xs: In function ‘recString’:
Expat.xs:1185: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1185: error: syntax error before ‘)’ token
Expat.xs: At top level:
Expat.xs:1196: error: syntax error before ‘*’ token
Expat.xs: In function ‘suspend_callbacks’:
Expat.xs:1197: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1199: error: ‘XML_CharacterDataHandler’ undeclared (first use in this function)
Expat.xs:1199: error: syntax error before numeric constant
Expat.xs:1204: error: ‘XML_ProcessingInstructionHandler’ undeclared (first use in this function)
Expat.xs:1204: error: syntax error before numeric constant
Expat.xs:1209: error: ‘XML_CommentHandler’ undeclared (first use in this function)
Expat.xs:1209: error: syntax error before numeric constant
Expat.xs:1215: error: ‘XML_StartCdataSectionHandler’ undeclared (first use in this function)
Expat.xs:1215: error: syntax error before numeric constant
Expat.xs:1221: error: ‘XML_UnparsedEntityDeclHandler’ undeclared (first use in this function)
Expat.xs:1221: error: syntax error before numeric constant
Expat.xs:1226: error: ‘XML_NotationDeclHandler’ undeclared (first use in this function)
Expat.xs:1226: error: syntax error before numeric constant
Expat.xs:1231: error: ‘XML_ExternalEntityRefHandler’ undeclared (first use in this function)
Expat.xs:1231: error: syntax error before numeric constant
Expat.xs: At top level:
Expat.xs:1237: error: syntax error before ‘*’ token
Expat.xs: In function ‘resume_callbacks’:
Expat.xs:1238: error: ‘cbv’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParserCreate’:
Expat.c:1290: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1290: error: syntax error before ‘RETVAL’
Expat.xs:1279: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1280: error: variable ‘pep’ has initializer but incomplete type
Expat.xs:1280: error: ‘XML_PARAM_ENTITY_PARSING_NEVER’ undeclared (first use in this function)
Expat.xs:1280: error: storage size of ‘pep’ isn’t known
Expat.xs:1284: error: syntax error before ‘)’ token
Expat.xs:1284: error: syntax error before ‘)’ token
Expat.xs:1320: error: ‘RETVAL’ undeclared (first use in this function)
Expat.xs:1337: error: ‘XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParserRelease’:
Expat.c:1371: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1371: error: syntax error before ‘parser’
Expat.xs:1351: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1351: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_ParserFree’:
Expat.c:1390: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1390: error: syntax error before ‘parser’
Expat.xs:1361: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1361: error: syntax error before ‘)’ token
Expat.xs:1430: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParseString’:
Expat.c:1476: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1476: error: syntax error before ‘parser’
Expat.xs:1439: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1443: error: syntax error before ‘)’ token
Expat.xs:1446: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParseStream’:
Expat.c:1508: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1508: error: syntax error before ‘parser’
Expat.xs:1463: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1465: error: syntax error before ‘)’ token
Expat.xs:1473: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParsePartial’:
Expat.c:1543: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1543: error: syntax error before ‘parser’
Expat.xs:1488: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1488: error: syntax error before ‘)’ token
Expat.xs:1490: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_ParseDone’:
Expat.c:1571: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1571: error: syntax error before ‘parser’
Expat.xs:1504: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetStartElementHandler’:
Expat.c:1594: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1594: error: syntax error before ‘parser’
Expat.xs:1518: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1518: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_SetEndElementHandler’:
Expat.c:1615: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1615: error: syntax error before ‘parser’
Expat.xs:1529: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1529: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_SetCharacterDataHandler’:
Expat.c:1636: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1636: error: syntax error before ‘parser’
Expat.xs:1540: error: ‘XML_CharacterDataHandler’ undeclared (first use in this function)
Expat.xs:1540: error: syntax error before ‘charhndl’
Expat.xs:1541: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1541: error: syntax error before ‘)’ token
Expat.xs:1545: error: ‘charhndl’ undeclared (first use in this function)
Expat.xs:1547: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetProcessingInstructionHandler’:
Expat.c:1663: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1663: error: syntax error before ‘parser’
Expat.xs:1557: error: ‘XML_ProcessingInstructionHandler’ undeclared (first use in this function)
Expat.xs:1557: error: syntax error before ‘prochndl’
Expat.xs:1559: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1559: error: syntax error before ‘)’ token
Expat.xs:1563: error: ‘prochndl’ undeclared (first use in this function)
Expat.xs:1565: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetCommentHandler’:
Expat.c:1691: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1691: error: syntax error before ‘parser’
Expat.xs:1575: error: ‘XML_CommentHandler’ undeclared (first use in this function)
Expat.xs:1575: error: syntax error before ‘cmnthndl’
Expat.xs:1576: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1576: error: syntax error before ‘)’ token
Expat.xs:1580: error: ‘cmnthndl’ undeclared (first use in this function)
Expat.xs:1582: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetDefaultHandler’:
Expat.c:1718: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1718: error: syntax error before ‘parser’
Expat.xs:1592: error: ‘XML_DefaultHandler’ undeclared (first use in this function)
Expat.xs:1592: error: syntax error before ‘dflthndl’
Expat.xs:1593: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1593: error: syntax error before ‘)’ token
Expat.xs:1597: error: ‘dflthndl’ undeclared (first use in this function)
Expat.xs:1600: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetUnparsedEntityDeclHandler’:
Expat.c:1749: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1749: error: syntax error before ‘parser’
Expat.xs:1613: error: ‘XML_UnparsedEntityDeclHandler’ undeclared (first use in this function)
Expat.xs:1613: error: syntax error before ‘unprsdhndl’
Expat.xs:1615: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1615: error: syntax error before ‘)’ token
Expat.xs:1619: error: ‘unprsdhndl’ undeclared (first use in this function)
Expat.xs:1621: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetNotationDeclHandler’:
Expat.c:1777: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1777: error: syntax error before ‘parser’
Expat.xs:1631: error: ‘XML_NotationDeclHandler’ undeclared (first use in this function)
Expat.xs:1631: error: syntax error before ‘nothndlr’
Expat.xs:1632: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1632: error: syntax error before ‘)’ token
Expat.xs:1636: error: ‘nothndlr’ undeclared (first use in this function)
Expat.xs:1638: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetExternalEntityRefHandler’:
Expat.c:1804: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1804: error: syntax error before ‘parser’
Expat.xs:1648: error: ‘XML_ExternalEntityRefHandler’ undeclared (first use in this function)
Expat.xs:1648: error: syntax error before ‘exthndlr’
Expat.xs:1650: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1650: error: syntax error before ‘)’ token
Expat.xs:1654: error: ‘exthndlr’ undeclared (first use in this function)
Expat.xs:1656: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetExtEntFinishHandler’:
Expat.c:1832: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1832: error: syntax error before ‘parser’
Expat.xs:1666: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1666: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_SetEntityDeclHandler’:
Expat.c:1858: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1858: error: syntax error before ‘parser’
Expat.xs:1683: error: ‘XML_EntityDeclHandler’ undeclared (first use in this function)
Expat.xs:1683: error: syntax error before ‘enthndlr’
Expat.xs:1685: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1685: error: syntax error before ‘)’ token
Expat.xs:1689: error: ‘enthndlr’ undeclared (first use in this function)
Expat.xs:1691: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetElementDeclHandler’:
Expat.c:1886: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1886: error: syntax error before ‘parser’
Expat.xs:1701: error: ‘XML_ElementDeclHandler’ undeclared (first use in this function)
Expat.xs:1701: error: syntax error before ‘eldeclhndlr’
Expat.xs:1703: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1703: error: syntax error before ‘)’ token
Expat.xs:1707: error: ‘eldeclhndlr’ undeclared (first use in this function)
Expat.xs:1709: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetAttListDeclHandler’:
Expat.c:1914: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1914: error: syntax error before ‘parser’
Expat.xs:1719: error: ‘XML_AttlistDeclHandler’ undeclared (first use in this function)
Expat.xs:1719: error: syntax error before ‘attdeclhndlr’
Expat.xs:1721: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1721: error: syntax error before ‘)’ token
Expat.xs:1725: error: ‘attdeclhndlr’ undeclared (first use in this function)
Expat.xs:1727: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetDoctypeHandler’:
Expat.c:1942: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1942: error: syntax error before ‘parser’
Expat.xs:1737: error: ‘XML_StartDoctypeDeclHandler’ undeclared (first use in this function)
Expat.xs:1737: error: syntax error before ‘dtsthndlr’
Expat.xs:1739: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1739: error: syntax error before ‘)’ token
Expat.xs:1744: error: ‘dtsthndlr’ undeclared (first use in this function)
Expat.xs:1746: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetEndDoctypeHandler’:
Expat.c:1971: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1971: error: syntax error before ‘parser’
Expat.xs:1756: error: ‘XML_EndDoctypeDeclHandler’ undeclared (first use in this function)
Expat.xs:1756: error: syntax error before ‘dtendhndlr’
Expat.xs:1758: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1758: error: syntax error before ‘)’ token
Expat.xs:1762: error: ‘dtendhndlr’ undeclared (first use in this function)
Expat.xs:1764: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetXMLDeclHandler’:
Expat.c:1999: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:1999: error: syntax error before ‘parser’
Expat.xs:1775: error: ‘XML_XmlDeclHandler’ undeclared (first use in this function)
Expat.xs:1775: error: syntax error before ‘xmldechndlr’
Expat.xs:1777: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1777: error: syntax error before ‘)’ token
Expat.xs:1781: error: ‘xmldechndlr’ undeclared (first use in this function)
Expat.xs:1783: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetBase’:
Expat.c:2027: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2027: error: syntax error before ‘parser’
Expat.xs:1803: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetBase’:
Expat.c:2054: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2054: error: syntax error before ‘parser’
Expat.xs:1812: error: ‘parser’ undeclared (first use in this function)
Expat.xs:1812: warning: initialization makes pointer from integer without a cast
Expat.c: In function ‘XS_XML__Parser__Expat_PositionContext’:
Expat.c:2080: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2080: error: syntax error before ‘parser’
Expat.xs:1829: error: ‘parser’ undeclared (first use in this function)
Expat.xs:1829: warning: initialization makes pointer from integer without a cast
Expat.c: In function ‘XS_XML__Parser__Expat_DefaultCurrent’:
Expat.c:2194: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2194: error: syntax error before ‘parser’
Expat.xs:1920: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1920: error: syntax error before ‘)’ token
Expat.xs:1922: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_RecognizedString’:
Expat.c:2213: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2213: error: syntax error before ‘parser’
Expat.xs:1930: error: ‘XML_DefaultHandler’ undeclared (first use in this function)
Expat.xs:1930: error: syntax error before ‘dflthndl’
Expat.xs:1931: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:1931: error: syntax error before ‘)’ token
Expat.xs:1934: error: ‘dflthndl’ undeclared (first use in this function)
Expat.xs:1942: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetErrorCode’:
Expat.c:2256: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2256: error: syntax error before ‘parser’
Expat.c:2260: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetCurrentLineNumber’:
Expat.c:2273: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2273: error: syntax error before ‘parser’
Expat.c:2277: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetCurrentColumnNumber’:
Expat.c:2290: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2290: error: syntax error before ‘parser’
Expat.c:2294: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetCurrentByteIndex’:
Expat.c:2307: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2307: error: syntax error before ‘parser’
Expat.c:2311: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_GetSpecifiedAttributeCount’:
Expat.c:2324: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2324: error: syntax error before ‘parser’
Expat.c:2328: error: ‘parser’ undeclared (first use in this function)
Expat.xs: In function ‘XS_XML__Parser__Expat_ErrorString’:
Expat.xs:1983: warning: initialization makes pointer from integer without a cast
Expat.c: In function ‘XS_XML__Parser__Expat_OriginalString’:
Expat.c:2484: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2484: error: syntax error before ‘parser’
Expat.xs:2091: error: ‘parser’ undeclared (first use in this function)
Expat.xs:2091: warning: initialization makes pointer from integer without a cast
Expat.c: In function ‘XS_XML__Parser__Expat_SetStartCdataHandler’:
Expat.c:2512: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2512: error: syntax error before ‘parser’
Expat.xs:2109: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2109: error: syntax error before ‘)’ token
Expat.xs:2110: error: ‘XML_StartCdataSectionHandler’ undeclared (first use in this function)
Expat.xs:2115: error: ‘scdhndl’ undeclared (first use in this function)
Expat.xs:2117: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_SetEndCdataHandler’:
Expat.c:2540: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2540: error: syntax error before ‘parser’
Expat.xs:2127: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2127: error: syntax error before ‘)’ token
Expat.xs:2128: error: ‘XML_EndCdataSectionHandler’ undeclared (first use in this function)
Expat.xs:2133: error: ‘ecdhndl’ undeclared (first use in this function)
Expat.xs:2135: error: ‘parser’ undeclared (first use in this function)
Expat.c: In function ‘XS_XML__Parser__Expat_UnsetAllHandlers’:
Expat.c:2568: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2568: error: syntax error before ‘parser’
Expat.xs:2144: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2144: error: syntax error before ‘)’ token
Expat.xs:2149: error: ‘XML_StartNamespaceDeclHandler’ undeclared (first use in this function)
Expat.xs:2149: error: syntax error before numeric constant
Expat.xs:2153: error: ‘parser’ undeclared (first use in this function)
Expat.xs:2154: error: ‘XML_StartElementHandler’ undeclared (first use in this function)
Expat.xs:2154: error: syntax error before numeric constant
Expat.xs:2158: error: ‘XML_UnknownEncodingHandler’ undeclared (first use in this function)
Expat.xs:2158: error: syntax error before numeric constant
Expat.c: In function ‘XS_XML__Parser__Expat_ElementIndex’:
Expat.c:2600: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2600: error: syntax error before ‘parser’
Expat.xs:2167: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2167: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_SkipUntil’:
Expat.c:2621: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2621: error: syntax error before ‘parser’
Expat.xs:2179: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2179: error: syntax error before ‘)’ token
Expat.c: In function ‘XS_XML__Parser__Expat_Do_External_Parse’:
Expat.c:2643: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2643: error: syntax error before ‘parser’
Expat.xs:2194: error: ‘cbv’ undeclared (first use in this function)
Expat.xs:2194: error: syntax error before ‘)’ token
Expat.xs:2197: error: ‘parser’ undeclared (first use in this function)
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/home/david/downloads/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2

END of 'make' error
Any ideas what I need to do? I'm still pretty green to linux and commands, so I might need a bit more explanation than the average linux user would.

Thanks a ton,
David
 
Old 06-03-2006, 12:35 AM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

Rep: Reputation: Disabled
Why did you not use cpan to install XML::Parser??
 
Old 06-03-2006, 04:10 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,420

Rep: Reputation: 100Reputation: 100
..or gt to http://search.cpan.org, type in XML::Parser and install the module manually. its pretty easy
 
Old 06-03-2006, 09:49 AM   #4
Rudy
Member
 
Registered: Aug 2003
Location: United States
Distribution: Ubuntu 9.10, Red Hat
Posts: 49

Original Poster
Rep: Reputation: 15
So, above, I thought I DID try to install the xml parser manually. Did I not? Before I started this thread, I downloaded the xml parser from cpan, and tried to install it. Am I missing something?
 
Old 06-03-2006, 11:23 AM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,420

Rep: Reputation: 100Reputation: 100
we dont know how u did that. the common way is extract the tar.gz, cd into the new directory, perl Makefile.PL, make, su, make install
 
Old 06-03-2006, 11:34 AM   #6
Rudy
Member
 
Registered: Aug 2003
Location: United States
Distribution: Ubuntu 9.10, Red Hat
Posts: 49

Original Poster
Rep: Reputation: 15
Ok, that makes sense. What I did was:
1) tar xzf (filename)
2) cd into the new directory
3) perl Makefile.PL
4) make - this is when I began running into errors. See the last error message in my first post.
 
Old 06-03-2006, 02:20 PM   #7
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,420

Rep: Reputation: 100Reputation: 100
i tried to install the module on my box without any problem and usually perl modules complain about missing dependencies if there are. so i'm sorry i dont have a clue but found that you are not the first who experiences this(http://www.nntp.perl.org/group/perl....esters/300697). but didnt find a solution yet...
 
Old 06-15-2006, 11:43 AM   #8
stereohalf
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Download expat. I'd link to it but this is my first post and i am not allowed by forum rules.

once you download it and uncompress expat
cd to the directory
./configure
make
sudo make install

then install XML Parser.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
perl xml::parser dirhandle problem theshark Linux - Software 0 03-16-2006 06:45 PM
XML::Parser perl module is required for intltool, for LogJam GT_Onizuka Linux - Newbie 7 06-30-2005 07:49 AM
XML::Parser perl module is required farzan Linux - Software 8 09-26-2004 05:54 AM
XML::Parser perl mod is req 4 intltool error BorisMcHack Slackware 4 06-23-2004 07:51 AM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration