Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3940
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'author:': 0.03; 'directions': 0.04; 'revision:': 0.04; 'svn': 0.04; 'sys': 0.04; '3.2': 0.07; 'cpython': 0.07; 'initialize': 0.07; 'repository': 0.07; 'symbols': 0.07; 'python': 0.07; 'fatal': 0.09; 'gcc': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'this:': 0.11; 'described': 0.14; 'error:': 0.14; 'wrote:': 0.14; 'subject:python': 0.15; '(sun,': 0.16; '-bundle': 0.16; '-framework': 0.16; '-undefined': 0.16; '-wall': 0.16; '3.2,': 0.16; '60,': 0.16; '[:]': 0.16; 'abort': 0.16; "developer's": 0.16; 'failure.': 0.16; 'from:addr:acm.org': 0.16; 'frozen': 0.16; 'guide.': 0.16; 'path:': 0.16; 'pitrou': 0.16; 'py3k': 0.16; 'received:198.144': 0.16; 'skip:6 30': 0.16; 'trap': 0.16; 'url:hg': 0.16; 'url:svn': 0.16; 'dependent': 0.16; 'libraries': 0.16; 'skip:" 40': 0.16; 'subject:Question': 0.16; 'traceback': 0.16; '(most': 0.16; 'compiled': 0.18; 'code': 0.22; 'issue.': 0.22; 'last):': 0.23; 'wonder': 0.24; 'checked': 0.25; '+0200': 0.25; 'skip:l 30': 0.25; 'changed': 0.27; 'function': 0.27; 'work.': 0.27; 'date:': 0.28; 'skip:- 40': 0.29; 'error': 0.29; 'checking': 0.29; 'messages.': 0.29; 'anthony': 0.31; 'subversion': 0.31; 'url:projects': 0.31; "can't": 0.31; 'all,': 0.31; 'to:addr:python-list': 0.32; 'source': 0.32; 'url:docs': 0.33; 'received:198': 0.33; 'copying': 0.34; 'using': 0.34; 'header:X-Complaints-To:1': 0.34; 'file.': 0.34; 'got': 0.34; 'file': 0.35; 'header:User-Agent:1': 0.35; 'maintained': 0.35; 'platform': 0.36; 'charset:us-ascii': 0.36; 'setting': 0.36; 'url:python': 0.37; 'run': 0.37; 'apr': 0.38; 'message:': 0.38; 'url:org': 0.38; 'current': 0.38; 'received:org': 0.38; 'log': 0.38; 'likely': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'header:Mime-Version:1': 0.39; 'how': 0.39; 'header:Received:5': 0.40; 'contained': 0.40; 'messages': 0.40; '2011': 0.62; 'mar': 0.64; 'subject:about': 0.66; '***': 0.73; 'article': 0.75; './configure': 0.84; '2011)': 0.84; '3.1,': 0.84; 'branches': 0.84; 'kong': 0.84; 'node': 0.84; 'streams': 0.84; 'user:': 0.84; '-0800': 0.91; 'updated.': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ned Deily <nad@acm.org> |
| Subject | Re: Question about compiling python 30 from subversion repository on OSX |
| Date | Sat, 23 Apr 2011 23:18:14 -0700 |
| References | <c1ffbdb9-1a2b-41d7-970d-e7de1a9730ea@glegroupsg2000goo.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | baybryj.net |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.788.1303625914.9059.python-list@python.org> (permalink) |
| Lines | 91 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1303625914 news.xs4all.nl 41103 [::ffff:82.94.164.166]:51886 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3940 |
Show key headers only | View raw
In article <c1ffbdb9-1a2b-41d7-970d-e7de1a9730ea@glegroupsg2000goo.googlegroups.com >, Anthony Kong <anthony.hw.kong@gmail.com> wrote: > I have checked out source code from this url > http://svn.python.org/projects/python/branches/py3k, then run > > ./configure --with-universal-archs=64-bit > make > > First of all, I got this message: > > ----------------------------------------------- > Modules/Setup.dist is newer than Modules/Setup; > check to make sure you have all the updates you > need in your Modules/Setup file. > Usually, copying Modules/Setup.dist to Modules/Setup will work. > ----------------------------------------------- > > Then the build failed with these messages > > /usr/bin/ranlib: file: libpython3.3m.a(dynamic_annotations.o) has no symbols > /usr/bin/ranlib: file: libpython3.3m.a(pymath.o) has no symbols > ranlib libpython3.3m.a > ranlib: file: libpython3.3m.a(dynamic_annotations.o) has no symbols > ranlib: file: libpython3.3m.a(pymath.o) has no symbols > gcc -framework CoreFoundation -o python.exe Modules/python.o > libpython3.3m.a -ldl -framework CoreFoundation > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > Fatal Python error: Py_Initialize: can't initialize sys standard streams > Traceback (most recent call last): > File "/Users/antkong/wd/python/python3/Lib/io.py", line 60, in <module> > /bin/sh: line 1: 55310 Abort trap CC='gcc' LDSHARED='gcc -bundle > -undefined dynamic_lookup ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes' ./python.exe -E ./setup.py build > make: *** [sharedmods] Error 134 > > > I wonder what caused these error messages. Is it possible that I am checking > out the wrong branch? Python development has recently moved from using Subversion to Mercurial (hg). The py3k branch in the svn repository at that URL is now frozen in-time and not being updated. $ svn info Path: . URL: http://svn.python.org/projects/python/branches/py3k Repository Root: http://svn.python.org/projects Repository UUID: 6015fed2-1504-0410-9fe1-9d1591cc4771 Revision: 88828 Node Kind: directory Schedule: normal Last Changed Author: giampaolo.rodola Last Changed Rev: 88761 Last Changed Date: 2011-03-06 13:04:47 -0800 (Sun, 06 Mar 2011) Information on how to access the hg repos is contained in the new Python Developer's Guide: http://docs.python.org/devguide/setup.html If you use hg to clone a copy of the current repo, you'll see something more like this: $ hg clone http://hg.python.org/cpython $ cd cpython $ hg log -b default changeset: 69534:020ebe0be33e user: Antoine Pitrou <solipsis@pitrou.net> date: Sat Apr 23 17:56:06 2011 +0200 summary: Remove unused private function Try the build again from a clean directory using the current hg repo. That said, if the message appears, follow the directions about copying Modules/Setup.dist to Modules/Setup. That is likely the source of your original build failure. > The 3.2 branch > (http://svn.python.org/projects/python/branches/release32-maint) can be > compiled without much issue. That is out-of-date as well. All current development and maintenance branches (2.7, 3.1, 3.2, default(=py3k)) are now maintained in the hg repo as described in the developer's guide. -- Ned Deily, nad@acm.org
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
Question about compiling python 30 from subversion repository on OSX Anthony Kong <anthony.hw.kong@gmail.com> - 2011-04-23 21:35 -0700 Re: Question about compiling python 30 from subversion repository on OSX Ned Deily <nad@acm.org> - 2011-04-23 23:18 -0700
csiph-web