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: 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: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw References: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 Skip Montanaro=E6=96=BC 2012=E5=B9=B410=E6=9C=886=E6=97=A5=E6=98=9F=E6=9C= =9F=E5=85=ADUTC+8=E4=B8=8A=E5=8D=888=E6=99=8225=E5=88=8606=E7=A7=92=E5=AF= =AB=E9=81=93=EF=BC=9A > I haven't messed around with Python 3 recently, so decided to give it >=20 > a whirl again. I cloned the trunk (cpython) and set about it. This >=20 > is on an OpenSUSE 12.1 system. I configured like so: >=20 >=20 >=20 > ./configure --prefix=3D/home/skipm/.linux-local >=20 >=20 >=20 > and ran the usual "make ; make install". >=20 >=20 >=20 > I'm a bit perplexed about how it is installed. Instead of installing >=20 > shared objects in >=20 >=20 >=20 > /home/skipm/.linux-local/lib/python3.4/lib-dynload >=20 >=20 >=20 > they were installed in >=20 >=20 >=20 > /home/skipm/.linux-local/lib64/python3.4/lib-dynload >=20 >=20 >=20 > (note the "lib64" vs. "lib"). This would be fine, except sys.path >=20 > doesn't include the "lib64" version of this path: >=20 >=20 >=20 > % PYTHONPATH=3D PYTHONSTARTUP=3D ~/.linux-local/bin/python3.4 -S >=20 > Could not find platform dependent libraries >=20 > Consider setting $PYTHONHOME to [:] >=20 > Python 3.4.0a0 (default:26200f535296, Oct 3 2012, 12:48:07) >=20 > [GCC 4.4.6 [TWW]] on linux >=20 > >>> import sys >=20 > >>> sys.path >=20 > ['', '', '/home/skipm/.linux-local/lib/python34.zip', >=20 > '/home/skipm/.linux-local/lib/python3.4/', >=20 > '/home/skipm/.linux-local/lib/python3.4/plat-linux', >=20 > '/home/skipm/.linux-local/lib/lib-dynload'] >=20 >=20 >=20 > I see the message about setting PYTHONHOME. (That happens to be bad >=20 > advice as sys.prefix and sys.exec_prefix are identical in this case.) >=20 > What I don't understand is why directories containing "lib64" are not >=20 > in sys.path by default, given that that's where "make install" put >=20 > things. >=20 >=20 >=20 > GCC is as delivered by The Written Word. (This is a work computer. >=20 > The powers that be settled on TWW awhile ago for packaging all open >=20 > source software we use on Linux and Solaris, thus removing a headache >=20 > from our support staff.) It is: >=20 >=20 >=20 > % gcc --version >=20 > gcc (GCC) 4.4.6 [TWW] >=20 > Copyright (C) 2010 Free Software Foundation, Inc. >=20 > This is free software; see the source for copying conditions. There is N= O >=20 > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. >=20 >=20 >=20 > The architecture looks like this: >=20 >=20 >=20 > % uname -a >=20 > Linux udesktop264 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 >=20 > UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux >=20 >=20 >=20 > I don't see anything in the output of "./configure --help" which >=20 > relates to 64-bit install directories, though I do see some lines in >=20 > config.log about guessing the architecture. Some cursory googling >=20 > didn't turn up any promising web pages, and I didn't find anything in >=20 > the various documentation files in the repo related to building >=20 > Python. >=20 >=20 >=20 > Any suggestions about how to resolve this would be appreciated. >=20 >=20 >=20 > Thx, >=20 >=20 >=20 > Skip I am waiting for JYTHON and IRON PYTHON to be upgraded.