[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libvirt] ANNOUNCE: virt-manager 0.9.3



On Thu, Jul 19, 2012 at 01:54:25PM -0600, Eric Blake wrote:
> Actually, calling the first 'python' on PATH _is_ potentially
> problematic, if you mix more than one python stack on your system.  It
> may mean that we need a ./configure --with-python=/path/to/python, then
> install the tools with a hard-coded substitution to the absolute path
> passed at configure time instead of the use of env to run the first
> python on PATH.

This is essentially what we do in libguestfs for python and ruby
binaries.  The reason was because of Debian where parallel installs of
different {Python,Ruby} stacks are possible and perhaps even routine.

When you do this, you also need to key several other things off the
binary, eg. paths to libraries.  See this in configure.ac:

https://github.com/libguestfs/libguestfs/blob/master/configure.ac#L896
https://github.com/libguestfs/libguestfs/blob/master/configure.ac#L965

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]