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


Groups > comp.lang.python > #99533

Re: Help needed with compiling python

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Re: Help needed with compiling python
Date 2015-11-26 07:55 +0100
Organization Decebal Computing
Message-ID <87lh9ldzbc.fsf@Equus.decebal.nl> (permalink)
References <877fl596c6.fsf@Equus.decebal.nl> <mailman.94.1448484579.20593.python-list@python.org> <8737vt927c.fsf@Equus.decebal.nl> <mailman.101.1448491194.20593.python-list@python.org>

Show all headers | View raw


On Wednesday 25 Nov 2015 23:39 CET, Zachary Ware wrote:

> On Wed, Nov 25, 2015 at 3:52 PM, Cecil Westerhof <Cecil@decebal.nl> 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

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


Thread

Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-25 21:23 +0100
  Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-25 14:49 -0600
    Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-25 22:52 +0100
      Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-25 16:39 -0600
        Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 07:55 +0100
      Re: Help needed with compiling python Laura Creighton <lac@openend.se> - 2015-11-25 23:58 +0100
        Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 08:00 +0100
          Re: Help needed with compiling python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-11-26 19:29 +1100
            Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 22:33 +0100
              Re: Help needed with compiling python Kev Dwyer <kevin.p.dwyer@gmail.com> - 2015-11-27 06:46 +0000
          Re: Help needed with compiling python Dave Farrance <df@see.replyto.invalid> - 2015-11-26 11:07 +0000
            Re: Help needed with compiling python Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 22:39 +0100
              Re: Help needed with compiling python Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-26 23:48 -0600

csiph-web