[lxml-dev] lxml Mac installation idea
Paul Everitt
paul at agendaless.com
Mon Nov 17 19:33:40 CET 2008
On Nov 17, 2008, at 12:25 PM, Michael Guntsche wrote:
>
> Paul, please completely clean up everything from the previous build
> (best just make a clean checkout) and try again.
I blew away my trunk directory, re-checked it out, and put the
buildlibxml.py with your two changes from the patch back in place. No
luck, same error.
> If this still does not work set MACOSX_DEPLOYMENT_TARGET=10.3 before
> starting the compilation.
>
> $ export MACOSX_DEPLOYMENT_TARGET=10.3
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
--Paul
More information about the lxml-dev
mailing list