Hi,

I hope someone can help with this problem with pythonbrew on my mac running OS X 10.8.3 with updated Xcode and CLT.

$PATH = /Users/Gene/.pythonbrew/bin:/Users/Gene/.pythonbrew/pythons/Python-3.3.0/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

$PYTHONPATH = /Users/Gene/.pythonbrew/pythons/Python-3.3.0/lib

The python 3.3.0 install using pythonbrew was made with default options and seems to be working okay but when I easy_install readline per ipython recommend:

BTW, readline has been installed for the system python 2.7.3 on this Mac for over a year and works fine.

Switched to Python-3.3.0
easy_install readline
Searching for readline
Reading http://pypi.python.org/simple/readline/
Reading http://github.com/ludwigschwardt/python-readline
Reading http://www.python.org/
Best match: readline 6.2.4.1
Downloading http://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#md5=578237939c81fdbc2c8334d168b17907
Processing readline-6.2.4.1.tar.gz
Writing /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T/easy_install-ypwvg6/readline-6.2.4.1/setup.cfg Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T/easy_install-ypwvg6/readline-6.2.4.1/egg-dist-tmp-9hwdkl In file included from /Users/Ceti/.pythonbrew/pythons/Python-3.3.0/include/python3.3m/Python.h:112:0,
from Modules/3.x/readline.c:8:
/Users/Ceti/.pythonbrew/pythons/Python-3.3.0/include/python3.3m/modsupport.h:29:1: warning: ‘PyArg_ParseTuple’ is an unrecognized format function type [-Wformat=] PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
/var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:9:`_begidx(%rip)' is not a valid base/index expression /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:10:bad register name `%rax)' /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:20:`_endidx(%rip)' is not a valid base/index expression /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:21:bad register name `%rax)' /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:31:bad register name `%rdi' /var/folders/51/k4qphs517k3c9dv55_23b6j80000gp/T//ccEk88Hx.s:48:bad register name `%r15'

These "bad register name" errors stream for many pages then the install fails.

Here's the last line of the install:
error: Setup script exited with error: command 'gcc' failed with exit status 1

Any ideas?
Thanks,
Gene
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to