Closed
Bug 638333
Opened 15 years ago
Closed 15 years ago
js configure seems to fail with python27 port
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: gkw, Unassigned)
Details
I'm not sure if it's just me, but nonetheless, if one has python27 package out of MacPorts installed along with python26,
checking for Python version >= 2.5 but not 3.x...
in js configure will fail and say that MACOSX_DEPLOYMENT_TARGET should be 10.6 instead of 10.5.
I had already selected python26 or python26-apple in python_select.
I had to deactivate python27 in order to bypass this, but if this is a real problem it should be tackled before the future comes and we shift to Python 2.7 in the future.
I'm on MacPorts 1.9.2 and Mac OS X 10.6.6.
| Reporter | ||
Comment 1•15 years ago
|
||
checking for Python version >= 2.5 but not 3.x... Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 553, in <module>
main()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 535, in main
known_paths = addusersitepackages(known_paths)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 268, in addusersitepackages
user_site = getusersitepackages()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 233, in getuserbase
USER_BASE = get_config_var('userbase')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 535, in get_config_var
return get_config_vars().get(name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 434, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 313, in _init_posix
raise IOError(msg)
IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.6" during configure
configure: error: Python 2.5 or higher (but not Python 3.x) is required.
Comment 2•15 years ago
|
||
This is filed upstream, it's a Python bug:
http://trac.macports.org/ticket/27916
http://bugs.python.org/issue9516
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•