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


Groups > comp.lang.python > #99627

Re: Help needed with compiling python

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Kev Dwyer <kevin.p.dwyer@gmail.com>
Newsgroups comp.lang.python
Subject Re: Help needed with compiling python
Date Fri, 27 Nov 2015 06:46:23 +0000
Lines 70
Message-ID <mailman.167.1448606793.20593.python-list@python.org> (permalink)
References <877fl596c6.fsf@Equus.decebal.nl> <mailman.94.1448484579.20593.python-list@python.org> <8737vt927c.fsf@Equus.decebal.nl> <mailman.102.1448492328.20593.python-list@python.org> <87h9k9dz2t.fsf@Equus.decebal.nl> <5656c2e0$0$11120$c3e8da3@news.astraweb.com> <87d1uwe99e.fsf@Equus.decebal.nl>
Reply-To kevin.p.dwyer@gmail.com
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Trace news.uni-berlin.de mZ6Op3+HldxafQj/PoG0qg27DmidbTgQArt0JFzFvK/Q==
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; 'python,': 0.02; 'broken': 0.03; 'root': 0.04; 'badly': 0.07; 'damages': 0.07; 'executable': 0.07; 'skip:/ 10': 0.07; 'attempted': 0.09; 'creighton': 0.09; 'machines.': 0.09; 'python:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'symlink': 0.09; 'way:': 0.09; 'subject:Help': 0.10; 'python': 0.10; 'python.': 0.11; 'programs.': 0.11; 'subject:python': 0.14; 'wed,': 0.15; 'wednesday': 0.15; 'fix,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'something.': 0.16; 'wrote:': 0.16; 'fixed.': 0.18; 'laura': 0.18; 'version.': 0.18; ';-)': 0.18; 'python?': 0.18; '>>>': 0.20; '2015': 0.20; 'fix': 0.21; 'fixing': 0.22; 'install,': 0.22; 'sep': 0.22; 'cheers,': 0.22; 'tried': 0.24; 'url:bugs': 0.24; 'sort': 0.25; 'install': 0.25; 'header :User-Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints- To:1': 0.26; 'looks': 0.29; 'python2.7': 0.29; "i'm": 0.30; 'system,': 0.30; 'that.': 0.30; 'work.': 0.30; 'e.g.': 0.30; "i'd": 0.31; 'probably': 0.31; 'everyone': 0.31; 'compiled': 0.32; 'url:python': 0.33; "d'aprano": 0.33; 'skip:/ 20': 0.33; 'steven': 0.33; "i'll": 0.33; 'running': 0.34; 'that,': 0.34; 'advice': 0.35; 'nov': 0.35; 'stable': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'tools,': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'wanted': 0.37; 'things': 0.38; 'wrong': 0.38; 'why': 0.39; 'does': 0.39; 'system.': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'still': 0.40; 'some': 0.40; 'your': 0.60; 'more': 0.63; 'managers': 0.63; 'latest': 0.64; 'due': 0.65; '>>>>>': 0.66; 'thursday': 0.66; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'reply-to:addr:gmail.com': 0.76; 'cecil': 0.84; "else's": 0.84; 'skip:/ 30': 0.84; 'westerhof': 0.84
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host cpc5-hari13-2-0-cust222.20-2.cable.virginm.net
Mail-Copies-To kevin.p.dwyer@gmail.com
User-Agent KNode/4.14.9
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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>
Xref csiph.com comp.lang.python:99627

Show key headers only | View raw


Cecil Westerhof wrote:

> On Thursday 26 Nov 2015 09:29 CET, Steven D'Aprano wrote:
> 
>> On Thursday 26 November 2015 18:00, Cecil Westerhof wrote:
>>
>>> On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote:
>>>
>>>> In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof
>>>> writes:
>>>>>
>>>>> My system python was all-ready damaged: that is why I wanted to
>>>>> build myself.
>>>>
>>>> Your Suse system probably wants to use python for something. If
>>>> your system python is damaged, you badly need to fix that, using
>>>> the system package managers tools, before Suse does some sort of
>>>> update on you, using the broken python, which damages more of your
>>>> system.
>>>
>>> I tried that. But it installs only things in /usr/lib and
>>> /usr/lib64, nothing in /usr/bin, but at the same time it is adamant
>>> that it installed python. I wanted a quick fix, but it looks like
>>> that is not going to work. :'-( I'll have to find a way to get
>>> things fixed.
>>>
>>
>> On the assumption that you are more interested in fixing your broken
>> system than learning how to compile Python, what happens if you use
>> the Suse package manager to re-install Python?
>>
>> e.g. zypper python
> 
> It installs things in /usr/lib and /usr/lib64, but nothing in
> /usr/bin. So it installs libraries, but not programs.
> 
> 
> By the way: I am of-course most interested to fix my system, but I
> would not mind to have python compiled also, so I (can) work with the
> latest stable version. ;-)
> 

FWIW, I'm running OpenSuse 13.2 on a number of machines.  Pythons built
with make altinstall have the python executable placed in /usr/local/bin.

e.g.:

kev@pluto ~  which python3.5
/usr/local/bin/python3.5

kev@pluto ~  which python2.7
/usr/local/bin/python2.7


NB due to http://bugs.python.org/issue15631 I find I have to symlink 
lib-dynload to get a working python:

kev@pluto ~  ls -l /usr/local/lib/python3.5/lib-dynload
lrwxrwxrwx 1 root root 38 Sep 26 19:51 /usr/local/lib/python3.5/lib-dynload 
-> /usr/local/lib64/python3.5/lib-dynload

Having said that, I'd still recommend that you follow everyone else's advice 
and fix your system python/rebuild your OS.  Opensuse has not attempted to 
install python 2.7.9 on any of my (fully patched) machines, so something is 
wrong with your install, unless you're using Tumbleweed.

Cheers,

Kev

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