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


Groups > comp.lang.python > #71072

Re: idle glitch while building python 3.4 from sources

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; '(at': 0.04; 'finished,': 0.07; 'assuming': 0.09; 'bits': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'skip:/ 10': 0.09; 'subject:while': 0.09; 'tcl/tk': 0.09; 'python': 0.11; "(i'm": 0.16; '--prefix': 0.16; '-o2': 0.16; 'aptitude': 0.16; 'build_ext': 0.16; "module's": 0.16; 'output?': 0.16; 'reason).': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'report?': 0.16; 'such,': 0.16; 'sudo': 0.16; 'sysconfig': 0.16; 'tarball': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'module': 0.19; '(the': 0.22; 'header:User-Agent:1': 0.23; 'either.': 0.24; 'headers': 0.24; 'source': 0.25; 'extension': 0.26; '(for': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; "i'm": 0.30; 'disabled': 0.31; 'gcc': 0.31; 'running': 0.33; 'subject:from': 0.34; 'could': 0.34; "can't": 0.35; 'but': 0.35; 'building': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'example,': 0.37; 'reports': 0.37; 'skip:- 20': 0.37; 'step': 0.37; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'does': 0.39; "couldn't": 0.39; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ensure': 0.60; 'remove': 0.60; "you'll": 0.62; 'received:204': 0.75; 'article': 0.77; 'received:204.14': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: idle glitch while building python 3.4 from sources
Date Wed, 07 May 2014 19:49:46 -0700
References <lkds4j$khg$1@speranza.aioe.org> <mailman.9746.1399486815.18130.python-list@python.org> <536A8C95.6050103@gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.233
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9759.1399517403.18130.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399517403 news.xs4all.nl 2915 [2001:888:2000:d::a6]:54433
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71072

Show key headers only | View raw


In article <536A8C95.6050103@gmail.com>,
 Mark H Harris <harrismh777@gmail.com> wrote:

> On 5/7/14 1:19 PM, Ned Deily wrote:
> > If the Python build (the "make sharedmods" build step) can't
> > successfully build the _tkinter extension module (because, for example,
> > it couldn't find the Tk headers or libraries), the build step already
> > reports that it could not build _tkinter.
> 
> hi Ned,   where is the report? Its not obvious; where does one look for 
> this step output?  I did not see it on my build attempts last night. I'm 
> assuming its in one of the logs. What would be nice is a final (at the 
> end) report listing of the modules|extention modules that did not get 
> built (for whatever reason).

$ sudo aptitude remove tk-dev tcl-dev
$ make clean
$ make
gcc -pthread -c -fno-strict-aliasing -g -O2 -g -O0 -Wall 
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o 
Modules/python.o ./Modules/python.c
[...]
./python -E -S -m sysconfig --generate-posix-vars
[20560 refs]
running build
running build_ext
building dbm using gdbm
INFO: Can't locate Tcl/Tk libs and/or headers
[...]

Python build finished, but the necessary bits to build these modules 
were not found:
_bsddb             _tkinter           bsddb185
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.

running build_scripts
$

> As an aside, the ensure pip is disabled for some reason (I'm reading the 
> pep, and such, which is confusing). There isn't much to go on from the 
> build listing about ensure pip either.

What do you mean by "disabled"?  Are you building from a source tarball 
or from some package from your distribution?  You'll need to do a "make 
install" for pip to be installed and it will be installed in your 
--prefix bin (default, /usr/local/bin) as pip3 and pip3.4.

-- 
 Ned Deily,
 nad@acm.org

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


Thread

idle glitch while building python 3.4 from sources Mark H Harris <harrismh777@gmail.com> - 2014-05-07 12:56 -0500
  Re: idle glitch while building python 3.4 from sources Ned Deily <nad@acm.org> - 2014-05-07 11:19 -0700
    Re: idle glitch while building python 3.4 from sources Mark H Harris <harrismh777@gmail.com> - 2014-05-07 14:42 -0500
      Re: idle glitch while building python 3.4 from sources Ned Deily <nad@acm.org> - 2014-05-07 19:49 -0700
    Re: idle glitch while building python 3.4 from sources Mark H Harris <harrismh777@gmail.com> - 2014-05-07 14:42 -0500
  Re: idle glitch while building python 3.4 from sources kfsone@gmail.com - 2014-06-12 13:35 -0700
    Re: idle glitch while building python 3.4 from sources Terry Reedy <tjreedy@udel.edu> - 2014-06-12 19:44 -0400

csiph-web