On Thu, Jan 05, 2017 at 11:58:07AM +0100, Michael Schwendt wrote:
On Thu, 5 Jan 2017 00:58:00 +0000, Richard W.M. Jones wrote:
> It would also be nice if:
>
> PYTHON=/usr/bin/python3 %configure
>
> didn't (silently) do the wrong thing by default. For a long time we
> shipped a nbdkit-python3 package which was using python2, and that was
> found to be the cause.
And the configure script didn't accept the external definition of $PYTHON,
I guess.
No, the ./configure script DOES accept $PYTHON if it is set in the
environment. The problem happens in the expansion of the %configure
macro. I am mainly pointing out this trap since I don't see a simple
fix.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/