F1ash / homebrew-qt-virt-manager

The HomeBrew formulaes for install QtVirtManager on OS X
9 stars 10 forks source link

missing package (json-glib-1.0) on OSX Mojave #9

Open Papina opened 5 years ago

Papina commented 5 years ago

unable to install the spice-client-glib2 package when running brew install after running it a second time:

==> Installing qt-virt-manager from f1ash/qt-virt-manager ==> Installing dependencies for f1ash/qt-virt-manager/qt-virt-manager: spice-client-glib2, qt5, qtermwidget, autoconf, automake, jpeg-turbo, sdl, libvnc, libvirt-glib and shared-mime-info ==> Installing f1ash/qt-virt-manager/qt-virt-manager dependency: spice-client ==> Downloading https://www.spice-space.org/download/gtk/spice-gtk-0.37.tar.bz2 Already downloaded: /Users/benjamin/Library/Caches/Homebrew/downloads/523252175fc1a124f8b6c1f3e9b0637ab80ebe6825cbe8a591a6d034508d3b69--spice-gtk-0.37.tar.bz2 ==> ./configure --disable-silent-rules --with-gtk=no --enable-vala=no --with-audio=no --disable-opus --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-client- Last 15 lines from /Users/benjamin/Library/Logs/Homebrew/spice-client-glib2/01.configure: checking for GOBJECT2... yes checking for GIO... yes checking for CAIRO... yes checking for GTHREAD... yes checking for JSON... no configure: error: Package requirements (json-glib-1.0) were not met:

No package 'json-glib-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables JSON_CFLAGS and JSON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/f1ash/homebrew-qt-virt-manager/issues

Papina commented 5 years ago

$ brew install json-glib Warning: json-glib 1.4.4_1 is already installed and up-to-date To reinstall 1.4.4_1, run brew reinstall json-glib

yetangye commented 5 years ago

I also encountered this problem.

⋊> ~ brew install json-glib                                                                 11:00:02
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
sbcl

==> Downloading https://homebrew.bintray.com/bottles/json-glib-1.4.4_1.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/64/643ce68e84c094e77597f2f1b83678d3675b74b1a2e11c438
######################################################################## 100.0%
==> Pouring json-glib-1.4.4_1.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/json-glib/1.4.4_1: 109 files, 1.3MB
⋊> ~ brew install qt-virt-manager                                                           11:04:28
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
protobuf ✔

==> Installing qt-virt-manager from f1ash/qt-virt-manager
==> Installing dependencies for f1ash/qt-virt-manager/qt-virt-manager: spice-client-glib2, unbound and libvirt
==> Installing f1ash/qt-virt-manager/qt-virt-manager dependency: spice-client-glib2
==> Downloading https://www.spice-space.org/download/gtk/spice-gtk-0.37.tar.bz2
Already downloaded: /Users/tangye/Library/Caches/Homebrew/downloads/523252175fc1a124f8b6c1f3e9b0637ab80ebe6825cbe8a591a6d034508d3b69--spice-gtk-0.37.tar.bz2
==> ./configure --disable-silent-rules --with-gtk=no --enable-vala=no --with-audio=no --disable-opus
Last 15 lines from /Users/tangye/Library/Logs/Homebrew/spice-client-glib2/01.configure:
checking for GOBJECT2... yes
checking for GIO... yes
checking for CAIRO... yes
checking for GTHREAD... yes
checking for JSON... no
configure: error: Package requirements (json-glib-1.0) were not met:

No package 'json-glib-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JSON_CFLAGS
and JSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/f1ash/homebrew-qt-virt-manager/issues
sharkwouter commented 4 years ago

I'm seeing this same issue on Catalina. The error message is exactly the same.