how to build and install multiple micro-level major.minor versions of Python

Brent S. Elmer Ph.D. webe3vt at aim.com
Tue Apr 29 14:53:13 EDT 2014


On Tue, 2014-04-29 at 11:35 -0700, Ned Deily wrote:
> In article <1398785310.2673.16.camel at belmer>,
>  "Brent S. Elmer Ph.D." <webe3vt at aim.com> 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 at 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




More information about the Python-list mailing list