Skip to content

Instantly share code, notes, and snippets.

@brianm
Created January 4, 2009 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianm/43162 to your computer and use it in GitHub Desktop.
Save brianm/43162 to your computer and use it in GitHub Desktop.
brianm@ufo:~$ sudo port install py25-simplejson
---> Fetching py25-simplejson
---> Attempting to fetch simplejson-2.0.5.tar.gz from http://distfiles.macports.org/python
---> Verifying checksum(s) for py25-simplejson
---> Extracting py25-simplejson
---> Configuring py25-simplejson
---> Building py25-simplejson
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_py25-simplejson/work/simplejson-2.0.5" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: Traceback (most recent call last):
File "setup.py", line 10, in <module>
use_setuptools(min_version=min_version)
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-simplejson/work/simplejson-2.0.5/ez_setup.py", line 78, in use_setuptools
import setuptools
File "/opt/local/lib/python2.5/site-packages/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/opt/local/lib/python2.5/site-packages/setuptools/extension.py", line 2, in <module>
from dist import _get_unpatched
File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 5, in <module>
from setuptools.command.install import install
File "/opt/local/lib/python2.5/site-packages/setuptools/command/__init__.py", line 13, in <module>
from distutils.command.bdist import bdist
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/bdist.py", line 29, in <module>
class bdist (Command):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/bdist.py", line 37, in bdist
"(default: %s)" % get_platform()),
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py", line 78, in get_platform
cfgvars = get_config_vars()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars
func()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py", line 375, in _init_posix
elif map(int, cfg_target.split('.')) > map(int, cur_target.split('.')):
ValueError: invalid literal for int() with base 10: ''
Error: Status 1 encountered during processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment