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


Groups > comp.lang.python > #30927

Re: Problems building Python from hg trunk on Open SUSE

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dihedral88888@googlemail.com>
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; 'python.': 0.02; 'output': 0.04; 'subject:Python': 0.05; 'installed.': 0.05; 'subject:Open': 0.05; 'sys': 0.05; 'things.': 0.05; "'',": 0.07; '64-bit': 0.07; 'purpose.': 0.07; 'python': 0.09; 'software;': 0.09; 'solaris,': 0.09; 'subject:trunk': 0.09; 'thu': 0.09; 'to:addr:comp.lang.python': 0.09; 'x86_64': 0.09; 'cc:addr:python- list': 0.10; 'fitness': 0.13; '(note': 0.16; '--help"': 0.16; '-- version': 0.16; 'googling': 0.16; 'guessing': 0.16; 'install"': 0.16; 'install".': 0.16; 'oct': 0.16; 'path:': 0.16; 'relates': 0.16; 'skip:/ 50': 0.16; 'skip:~ 20': 0.16; 'subject:Problems': 0.16; 'sys.path': 0.16; 'uname': 0.16; 'utc': 0.16; 'warranty;': 0.16; 'skip': 0.17; 'foundation,': 0.18; '>>>': 0.18; 'packaging': 0.20; 'written': 0.20; 'bit': 0.21; 'import': 0.21; 'default,': 0.22; 'fine,': 0.22; 'gcc': 0.22; 'libraries': 0.22; "skip:' 40": 0.22; 'cc:2**0': 0.23; 'dependent': 0.23; 'this:': 0.23; "haven't": 0.23; 'installed': 0.23; '(this': 0.24; 'thus': 0.24; 'cc:no real name:2**0': 0.24; 'linux': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'setting': 0.26; 'appreciated.': 0.26; 'ago': 0.27; 'pages,': 0.27; 'installing': 0.27; "doesn't": 0.28; 'lines': 0.28; 'skip:( 20': 0.28; "skip:' 50": 0.29; 'objects': 0.29; 'source': 0.29; "i'm": 0.29; 'install': 0.29; 'related': 0.30; 'skip:- 30': 0.31; 'computer.': 0.32; 'could': 0.32; 'word.': 0.33; '(c)': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'architecture': 0.34; 'conditions.': 0.35; 'from:addr:googlemail.com': 0.35; 'nov': 0.35; 'open': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'except': 0.36; "didn't": 0.36; 'anything': 0.36; 'turn': 0.36; 'bad': 0.37; 'resolve': 0.37; 'why': 0.37; 'skip:3 10': 0.37; 'usual': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'copying': 0.38; 'files': 0.38; 'some': 0.38; 'advice': 0.39; 'instead': 0.39; 'system.': 0.39; 'where': 0.40; 'containing': 0.61; 'free': 0.61; '(that': 0.62; 'our': 0.65; 'decided': 0.65; 'iron': 0.65; './configure': 0.84; '12.1': 0.84; 'awhile': 0.84; 'messed': 0.84; 'whirl': 0.84; 'directories,': 0.91
Newsgroups comp.lang.python
Date Sun, 7 Oct 2012 10:01:58 -0700 (PDT)
In-Reply-To <mailman.1885.1349483106.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
References <mailman.1885.1349483106.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 123.192.32.215
MIME-Version 1.0
Subject Re: Problems building Python from hg trunk on Open SUSE
From 88888 Dihedral <dihedral88888@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
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>
Message-ID <mailman.1927.1349629321.27098.python-list@python.org> (permalink)
Lines 140
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349629321 news.xs4all.nl 6970 [2001:888:2000:d::a6]:47076
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30927

Show key headers only | View raw


Skip Montanaro於 2012年10月6日星期六UTC+8上午8時25分06秒寫道:
> I haven't messed around with Python 3 recently, so decided to give it
> 
> a whirl again.  I cloned the trunk (cpython) and set about it.  This
> 
> is on an OpenSUSE 12.1 system.  I configured like so:
> 
> 
> 
>   ./configure --prefix=/home/skipm/.linux-local
> 
> 
> 
> and ran the usual "make ; make install".
> 
> 
> 
> I'm a bit perplexed about how it is installed.  Instead of installing
> 
> shared objects in
> 
> 
> 
>   /home/skipm/.linux-local/lib/python3.4/lib-dynload
> 
> 
> 
> they were installed in
> 
> 
> 
> /home/skipm/.linux-local/lib64/python3.4/lib-dynload
> 
> 
> 
> (note the "lib64" vs. "lib").  This would be fine, except sys.path
> 
> doesn't include the "lib64" version of this path:
> 
> 
> 
> % PYTHONPATH= PYTHONSTARTUP= ~/.linux-local/bin/python3.4 -S
> 
> Could not find platform dependent libraries <exec_prefix>
> 
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 
> Python 3.4.0a0 (default:26200f535296, Oct  3 2012, 12:48:07)
> 
> [GCC 4.4.6 [TWW]] on linux
> 
> >>> import sys
> 
> >>> sys.path
> 
> ['', '', '/home/skipm/.linux-local/lib/python34.zip',
> 
> '/home/skipm/.linux-local/lib/python3.4/',
> 
> '/home/skipm/.linux-local/lib/python3.4/plat-linux',
> 
> '/home/skipm/.linux-local/lib/lib-dynload']
> 
> 
> 
> I see the message about setting PYTHONHOME.  (That happens to be bad
> 
> advice as sys.prefix and sys.exec_prefix are identical in this case.)
> 
> What I don't understand is why directories containing "lib64" are not
> 
> in sys.path by default, given that that's where "make install" put
> 
> things.
> 
> 
> 
> GCC is as delivered by The Written Word.  (This is a work computer.
> 
> The powers that be settled on TWW awhile ago for packaging all open
> 
> source software we use on Linux and Solaris, thus removing a headache
> 
> from our support staff.)  It is:
> 
> 
> 
> % gcc --version
> 
> gcc (GCC) 4.4.6 [TWW]
> 
> Copyright (C) 2010 Free Software Foundation, Inc.
> 
> This is free software; see the source for copying conditions.  There is NO
> 
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> 
> The architecture looks like this:
> 
> 
> 
> % uname -a
> 
> Linux udesktop264 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45
> 
> UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> 
> I don't see anything in the output of "./configure --help" which
> 
> relates to 64-bit install directories, though I do see some lines in
> 
> config.log about guessing the architecture.  Some cursory googling
> 
> didn't turn up any promising web pages, and I didn't find anything in
> 
> the various documentation files in the repo related to building
> 
> Python.
> 
> 
> 
> Any suggestions about how to resolve this would be appreciated.
> 
> 
> 
> Thx,
> 
> 
> 
> Skip

I am waiting for JYTHON and IRON PYTHON to be upgraded.

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


Thread

Problems building Python from hg trunk on Open SUSE Skip Montanaro <skip@pobox.com> - 2012-10-05 19:24 -0500
  Re: Problems building Python from hg trunk on Open SUSE 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-07 10:01 -0700
  Re: Problems building Python from hg trunk on Open SUSE 88888 Dihedral <dihedral88888@googlemail.com> - 2012-10-07 10:01 -0700

csiph-web