Re: [kvm-unit-tests PATCH] README: Reflect missing --getopt in configure

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

 



On Thu, Sep 24, 2020 at 12:18:04PM +0200, Paolo Bonzini wrote:
> On 24/09/20 12:06, Roman Bolshakov wrote:
> > 83760814f637 ("configure: Check for new-enough getopt") has replaced
> > proposed patch and doesn't introduce --getopt option in configure.
> > Instead, `configure` and `run_tests.sh` expect proper getopt to be
> > available in PATH.
> 
> Is this because getopt is "keg only"?  I thought you could just add
> `brew --prefix`/bin to the path.  You can also do "brew link" if there
> are no backwards-compatibility issues.
> 

Yes, keg-only packages do not shadow system utilities (which either come
from FreeBSD or GNU but have the most recent GPL2 version, i.e. quite
old), so adding `brew --prefix`/bin to PATH doesn't help much.

brew link doesn't help either :)

$ brew link gnu-getopt

Warning: Refusing to link macOS provided/shadowed software: gnu-getopt
If you need to have gnu-getopt first in your PATH run:
  echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.zshrc

Thanks,
Roman



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux