ITStool failed to build

Giuseppe Di Matteo pinodimatteo at
Thu Feb 27 01:02:31 PST 2014

Here it is: 
echo "import libxml2" | /opt/local/bin/python2.7 -

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/", line 1, in <module>
    import libxml2mod
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/, 2): Symbol not found: _PyUnicodeUCS2_AsUTF8String
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/

Le 26 févr. 2014 à 17:41, David Evans <devans at> a écrit :

> On 2/26/14 2:00 AM, Giuseppe Di Matteo wrote:
>> 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
>> pinodimatteo at
> Can you execute the following command and report what it returns?  This is the command that is failing for you in configure.
> echo "import libxml2" | /opt/local/bin/python2.7 -

Giuseppe Di Matteo
pinodimatteo at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list