Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42955

Cannot install readline in pythonbrew install of 3.3.0

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <spacebuoy@gmail.com>
X-Original-To Python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'error:': 0.07; 'exit': 0.09; 'okay': 0.09; 'unrecognized': 0.09; 'url:github': 0.09; 'python': 0.11; "'gcc'": 0.16; '2.7.3': 0.16; 'easy_install': 0.16; 'exited': 0.16; 'fails.': 0.16; 'fine.': 0.16; 'match:': 0.16; 'skip:/ 60': 0.16; 'skip:/ 70': 0.16; 'subject:install': 0.16; 'url:packages': 0.16; 'url:tar': 0.16; 'thanks,': 0.17; 'seems': 0.21; 'command': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'char': 0.24; 'switched': 0.24; 'options': 0.25; 'script': 0.25; 'installed': 0.27; 'function': 0.29; 'skip:p 30': 0.29; 'errors': 0.30; 'included': 0.31; 'skip:/ 80': 0.31; 'file': 0.32; 'url:python': 0.33; 'running': 0.33; 'mac': 0.33; 'url:source': 0.33; 'updated': 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'hi,': 0.36; 'url:org': 0.36; 'searching': 0.37; 'received:209': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'expression': 0.60; 'hope': 0.61; 'name': 0.63; 'charset:windows-1252': 0.65; 'default': 0.69; 'url:4': 0.69; 'received:200': 0.72; 'const': 0.84; 'install:': 0.84; 'skip:\x91 10': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=wWPQ8iSpHCggkimNWMf0AJWGYtU8xtxC9XxHvzzLHUc=; b=RaBr7ZZVQEr+r4MpI3HbNPETeXQuwaa50G+luXvVbh+vYmCBNruPpz5+pnhmXw+yZh uKgSwoTem9pshkl4F0Sw229hpdNkqiaefMC95lls1IARvHrL6BmJWfXuDHX/l+xHst8Z W5P2t07P2GCvF4O828iAL6BXFvVR3sfmo5M7WMFsVi2MrPHubwAYUDBLBmIM4Af+Lf6N ARdpN33bJ5SlEfK4C/m/Ns3ZIdMcT//B9DcijB3tk950B3+hGxAMTwpV933vhxnRYB5d l0yiumcWmDtmJveWtNkb1VUffXrXgRTvpf5nrSiS4bM6oIcks6gcqmAQ5MeJLZrNr/1Q OdMA==
X-Received by 10.236.86.241 with SMTP id w77mr9600786yhe.202.1365290572599; Sat, 06 Apr 2013 16:22:52 -0700 (PDT)
Date Sat, 06 Apr 2013 20:24:28 -0400
From Gene <spacebuoy@gmail.com>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version 1.0
To Python-list@python.org
Subject Cannot install readline in pythonbrew install of 3.3.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.216.1365290582.3114.python-list@python.org> (permalink)
Lines 63
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365290582 news.xs4all.nl 6960 [2001:888:2000:d::a6]:50136
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42955

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Cannot install readline in pythonbrew install of 3.3.0 Gene <spacebuoy@gmail.com> - 2013-04-06 20:24 -0400

csiph-web