[MacPorts] #30277: python27: xml.sax does not work, preventing build of py27-libxml2
MacPorts
noreply at macports.org
Thu Aug 18 04:59:26 PDT 2011
#30277: python27: xml.sax does not work, preventing build of py27-libxml2
----------------------------------+-----------------------------------------
Reporter: lucaghera8@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: lion | Port: python27 python26
----------------------------------+-----------------------------------------
Comment(by lucaghera8@…):
Replying to [comment:4 jmr@…]:
> Are you able to run this in MacPorts python2.7?
> {{{
> import xml.sax
> parser = xml.sax.make_parser()
> }}}
Hi,
I have started with a new installation of macport but I have the same
problem with both py{27,26}-libxml2.
However now I'm able to execute the commands you suggested without errors:
here is the execution:
{{{
macbook-di-luca:rviz luca$ python2.7
Python 2.7.2 (default, Aug 18 2011, 09:26:34)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.sax
>>> parser = xml.sax.make_parser()
>>> parser
<xml.sax.expatreader.ExpatParser instance at 0x102445ab8>
>>> quit()
}}}
{{{
macbook-di-luca:rviz luca$ python2.6
Python 2.6.7 (r267:88850, Aug 18 2011, 09:12:21)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.sax
>>> parser = xml.sax.make_parser()
>>> parser
<xml.sax.expatreader.ExpatParser instance at 0x106d97b90>
>>> quit()
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30277#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list