Installing PyXml Help.

[email protected]
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Hello,
 
  I'm relatively new to Python, and ran into an error while installing  
PyXml. I have Python 2.1 installed on my HP-UX host, and everything has been  
running fine. I'm trying to install Soap package, which needs to have  PyXml 
installed. When I try to install PyXml, I get the following  message:
 
-> python setup.py build
running build
running build_py
not  copying xml/FtCore.py (output up-to-date)
not copying xml/__init__.py (output  up-to-date)
not copying xml/ns.py (output up-to-date)
not copying  xml/dom/Attr.py (output up-to-date)
not copying xml/dom/CDATASection.py  (output up-to-date)
not copying xml/dom/CharacterData.py (output  up-to-date)
not copying xml/dom/Comment.py (output up-to-date)
not copying  xml/dom/DOMImplementation.py (output up-to-date)
not copying  xml/dom/Document.py (output up-to-date)
not copying  xml/dom/DocumentFragment.py (output up-to-date)
not copying  xml/dom/DocumentType.py (output up-to-date)
not copying xml/dom/Element.py  (output up-to-date)
not copying xml/dom/Entity.py (output up-to-date)
not  copying xml/dom/EntityReference.py (output up-to-date)
not copying  xml/dom/Event.py (output up-to-date)
not copying xml/dom/FtNode.py (output  up-to-date)
not copying xml/dom/MessageSource.py (output up-to-date)
not  copying xml/dom/NamedNodeMap.py (output up-to-date)
not copying  xml/dom/NodeFilter.py (output up-to-date)
not copying xml/dom/NodeIterator.py  (output up-to-date)
not copying xml/dom/NodeList.py (output  up-to-date)
not copying xml/dom/Notation.py (output up-to-date)
not  copying xml/dom/ProcessingInstruction.py (output up-to-date)
not copying  xml/dom/Range.py (output up-to-date)
not copying xml/dom/Text.py (output  up-to-date)
not copying xml/dom/TreeWalker.py (output up-to-date)
not  copying xml/dom/__init__.py (output up-to-date)
not copying xml/dom/domreg.py  (output up-to-date)
not copying xml/dom/expatbuilder.py (output  up-to-date)
not copying xml/dom/javadom.py (output up-to-date)
not copying  xml/dom/minicompat.py (output up-to-date)
not copying xml/dom/minidom.py  (output up-to-date)
not copying xml/dom/minitraversal.py (output  up-to-date)
not copying xml/dom/pulldom.py (output up-to-date)
not copying  xml/dom/xmlbuilder.py (output up-to-date)
not copying  xml/dom/html/GenerateHtml.py (output up-to-date)
not copying  xml/dom/html/HTMLAnchorElement.py (output up-to-date)
not copying  xml/dom/html/HTMLAppletElement.py (output up-to-date)
not copying  xml/dom/html/HTMLAreaElement.py (output up-to-date)
not copying  xml/dom/html/HTMLBRElement.py (output up-to-date)
not copying  xml/dom/html/HTMLBaseElement.py (output up-to-date)
not copying  xml/dom/html/HTMLBaseFontElement.py (output up-to-date)
not copying  xml/dom/html/HTMLBodyElement.py (output up-to-date)
not copying  xml/dom/html/HTMLButtonElement.py (output up-to-date)
not copying  xml/dom/html/HTMLCollection.py (output up-to-date)
not copying  xml/dom/html/HTMLDListElement.py (output up-to-date)
not copying  xml/dom/html/HTMLDOMImplementation.py (output up-to-date)
not copying  xml/dom/html/HTMLDirectoryElement.py (output up-to-date)
not copying  xml/dom/html/HTMLDivElement.py (output up-to-date)
not copying  xml/dom/html/HTMLDocument.py (output up-to-date)
not copying  xml/dom/html/HTMLElement.py (output up-to-date)
not copying  xml/dom/html/__init__.py (output up-to-date)
not copying  xml/dom/html/HTMLFieldSetElement.py (output up-to-date)
not copying  xml/dom/html/HTMLFontElement.py (output up-to-date)
not copying  xml/dom/html/HTMLFormElement.py (output up-to-date)
not copying  xml/dom/html/HTMLFrameElement.py (output up-to-date)
not copying  xml/dom/html/HTMLFrameSetElement.py (output up-to-date)
not copying  xml/dom/html/HTMLHRElement.py (output up-to-date)
not copying  xml/dom/html/HTMLHeadElement.py (output up-to-date)
not copying  xml/dom/html/HTMLHeadingElement.py (output up-to-date)
not copying  xml/dom/html/HTMLHtmlElement.py (output up-to-date)
not copying  xml/dom/html/HTMLIFrameElement.py (output up-to-date)
not copying  xml/dom/html/HTMLImageElement.py (output up-to-date)
not copying  xml/dom/html/HTMLInputElement.py (output up-to-date)
not copying  xml/dom/html/HTMLIsIndexElement.py (output up-to-date)
not copying  xml/dom/html/HTMLLIElement.py (output up-to-date)
not copying  xml/dom/html/HTMLLabelElement.py (output up-to-date)
not copying  xml/dom/html/HTMLLegendElement.py (output up-to-date)
not copying  xml/dom/html/HTMLLinkElement.py (output up-to-date)
not copying  xml/dom/html/HTMLMapElement.py (output up-to-date)
not copying  xml/dom/html/HTMLMenuElement.py (output up-to-date)
not copying  xml/dom/html/HTMLMetaElement.py (output up-to-date)
not copying  xml/dom/html/HTMLModElement.py (output up-to-date)
not copying  xml/dom/html/HTMLOListElement.py (output up-to-date)
not copying  xml/dom/html/HTMLObjectElement.py (output up-to-date)
not copying  xml/dom/html/HTMLOptGroupElement.py (output up-to-date)
not copying  xml/dom/html/HTMLOptionElement.py (output up-to-date)
not copying  xml/dom/html/HTMLParagraphElement.py (output up-to-date)
not copying  xml/dom/html/HTMLParamElement.py (output up-to-date)
not copying  xml/dom/html/HTMLPreElement.py (output up-to-date)
not copying  xml/dom/html/HTMLQuoteElement.py (output up-to-date)
not copying  xml/dom/html/HTMLScriptElement.py (output up-to-date)
not copying  xml/dom/html/HTMLSelectElement.py (output up-to-date)
not copying  xml/dom/html/HTMLStyleElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableCaptionElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableCellElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableColElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableRowElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTableSectionElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTextAreaElement.py (output up-to-date)
not copying  xml/dom/html/HTMLTitleElement.py (output up-to-date)
not copying  xml/dom/html/HTMLUListElement.py (output up-to-date)
not copying  xml/dom/ext/Dom2Sax.py (output up-to-date)
not copying xml/dom/ext/Printer.py  (output up-to-date)
not copying xml/dom/ext/Visitor.py (output  up-to-date)
not copying xml/dom/ext/XHtml2HtmlPrinter.py (output  up-to-date)
not copying xml/dom/ext/XHtmlPrinter.py (output  up-to-date)
not copying xml/dom/ext/__init__.py (output up-to-date)
not  copying xml/dom/ext/c14n.py (output up-to-date)
not copying  xml/dom/ext/reader/HtmlLib.py (output up-to-date)
not copying  xml/dom/ext/reader/HtmlSax.py (output up-to-date)
not copying  xml/dom/ext/reader/PyExpat.py (output up-to-date)
not copying  xml/dom/ext/reader/Sax.py (output up-to-date)
not copying  xml/dom/ext/reader/Sax2.py (output up-to-date)
not copying  xml/dom/ext/reader/Sax2Lib.py (output up-to-date)
not copying  xml/dom/ext/reader/Sgmlop.py (output up-to-date)
not copying  xml/dom/ext/reader/__init__.py (output up-to-date)
not copying  xml/marshal/__init__.py (output up-to-date)
not copying  xml/marshal/generic.py (output up-to-date)
not copying xml/marshal/wddx.py  (output up-to-date)
not copying xml/unicode/__init__.py (output  up-to-date)
not copying xml/unicode/iso8859.py (output up-to-date)
not  copying xml/unicode/utf8_iso.py (output up-to-date)
not copying  xml/parsers/__init__.py (output up-to-date)
not copying xml/parsers/expat.py  (output up-to-date)
not copying xml/parsers/sgmllib.py (output  up-to-date)
not copying xml/parsers/xmlproc/__init__.py (output  up-to-date)
not copying xml/parsers/xmlproc/_outputters.py (output  up-to-date)
not copying xml/parsers/xmlproc/catalog.py (output  up-to-date)
not copying xml/parsers/xmlproc/charconv.py (output  up-to-date)
not copying xml/parsers/xmlproc/dtdparser.py (output  up-to-date)
not copying xml/parsers/xmlproc/errors.py (output  up-to-date)
not copying xml/parsers/xmlproc/namespace.py (output  up-to-date)
not copying xml/parsers/xmlproc/utils.py (output  up-to-date)
not copying xml/parsers/xmlproc/xcatalog.py (output  up-to-date)
not copying xml/parsers/xmlproc/xmlapp.py (output  up-to-date)
not copying xml/parsers/xmlproc/xmldtd.py (output  up-to-date)
not copying xml/parsers/xmlproc/xmlproc.py (output  up-to-date)
not copying xml/parsers/xmlproc/xmlutils.py (output  up-to-date)
not copying xml/parsers/xmlproc/xmlval.py (output  up-to-date)
not copying xml/sax/__init__.py (output up-to-date)
not  copying xml/sax/_exceptions.py (output up-to-date)
not copying  xml/sax/expatreader.py (output up-to-date)
not copying xml/sax/handler.py  (output up-to-date)
not copying xml/sax/sax2exts.py (output  up-to-date)
not copying xml/sax/saxexts.py (output up-to-date)
not copying  xml/sax/saxlib.py (output up-to-date)
not copying xml/sax/saxutils.py (output  up-to-date)
not copying xml/sax/writer.py (output up-to-date)
not copying  xml/sax/xmlreader.py (output up-to-date)
not copying  xml/sax/drivers/__init__.py (output up-to-date)
not copying  xml/sax/drivers/drv_htmllib.py (output up-to-date)
not copying  xml/sax/drivers/drv_ltdriver.py (output up-to-date)
not copying  xml/sax/drivers/drv_ltdriver_val.py (output up-to-date)
not copying  xml/sax/drivers/drv_pyexpat.py (output up-to-date)
not copying  xml/sax/drivers/drv_sgmllib.py (output up-to-date)
not copying  xml/sax/drivers/drv_sgmlop.py (output up-to-date)
not copying  xml/sax/drivers/drv_xmldc.py (output up-to-date)
not copying  xml/sax/drivers/drv_xmllib.py (output up-to-date)
not copying  xml/sax/drivers/drv_xmlproc.py (output up-to-date)
not copying  xml/sax/drivers/drv_xmlproc_val.py (output up-to-date)
not copying  xml/sax/drivers/drv_xmltoolkit.py (output up-to-date)
not copying  xml/sax/drivers/pylibs.py (output up-to-date)
not copying  xml/sax/drivers2/__init__.py (output up-to-date)
not copying  xml/sax/drivers2/drv_htmllib.py (output up-to-date)
not copying  xml/sax/drivers2/drv_javasax.py (output up-to-date)
not copying  xml/sax/drivers2/drv_pyexpat.py (output up-to-date)
not copying  xml/sax/drivers2/drv_sgmllib.py (output up-to-date)
not copying  xml/sax/drivers2/drv_sgmlop.py (output up-to-date)
not copying  xml/sax/drivers2/drv_sgmlop_html.py (output up-to-date)
not copying  xml/sax/drivers2/drv_xmlproc.py (output up-to-date)
not copying  xml/utils/__init__.py (output up-to-date)
not copying xml/utils/characters.py  (output up-to-date)
not copying xml/utils/iso8601.py (output  up-to-date)
not copying xml/utils/qp_xml.py (output up-to-date)
not  copying xml/schema/__init__.py (output up-to-date)
not copying  xml/schema/trex.py (output up-to-date)
not copying  xml/xpath/BuiltInExtFunctions.py (output up-to-date)
not copying  xml/xpath/Context.py (output up-to-date)
not copying xml/xpath/Conversions.py  (output up-to-date)
not copying xml/xpath/CoreFunctions.py (output  up-to-date)
not copying xml/xpath/ExpandedNameWrapper.py (output  up-to-date)
not copying xml/xpath/MessageSource.py (output up-to-date)
not  copying xml/xpath/NamespaceNode.py (output up-to-date)
not copying  xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py (output 
up-to-date)
not  copying xml/xpath/ParsedAbbreviatedRelativeLocationPath.py (output  
up-to-date)
not copying xml/xpath/ParsedAbsoluteLocationPath.py (output  up-to-date)
not copying xml/xpath/ParsedAxisSpecifier.py (output  up-to-date)
not copying xml/xpath/ParsedExpr.py (output up-to-date)
not  copying xml/xpath/ParsedNodeTest.py (output up-to-date)
not copying  xml/xpath/ParsedPredicateList.py (output up-to-date)
not copying  xml/xpath/ParsedStep.py (output up-to-date)
not copying  xml/xpath/ParsedRelativeLocationPath.py (output up-to-date)
not copying  xml/xpath/Set.py (output up-to-date)
not copying xml/xpath/Util.py (output  up-to-date)
not copying xml/xpath/XPathGrammar.py (output up-to-date)
not  copying xml/xpath/XPathParser.py (output up-to-date)
not copying  xml/xpath/XPathParserBase.py (output up-to-date)
not copying  xml/xpath/__init__.py (output up-to-date)
not copying xml/xpath/pyxpath.py  (output up-to-date)
not copying xml/xpath/yappsrt.py (output  up-to-date)
running build_ext
building '_xmlplus.parsers.pyexpat'  extension
gcc -g -O2 -Wall -Wstrict-prototypes -D_REENTRANT -fpic -DXML_NS=1  
-DXML_DTD=1 -DBYTEORDER=4321 -DXML_CONTEXT_BYTES=1024 -Iextensions/expat/lib  
-I/images/QA/QATools12/lib/python2.1 -c extensions/pyexpat.c -o  
build/temp.hp-ux-B.11.11-9000/800-2.1/pyexpat.o
extensions/pyexpat.c:5:20:  Python.h: No such file or directory
extensions/pyexpat.c:8:21: compile.h: No  such file or directory
extensions/pyexpat.c:9:25: frameobject.h: No such file  or directory
error: command 'gcc' failed with exit status 1

How do I get Python.h and the other missing files?
Any help will be greatly appreciated.
 
Thanks,
Amit.

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.