<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-size: 13px; font-family: Osaka;">Here it is: </div><div style="margin: 0px; font-size: 13px; font-family: Osaka;">echo "import libxml2" | /opt/local/bin/python2.7 -</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"><br></div><div style="margin: 0px; font-size: 13px; font-family: Osaka;">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> File "<stdin>", line 1, in <module></div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2.py", line 1, in <module></div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> import libxml2mod</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;">ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so, 2): Symbol not found: _PyUnicodeUCS2_AsUTF8String</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> Expected in: flat namespace</div><div style="margin: 0px; font-size: 13px; font-family: Osaka;"> in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so</div><div><br></div><div><div>Le 26 févr. 2014 à 17:41, David Evans <<a href="mailto:devans@macports.org">devans@macports.org</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2/26/14 2:00 AM, Giuseppe Di Matteo
wrote:<br>
</div>
<blockquote cite="mid:F71A7883-B5A9-42EE-AC09-EDFAA113010E@icloud.com" type="cite">
<pre wrap="">Hello,
I need to install itstool as a dependency of winetricks, but it failed at the configure stage: a module is missing.
I checked my system and both the libxml2 and py27-libxml2 are installed but it seems to me that it is searching in the wrong place.
Giuseppe Di Matteo
<a class="moz-txt-link-abbreviated" href="mailto:pinodimatteo@icloud.com">pinodimatteo@icloud.com</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
Can you execute the following command and report what it returns?
This is the command that is failing for you in configure.<br>
<br>
echo "import libxml2" | /opt/local/bin/python2.7 -<br>
<br>
</div>
</blockquote></div><br><div apple-content-edited="true">
<div>Giuseppe Di Matteo</div><div><a href="mailto:pinodimatteo@icloud.com">pinodimatteo@icloud.com</a></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></body></html>