$ brew install virt-viewer ==> Downloading https://virt-manager.org/download/sources/virt-viewer/virt-viewer-8.0.tar.gz Already downloaded: /Users/yibo/Library/Caches/Homebrew/downloads/0daaa768f148a86e56367e58ce0e49c09df31344fa7aac0cbbd9446f4fb4be8c--virt-viewer-8.0.tar.gz ==> Installing virt-viewer from krish-sysadmin/virt-manager ==> ./configure --disable-update-mimedb --with-gtk-vnc --with-spice-gtk --prefix=/usr/local/Cellar/virt-viewer/8.0 Last 15 lines from /Users/yibo/Library/Logs/Homebrew/virt-viewer/01.configure: checking for virDomainOpenGraphicsFD in -lvirt... yes checking for GTK... yes checking for GTK_VNC... yes checking for SPICE_GTK... no configure: error: Package requirements (spice-client-gtk-3.0 >= 0.35 spice-client-glib-2.0 >= 0.35) were not met:
Package 'gobject-introspection-1.0', required by 'spice-client-glib-2.0', not 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 SPICE_GTK_CFLAGS and SPICE_GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Do not report this issue to Homebrew/brew or Homebrew/core!