Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; '/usr/local': 0.09; 'skip:/ 10': 0.09; 'subject:build': 0.09; 'cc:addr:python-list': 0.11; '--prefix': 0.16; 'brent': 0.16; 'non-default': 0.16; 'path.': 0.16; 'prefix,': 0.16; 'received:9': 0.16; 'received:ibm.com': 0.16; 'subject: \n ': 0.16; 'subject:install': 0.16; 'subject:versions': 0.16; 'wrote:': 0.18; 'library': 0.18; 'cc:addr:python.org': 0.22; 'install': 0.23; 'header:Received:8': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'included': 0.31; 'usually': 0.31; '-0700,': 0.31; 'probably': 0.32; '(i.e.': 0.33; 'guess': 0.33; 'level.': 0.33; 'usual': 0.35; 'but': 0.35; 'there': 0.35; 'skip:- 10': 0.38; 'rather': 0.38; 'different': 0.65; 'default': 0.69; 'article': 0.77; './configure': 0.84; 'beside': 0.84; 'magical': 0.91 Subject: Re: how to build and install multiple micro-level major.minor versions of Python From: "Brent S. Elmer Ph.D." To: Ned Deily Date: Tue, 29 Apr 2014 14:53:13 -0400 In-Reply-To: References: <1398785310.2673.16.camel@belmer> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5-2+b3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14042918-0928-0000-0000-00000185BFCA Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398798262 news.xs4all.nl 2853 [2001:888:2000:d::a6]:39298 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70726 On Tue, 2014-04-29 at 11:35 -0700, Ned Deily wrote: > In article <1398785310.2673.16.camel@belmer>, > "Brent S. Elmer Ph.D." wrote: > > Is there a way to do what I want to do (i.e. install 2.7.6 beside 2.7)? > > The usual way to support multiple micro versions is to build and install > to a different location on your system by using: > > ./configure --prefix=/new/path > > There is nothing magical about /usr/local or /usr other than that > /usr/bin and /usr/local/bin are usually included in default $PATH. If > you use a non-default prefix, it's also probably best to avoid using > --enable-shared to minimize the chances of confusion with shared library > loading. > > -- > Ned Deily, > nad@acm.org > Yes, I already use --prefix to build to a different path. I guess that is what I need to do but I would rather have a way to have the build and install process install to the micro level. Brent