Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Zachary Ware Newsgroups: comp.lang.python Subject: Re: Help needed with compiling python Date: Wed, 25 Nov 2015 16:39:28 -0600 Lines: 30 Sender: zachary.ware@gmail.com Message-ID: References: <877fl596c6.fsf@Equus.decebal.nl> <8737vt927c.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de h4yMOb6Ppes0jQjEw71iCQuEl+k0ayo8qh/IDhRJjHQQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'bits': 0.07; 'finished,': 0.07; 'setup.py': 0.07; 'deprecated,': 0.09; 'it;': 0.09; 'modules.': 0.09; 'received:209.85.218': 0.10; 'subject:Help': 0.10; 'python': 0.10; 'python.': 0.11; 'subject:python': 0.14; 'wed,': 0.15; 'anymore': 0.16; 'bits,': 0.16; "module's": 0.16; 'received:209.85.218.51': 0.16; 'received:io': 0.16; 'received :mail-oi0-f51.google.com': 0.16; 'received:psf.io': 0.16; 'remain,': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; '2015': 0.20; 'to:name:python-list@python.org': 0.20; 'second': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'installed': 0.26; 'message-id:@mail.gmail.com': 0.27; 'readline': 0.29; 'repair': 0.29; 'certainly': 0.30; 'received:google.com': 0.35; 'nov': 0.35; 'replace': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'modules': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'wanted': 0.37; "won't": 0.38; 'version': 0.38; 'received:209': 0.38; 'why': 0.39; 'does': 0.39; 'system.': 0.39; 'build': 0.40; 'well.': 0.40; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'some': 0.40; 'strange': 0.63; 'worth': 0.67; 'bite': 0.84; 'cecil': 0.84; 'westerhof': 0.84; 'hassle': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=s2sYXj3qW4vL58yEm6gS55Iaig81NCFay5oJVAPhLws=; b=ih/F30Th0iaUlOGB6Q9e7rtoTpokxaszkBvPBipHke6ctzUwuUCqaMhItPiCyAzs1A nPBrgpqLTba++ULgSn2PuxJ6wT5yiRNjrSTlsLP4Yoks34W60ydZWsRaaJK7RXFAap1P v2xcTvkEWH9gNL6zx/ML6uNkWeWjf5AmNoo39yMflxUXrqUPfzHcya02cwgBJW2fJiN5 +pD5cbgh3vdi7z5jdRPz93/054OZedr8XfBCUwYEtWlDwgBKQlncDzAlpyT+XofPBpSd s20LlyuMhQ/S8bjx+PgvKkT+0PAizktZyCfIcjMlJvhq8slTH4CM3GX0bW0zhDYam/Ov daDA== X-Received: by 10.202.172.151 with SMTP id v145mr24737184oie.79.1448491187605; Wed, 25 Nov 2015 14:39:47 -0800 (PST) In-Reply-To: <8737vt927c.fsf@Equus.decebal.nl> X-Google-Sender-Auth: AGRkPk_lO0HMDuEag1nQeu7nfLc X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99500 On Wed, Nov 25, 2015 at 3:52 PM, Cecil Westerhof wrote: > My system python was all-ready damaged: that is why I wanted to build > myself. Then you should try to repair the system Python install via the system package manager. It's not worth the hassle to try to replace it; it almost certainly won't work for some strange corner case that won't bite you until 3 months from now. It's perfectly OK to have a second Python install in /usr/local, even of the same version as the system Python. > It is an openSUSE system. I installed the readline with: > zypper install readline-devel > > The strange thing is that it does mot compile anymore now. I get: > Python build finished, but the necessary bits to build these modules were not found: > _bsddb _tkinter bsddb185 > dbm dl gdbm > imageop sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the module's name. Before you installed readline-devel, readline would have been listed there as well. It's ok to have modules listed there if you don't need those particular modules. Most of those are actually deprecated, and have been removed from Python 3. Of those that remain, _tkinter requires tcl-devel and tk-devel; dbm and gdbm require similarly named development packages (I have no experience with using dbm/gdbm). -- Zach