Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: Help needed with compiling python Date: Thu, 26 Nov 2015 07:55:51 +0100 Organization: Decebal Computing Lines: 39 Message-ID: <87lh9ldzbc.fsf@Equus.decebal.nl> References: <877fl596c6.fsf@Equus.decebal.nl> <8737vt927c.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="27081"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rJcomL9616AgbNv78YnshPucgdwHpevY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:jkuBNrv5THd/RzdaLbFdNDq2BqI= sha1:joERn8ag+Puj6aDOEI4NsobDsec= Xref: csiph.com comp.lang.python:99533 On Wednesday 25 Nov 2015 23:39 CET, Zachary Ware wrote: > 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. I tried that. It did install things in /usr/lib and /usr/lib64, but nothing in /usr/bin. Thought to solve it this way, but I suppose I have to delve deeper in it. >> 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 I did not look good the first time then, because I do not remember having those messages. But I still get: ImportError: No module named readline -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof