ITStool failed to build

Giuseppe Di Matteo pinodimatteo at icloud.com
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/libxml2.py", line 1, in <module>
    import libxml2mod
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so, 2): Symbol not found: _PyUnicodeUCS2_AsUTF8String
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so

Le 26 févr. 2014 à 17:41, David Evans <devans at macports.org> 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 icloud.com
>> 
>> 
>> 
> 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 icloud.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140227/b551d70b/attachment.html>


More information about the macports-users mailing list