[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 07/18/2012 11:17 AM, Cole Robinson wrote:
> On 07/17/2012 07:39 PM, Jason Helfman wrote:
>> Hi,
>>
>> I noticed in virt-manager, it has an exec on /usr/bin/python. In FreeBSD,
>> this is /usr/local/bin/python. Is there a way I can change this either
>> through a configure flag at build time, or patch a Makefile?
>>
> 
> Not at the moment.

I think you're asking for something like what libvirt did in commit
e4384459c, by using:

#!/usr/bin/env python

instead of

#!/usr/bin/python

> Hmm, the system python binary is under /usr/local? That doesn't seem right,
> /usr/local is supposed to be where things go when a user installs things by
> hand. For example none of the software the Fedora distributes put anything in
> /usr/local, but by default ./configure && make install for most software roots
> things under /usr/local.

Yeah, that sounds like it is not FreeBSD's default python installation
location, but your hand-installed version, or else a bug in how FreeBSD
packages things.  At any rate, using /usr/bin/env instead of hard-coded
paths would work around that just as easily as it will for python being
installed anywhere else other than /usr/bin/.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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