[MacPorts] #20357: py-pygresql install error
#20357: py-pygresql install error -------------------------------+-------------------------------------------- Reporter: joumon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------+-------------------------------------------- When I tried to install py-pygresql, I got the following error. I googled this and found some tips, but nothing helped, though. It'd be greatly appreciated in advance if someone could help me out. My Mac version is 10.5.7 and I also installed python 2.4, 2.5, and 2.6 altogether, but 2.6 is the default. The error message is attached as below. $ sudo port install py-pygresql ---> Building py-pygresql Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pygresql/work/PyGreSQL-4.0" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: Traceback (most recent call last): File "setup.py", line 133, in ? classifiers=[ File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py", line 123, in setup dist.parse_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 339, in parse_config_files filenames = self.find_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 302, in find_config_files check_environ() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 209, in check_environ os.environ['PLAT'] = get_platform() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 78, in get_platform cfgvars = get_config_vars() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/20357> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20357: py-pygresql install error -------------------------------+-------------------------------------------- Reporter: joumon@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py-pygresql -------------------------------+-------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => jwa@… * port: => py-pygresql Old description:
When I tried to install py-pygresql, I got the following error. I googled this and found some tips, but nothing helped, though. It'd be greatly appreciated in advance if someone could help me out.
My Mac version is 10.5.7 and I also installed python 2.4, 2.5, and 2.6 altogether, but 2.6 is the default. The error message is attached as below.
$ sudo port install py-pygresql ---> Building py-pygresql Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pygresql/work/PyGreSQL-4.0" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: Traceback (most recent call last): File "setup.py", line 133, in ? classifiers=[ File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py", line 123, in setup dist.parse_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 339, in parse_config_files filenames = self.find_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 302, in find_config_files check_environ() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 209, in check_environ os.environ['PLAT'] = get_platform() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 78, in get_platform cfgvars = get_config_vars() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure
Error: Status 1 encountered during processing.
New description: When I tried to install py-pygresql, I got the following error. I googled this and found some tips, but nothing helped, though. It'd be greatly appreciated in advance if someone could help me out. My Mac version is 10.5.7 and I also installed python 2.4, 2.5, and 2.6 altogether, but 2.6 is the default. The error message is attached as below. {{{ $ sudo port install py-pygresql ---> Building py-pygresql Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pygresql/work/PyGreSQL-4.0" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: Traceback (most recent call last): File "setup.py", line 133, in ? classifiers=[ File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py", line 123, in setup dist.parse_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 339, in parse_config_files filenames = self.find_config_files() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 302, in find_config_files check_environ() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 209, in check_environ os.environ['PLAT'] = get_platform() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 78, in get_platform cfgvars = get_config_vars() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure Error: Status 1 encountered during processing. }}} -- Comment: Please follow the [http://guide.macports.org/#project.tickets.guidelines ticket guidelines] in future, including using WikiFormatting. -- Ticket URL: <http://trac.macports.org/ticket/20357#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20357: py-pygresql install error -------------------------------+-------------------------------------------- Reporter: joumon@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py-pygresql -------------------------------+-------------------------------------------- Comment(by jwa@…): As this reply is quite late (sorry) the problem may be already solved, but anyway, this may be due to an old python build indicating that a rebuild of python(24) could solve the problem. The message at the end is exactly the same I got myself with a python after upgrading to 10.6, just the version numbers changed. -- Ticket URL: <http://trac.macports.org/ticket/20357#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20357: py-pygresql install error -------------------------------+-------------------------------------------- Reporter: joumon@… | Owner: jwa@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py-pygresql -------------------------------+-------------------------------------------- Changes (by jwa@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/20357#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20357: py-pygresql install error --------------------------------+------------------------------------------- Reporter: joumon@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: py-pygresql | --------------------------------+------------------------------------------- Changes (by jwa@…): * status: assigned => closed * resolution: => worksforme Comment: I checked this (on 10.6, however), and it worked for me, so I assume this works now on all current platforms -- Ticket URL: <https://trac.macports.org/ticket/20357#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts