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


Groups > comp.lang.python > #88098

Re: sys.exec_prefix doesn't seem to reflect --exec-prefix path

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'configure': 0.05; 'defaults': 0.07; 'subject:skip:s 10': 0.07; 'arguments': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '--prefix': 0.16; 'clashes': 0.16; 'instead:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'install': 0.23; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'newer': 0.30; 'specified': 0.30; 'skip:- 30': 0.32; 'linux': 0.33; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'charset:us-ascii': 0.36; 'needed': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'different': 0.65; 'received:204': 0.75; 'article': 0.77; '../configure': 0.84; './configure': 0.84; 'was:': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: sys.exec_prefix doesn't seem to reflect --exec-prefix path
Date Thu, 26 Mar 2015 14:54:37 -0700
References <548dcac1-fa00-4fc1-81d1-ccae28cafcbc@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.28.118.160
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
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.218.1427406955.10327.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1427406955 news.xs4all.nl 2864 [2001:888:2000:d::a6]:38895
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:88098

Show key headers only | View raw


In article <548dcac1-fa00-4fc1-81d1-ccae28cafcbc@googlegroups.com>,
 Ralph Heinkel <ralph.heinkel@web.de> wrote:
> on my linux box there is a python version 2.7.5 installed in /usr/local.
> 
> Now I want to install the newer version 2.7.9, but in a different directory 
> to avoid clashes with the current installation.
> 
> What I did was:
> 
> ./configure --prefix /usr/local/Python-2.7.9 --exec-prefix 
> /usr/local/Python-2.7.9
> make
> make install

Configure arguments need to be specified with '='.  Try instead:

./configure --prefix=/usr/local/Python-2.7.9

And --exec-prefix isn't needed in this case as it defaults to the value 
of --prefix.

-- 
 Ned Deily,
 nad@acm.org

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


Thread

sys.exec_prefix doesn't seem to reflect --exec-prefix path Ralph Heinkel <ralph.heinkel@web.de> - 2015-03-26 05:37 -0700
  Re: sys.exec_prefix doesn't seem to reflect --exec-prefix path Ned Deily <nad@acm.org> - 2015-03-26 14:54 -0700

csiph-web