[lxml-dev] lxml Mac installation idea
Michael Guntsche
mike at it-loops.com
Mon Nov 17 19:39:41 CET 2008
On Nov 17, 2008, at 19:33, Paul Everitt wrote:
>>
>
> I got a new trunk, the patched buildlibxml.py, and very quickly got:
>
> $ python setup.py build --static-deps
> Traceback (most recent call last):
> File "setup.py", line 13, in ?
> import pkg_resources
> File "/Users/paul/venvs/lxmltrunk/lib/python2.4/site-packages/
> setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 657, in ?
> class Environment(object):
> File "/Users/paul/venvs/lxmltrunk/lib/python2.4/site-packages/
> setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 660, in Environment
> def __init__(self, search_path=None,
> platform=get_supported_platform(), python=PY_MAJOR):
> File "/Users/paul/venvs/lxmltrunk/lib/python2.4/site-packages/
> setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 55, in
> get_supported_platform
> plat = get_build_platform(); m = macosVersionString.match(plat)
> File "/Users/paul/venvs/lxmltrunk/lib/python2.4/site-packages/
> setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 187, in
> get_build_platform
> plat = get_platform()
> File "/Users/paul/opt/Python-2.4.5/lib/python2.4/distutils/
> util.py", line 78, in get_platform
> cfgvars = get_config_vars()
> File "/Users/paul/opt/Python-2.4.5/lib/python2.4/distutils/
> sysconfig.py", line 488, in get_config_vars
> func()
> File "/Users/paul/opt/Python-2.4.5/lib/python2.4/distutils/
> sysconfig.py", line 373, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
> mismatch: now "10.3" but "10.5" during configure
>
Ah yes, great so the python you where using was build with a TARGET of
10.5 which is just great.
Just for testing try to replace 10.3 with 10.5 and see if it compiles.
BTW do you get the same error if you use the non-patched version?
/Mike
More information about the lxml-dev
mailing list