machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 354 forks source link

Installation fails with Homebrew #153

Closed barnumbirr closed 5 years ago

barnumbirr commented 5 years ago

Hello,

I can't seem to install xhyve with Homebrew:

[user@host ~]$ brew update
Already up-to-date.
[user@host ~]$ brew install --HEAD xhyve
==> Cloning https://github.com/machyve/xhyve.git
Updating /Users/martin/Library/Caches/Homebrew/xhyve--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at e73e4f1 Merge pull request #119 from zchee/kexec-ramdisk_start
==> make
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - xhyverun.sh

Cheers.

oholiab commented 5 years ago

If you need a short term fix (you just want it to complete the installation), run brew edit xhyve and then swap:

    pkgshare.install "xhyverun.sh"

for

    pkgshare.install "xhyverun-freebsd.sh"
    pkgshare.install "xhyverun-windows.sh"
    pkgshare.install "xhyverun-tinycorelinux.sh"

or whichever subset of those you're actually interested in.

oholiab commented 5 years ago
    pkgshare.install "xhyverun-freebsd.sh"
    pkgshare.install "xhyverun-windows.sh"
    pkgshare.install "xhyverun-tinycorelinux.sh"

I say that, all three of those appear to have a dependency on the build directory which isn't installed, so you can either include that or just delete the run scripts from the formula for an interrim fix.

charles-gray commented 5 years ago

+1 on this issue

jeremyhu commented 5 years ago

==> make

Homebrew should be using xcodebuild. I don't see an issue here. Please work with Homebrew to update their formulas.