From arcriley at gmail.com Thu Nov 4 02:43:22 2010 From: arcriley at gmail.com (Arc Riley) Date: Wed, 3 Nov 2010 21:43:22 -0400 Subject: [xml-sig] PyXML-0.8.4 Installation problem. In-Reply-To: References: Message-ID: Is there a reason you're not using one of the standard xml modules included in Python? On Fri, Oct 1, 2010 at 2:59 AM, Balakrishnan, Rakesh < Rakesh.Balakrishnan at lsi.com> wrote: > Hi, > > > > I downloaded PyXML-0.8.4.tar from the sourceforge site and tried to > install. > > I am getting the following error. > > Please help me in resolving this. > > > > *# python setup.py install* > > *Traceback (most recent call last):* > > * File "setup.py", line 127, in ?* > > * config_h_vars = parse_config_h(open(config_h))* > > *IOError: [Errno 2] No such file or directory: > '/usr/include/python2.4/pyconfig-32.h'* > > *[root at p190 PyXML-0.8.4]# vi README* > > *[root at p190 PyXML-0.8.4]# python setup.py install* > > *Traceback (most recent call last):* > > * File "setup.py", line 127, in ?* > > * config_h_vars = parse_config_h(open(config_h))* > > *IOError: [Errno 2] No such file or directory: > '/usr/include/python2.4/pyconfig-32.h'* > > > > Thanks, > > Rakesh > > > > _______________________________________________ > xml-sig mailing list > xml-sig at python.org > http://mail.python.org/mailman/listinfo/xml-sig > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan_ml at behnel.de Thu Nov 4 07:07:21 2010 From: stefan_ml at behnel.de (Stefan Behnel) Date: Thu, 04 Nov 2010 07:07:21 +0100 Subject: [xml-sig] PyXML-0.8.4 Installation problem. In-Reply-To: References: Message-ID: <4CD24D99.3030302@behnel.de> Balakrishnan, Rakesh, 01.10.2010 08:59: > I downloaded PyXML-0.8.4.tar from the sourceforge site and tried to install. You mean the site where it says "PyXML is no longer maintained" ? Stefan From martin at v.loewis.de Sat Nov 20 00:54:59 2010 From: martin at v.loewis.de (=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Sat, 20 Nov 2010 00:54:59 +0100 Subject: [xml-sig] patches to pyxml In-Reply-To: References: Message-ID: <4CE70E53.50904@v.loewis.de> Am 15.07.2010 19:13, schrieb Arun Kumar: > i noticed a couple of errors in pyxml when trying to run a blender2cs > script. PyXML is no longer maintained, so your patch will, unfortunately, be ignored (except by people who picked them up on their own). Regards, Martin From rhboarder09 at hotmail.com Thu Nov 18 03:34:10 2010 From: rhboarder09 at hotmail.com (richard hanning) Date: Thu, 18 Nov 2010 02:34:10 -0000 Subject: [xml-sig] problem installing Message-ID: when i ran 'python setup.py install' i got:extensions/pyexpat.c:493: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:496: error: ?xmlparseobject? has no member named ?buffer_used?extensions/pyexpat.c:496: error: ?xmlparseobject? has no member named ?buffer_size?extensions/pyexpat.c:505: error: ?xmlparseobject? has no member named ?buffer_size?extensions/pyexpat.c:507: error: ?xmlparseobject? has no member named ?buffer_used?extensions/pyexpat.c:510: warning: implicit declaration of function ?memcpy?extensions/pyexpat.c:510: warning: incompatible implicit declaration of built-in function ?memcpy?extensions/pyexpat.c:510: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:510: error: ?xmlparseobject? has no member named ?buffer_used?extensions/pyexpat.c:512: error: ?xmlparseobject? has no member named ?buffer_used?extensions/pyexpat.c: In function ?my_StartElementHandler?:extensions/pyexpat.c:524: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:524: error: ?container? undeclared (first use in this function)extensions/pyexpat.c:524: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:524: warning: left-hand operand of comma expression has no effectextensions/pyexpat.c:524: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:524: warning: left-hand operand of comma expression has no effectextensions/pyexpat.c:532: error: ?xmlparseobject? has no member named ?specified_attributes?extensions/pyexpat.c:533: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c:541: error: ?xmlparseobject? has no member named ?ordered_attributes?extensions/pyexpat.c:542: warning: implicit declaration of function ?PyList_New?extensions/pyexpat.c:544: warning: implicit declaration of function ?PyDict_New?extensions/pyexpat.c:550: error: ?n? undeclared (first use in this function)extensions/pyexpat.c:550: warning: implicit declaration of function ?string_intern?extensions/pyexpat.c:551: error: ?v? undeclared (first use in this function)extensions/pyexpat.c:557: warning: implicit declaration of function ?conv_string_to_utf8?extensions/pyexpat.c:564: error: ?xmlparseobject? has no member named ?ordered_attributes?extensions/pyexpat.c:565: warning: implicit declaration of function ?PyList_SET_ITEM?extensions/pyexpat.c:568: warning: implicit declaration of function ?PyDict_SetItem?extensions/pyexpat.c:579: warning: implicit declaration of function ?Py_BuildValue?extensions/pyexpat.c:585: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:587: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:588: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_EndElementHandler?:extensions/pyexpat.c:636: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:636: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:636: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:636: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:636: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:636: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_ProcessingInstructionHandler?:extensions/pyexpat.c:640: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:640: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:640: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:640: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:640: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:640: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:640: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_UnparsedEntityDeclHandler?:extensions/pyexpat.c:646: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:646: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:646: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:646: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:646: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:646: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_EntityDeclHandler?:extensions/pyexpat.c:659: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:659: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:659: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:659: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:659: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:659: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_XmlDeclHandler?:extensions/pyexpat.c:696: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:696: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:696: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:696: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:696: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:696: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:696: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: At top level:extensions/pyexpat.c:705: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c: In function ?my_ElementDeclHandler?:extensions/pyexpat.c:737: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:737: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:740: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:741: error: ?modelobj? undeclared (first use in this function)extensions/pyexpat.c:741: error: ?nameobj? undeclared (first use in this function)extensions/pyexpat.c:741: warning: left-hand operand of comma expression has no effectextensions/pyexpat.c:751: warning: implicit declaration of function ?conv_content_model?extensions/pyexpat.c:751: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:769: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:771: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:772: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:780: warning: implicit declaration of function ?Py_XDECREF?extensions/pyexpat.c:781: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c: In function ?my_AttlistDeclHandler?:extensions/pyexpat.c:785: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:785: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:785: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:785: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:785: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:785: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:785: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_SkippedEntityHandler?:extensions/pyexpat.c:798: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:798: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:798: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:798: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:798: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:798: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_NotationDeclHandler?:extensions/pyexpat.c:806: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:806: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:806: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:806: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:806: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:806: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_StartNamespaceDeclHandler?:extensions/pyexpat.c:816: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:816: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:816: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:816: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:816: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:816: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_EndNamespaceDeclHandler?:extensions/pyexpat.c:823: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:823: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:823: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:823: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:823: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:823: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_CommentHandler?:extensions/pyexpat.c:828: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:828: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:828: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:828: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:828: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:828: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:828: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_StartCdataSectionHandler?:extensions/pyexpat.c:832: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:832: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:832: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:832: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:832: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:832: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_EndCdataSectionHandler?:extensions/pyexpat.c:836: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:836: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:836: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:836: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:836: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:836: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_DefaultHandler?:extensions/pyexpat.c:841: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:841: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:841: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:841: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:841: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:841: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_DefaultHandlerExpandHandler?:extensions/pyexpat.c:845: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:845: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:845: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:845: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:845: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:845: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_NotStandaloneHandler?:extensions/pyexpat.c:862: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:862: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:862: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:862: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:862: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:862: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:862: warning: implicit declaration of function ?PyInt_AsLong?extensions/pyexpat.c: In function ?my_ExternalEntityRefHandler?:extensions/pyexpat.c:866: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:866: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:866: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:866: error: ?conv_string_to_utf8? undeclared (first use in this function)extensions/pyexpat.c:866: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:866: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:866: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_StartDoctypeDeclHandler?:extensions/pyexpat.c:881: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:881: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:881: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:881: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:881: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:881: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: In function ?my_EndDoctypeDeclHandler?:extensions/pyexpat.c:889: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:889: error: ?args? undeclared (first use in this function)extensions/pyexpat.c:889: error: ?rv? undeclared (first use in this function)extensions/pyexpat.c:889: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c:889: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:889: error: ?xmlparseobject? has no member named ?in_callback?extensions/pyexpat.c: At top level:extensions/pyexpat.c:893: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:912: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:930: error: expected declaration specifiers or ?...? before ?PyObject?extensions/pyexpat.c: In function ?readinst?:extensions/pyexpat.c:932: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:932: error: ?arg? undeclared (first use in this function)extensions/pyexpat.c:933: error: ?bytes? undeclared (first use in this function)extensions/pyexpat.c:934: error: ?str? undeclared (first use in this function)extensions/pyexpat.c:937: warning: implicit declaration of function ?PyInt_FromLong?extensions/pyexpat.c:948: warning: implicit declaration of function ?PyObject_CallObject?extensions/pyexpat.c:948: error: ?meth? undeclared (first use in this function)extensions/pyexpat.c:956: warning: implicit declaration of function ?PyString_Check?extensions/pyexpat.c:957: warning: implicit declaration of function ?PyErr_Format?extensions/pyexpat.c:957: error: ?PyExc_TypeError? undeclared (first use in this function)extensions/pyexpat.c:962: warning: implicit declaration of function ?PyString_GET_SIZE?extensions/pyexpat.c:964: error: ?PyExc_ValueError? undeclared (first use in this function)extensions/pyexpat.c:970: warning: incompatible implicit declaration of built-in function ?memcpy?extensions/pyexpat.c:970: warning: implicit declaration of function ?PyString_AsString?extensions/pyexpat.c: At top level:extensions/pyexpat.c:981: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1044: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1062: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1077: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1108: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1203: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1223: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1242: error: array type has incomplete element typeextensions/pyexpat.c:1243: error: ?PyCFunction? undeclared here (not in a function)extensions/pyexpat.c:1243: error: expected ?}? before ?xmlparse_Parse?extensions/pyexpat.c:1245: error: expected ?}? before ?xmlparse_ParseFile?extensions/pyexpat.c:1247: error: expected ?}? before ?xmlparse_SetBase?extensions/pyexpat.c:1249: error: expected ?}? before ?xmlparse_GetBase?extensions/pyexpat.c:1251: error: expected ?}? before ?xmlparse_ExternalEntityParserCreate?extensions/pyexpat.c:1253: error: expected ?}? before ?xmlparse_SetParamEntityParsing?extensions/pyexpat.c:1255: error: expected ?}? before ?xmlparse_GetInputContext?extensions/pyexpat.c:1258: error: expected ?}? before ?xmlparse_UseForeignDTD?extensions/pyexpat.c:1320: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c: In function ?xmlparse_dealloc?:extensions/pyexpat.c:1395: warning: implicit declaration of function ?PyObject_GC_Fini?extensions/pyexpat.c:1397: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c:1398: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c:1399: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c:1401: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1402: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:1402: error: ?temp? undeclared (first use in this function)extensions/pyexpat.c:1404: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1405: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1408: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1409: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1411: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1412: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1413: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1415: error: ?xmlparseobject? has no member named ?intern?extensions/pyexpat.c:1418: warning: implicit declaration of function ?PyObject_Del?extensions/pyexpat.c: In function ?handlername2int?:extensions/pyexpat.c:1430: warning: implicit declaration of function ?strcmp?extensions/pyexpat.c: At top level:extensions/pyexpat.c:1437: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1445: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1549: error: expected declaration specifiers or ?...? before ?PyObject?extensions/pyexpat.c: In function ?sethandler?:extensions/pyexpat.c:1554: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:1554: error: ?temp? undeclared (first use in this function)extensions/pyexpat.c:1554: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1556: error: ?v? undeclared (first use in this function)extensions/pyexpat.c:1556: error: ?Py_None? undeclared (first use in this function)extensions/pyexpat.c:1559: warning: implicit declaration of function ?Py_INCREF?extensions/pyexpat.c:1562: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:1564: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c: At top level:extensions/pyexpat.c:1571: error: expected declaration specifiers or ?...? before ?PyObject?extensions/pyexpat.c: In function ?xmlparse_setattr?:extensions/pyexpat.c:1574: error: ?v? undeclared (first use in this function)extensions/pyexpat.c:1575: warning: implicit declaration of function ?PyErr_SetString?extensions/pyexpat.c:1575: error: ?PyExc_RuntimeError? undeclared (first use in this function)extensions/pyexpat.c:1579: warning: implicit declaration of function ?PyObject_IsTrue?extensions/pyexpat.c:1580: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1581: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1581: error: ?xmlparseobject? has no member named ?buffer_size?extensions/pyexpat.c:1582: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1583: warning: implicit declaration of function ?PyErr_NoMemory?extensions/pyexpat.c:1586: error: ?xmlparseobject? has no member named ?buffer_used?extensions/pyexpat.c:1589: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1592: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1593: error: ?xmlparseobject? has no member named ?buffer?extensions/pyexpat.c:1599: error: ?xmlparseobject? has no member named ?ns_prefixes?extensions/pyexpat.c:1601: error: ?xmlparseobject? has no member named ?ns_prefixes?extensions/pyexpat.c:1602: error: ?xmlparseobject? has no member named ?itself?extensions/pyexpat.c:1602: error: ?xmlparseobject? has no member named ?ns_prefixes?extensions/pyexpat.c:1607: error: ?xmlparseobject? has no member named ?ordered_attributes?extensions/pyexpat.c:1609: error: ?xmlparseobject? has no member named ?ordered_attributes?extensions/pyexpat.c:1615: error: ?PyExc_ValueError? undeclared (first use in this function)extensions/pyexpat.c:1623: error: ?xmlparseobject? has no member named ?returns_unicode?extensions/pyexpat.c:1628: error: ?xmlparseobject? has no member named ?specified_attributes?extensions/pyexpat.c:1630: error: ?xmlparseobject? has no member named ?specified_attributes?extensions/pyexpat.c:1642: error: too many arguments to function ?sethandler?extensions/pyexpat.c:1645: error: ?PyExc_AttributeError? undeclared (first use in this function)extensions/pyexpat.c: At top level:extensions/pyexpat.c:1676: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?Xmlparsetype?extensions/pyexpat.c:1719: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1766: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c:1778: error: array type has incomplete element typeextensions/pyexpat.c:1779: error: expected ?}? before ?pyexpat_ParserCreate?extensions/pyexpat.c:1781: error: expected ?}? before ?pyexpat_ErrorString?extensions/pyexpat.c:1797: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? tokenextensions/pyexpat.c: In function ?initpyexpat?:extensions/pyexpat.c:1835: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:1835: error: ?m? undeclared (first use in this function)extensions/pyexpat.c:1835: error: ?d? undeclared (first use in this function)extensions/pyexpat.c:1835: warning: left-hand operand of comma expression has no effectextensions/pyexpat.c:1836: error: ?errmod_name? undeclared (first use in this function)extensions/pyexpat.c:1836: warning: implicit declaration of function ?PyString_FromString?extensions/pyexpat.c:1837: error: ?errors_module? undeclared (first use in this function)extensions/pyexpat.c:1838: error: ?modelmod_name? undeclared (first use in this function)extensions/pyexpat.c:1839: error: ?model_module? undeclared (first use in this function)extensions/pyexpat.c:1840: error: ?sys_modules? undeclared (first use in this function)extensions/pyexpat.c:1848: error: ?Xmlparsetype? undeclared (first use in this function)extensions/pyexpat.c:1848: error: ?PyType_Type? undeclared (first use in this function)extensions/pyexpat.c:1851: warning: implicit declaration of function ?Py_InitModule3?extensions/pyexpat.c:1855: error: ?ErrorObject? undeclared (first use in this function)extensions/pyexpat.c:1856: warning: implicit declaration of function ?PyErr_NewException?extensions/pyexpat.c:1862: warning: implicit declaration of function ?PyModule_AddObject?extensions/pyexpat.c:1866: error: expected expression before ?)? tokenextensions/pyexpat.c:1868: warning: implicit declaration of function ?get_version_string?extensions/pyexpat.c:1869: warning: implicit declaration of function ?PyModule_AddStringConstant?extensions/pyexpat.c:1889: warning: implicit declaration of function ?PySys_GetObject?extensions/pyexpat.c:1890: warning: implicit declaration of function ?PyModule_GetDict?extensions/pyexpat.c:1891: warning: implicit declaration of function ?PyDict_GetItem?extensions/pyexpat.c:1893: warning: implicit declaration of function ?PyModule_New?extensions/pyexpat.c:1918: error: ?list? undeclared (first use in this function)extensions/pyexpat.c:1921: warning: implicit declaration of function ?PyErr_Clear?extensions/pyexpat.c:1926: error: ?item? undeclared (first use in this function)extensions/pyexpat.c:1933: warning: implicit declaration of function ?PyList_Append?extensions/pyexpat.c:1996: warning: implicit declaration of function ?PyModule_AddIntConstant?extensions/pyexpat.c: In function ?clear_handlers?:extensions/pyexpat.c:2023: error: ?PyObject? undeclared (first use in this function)extensions/pyexpat.c:2023: error: ?temp? undeclared (first use in this function)extensions/pyexpat.c:2027: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:2029: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:2030: error: ?xmlparseobject? has no member named ?handlers?extensions/pyexpat.c:2032: error: ?xmlparseobject? has no member named ?itself?error: command 'gcc' failed with exit status 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pawlovsky at cc.toin.ac.jp Fri Nov 19 02:32:00 2010 From: pawlovsky at cc.toin.ac.jp (Alberto Palacios Pawlovsky) Date: Fri, 19 Nov 2010 01:32:00 -0000 Subject: [xml-sig] problems installing PyXML-0.8.4 on OS X (10.6) Message-ID: <1C610741-BB34-4140-BA4B-E5653D3964A1@cc.toin.ac.jp> Dear sirs; I 've downloaded the above version and tried to install it following the directions of the readme file. It built and installed, but I can use it as expected. First, since in OS X the python version is 2.6 the installer changes the name of xml to _xmlplus. So, one might think that changing the xml calls to _xmlplus in our programs will make us able to deal with the name changing, but it is not the case. For example : from xml.dom.ext.reader import HtmlLib forced me to correct by hand multiple __init__.py and related files since the several *.py files still call xml and NOT _xmlplus. I am newbie to Python and I am sure there is a clever way than doing it one file at a time (searching each line for 'xml'). Possibly, running something to change the sources from xml to _xmlplus after the setup.py renames xml to _xmlplus will work (really do not know). I will really appreciate any hint to do it (the renaming or anything needed) by myself, or a change to setup.py or other files of the distribution to help other mac ( and 2.x ) users out of these problems. Best regards, Alberto Palacios Pawlovsky Toin University of Yokohama. Faculty of Engineering, Dept. of Robotics Engineering. 225-8502 Kanagawa, Yokohama, Aoba-ku, Kurogane-cho 1614. Japan Tel : +81-45-974-5229 Fax: +81-45-972-5972 E-mail: pawlovsky at cc.toin.ac.jp URL: http://www.cc.toin.ac.jp/sc/palacios/