homebrew-virt-manager icon indicating copy to clipboard operation
homebrew-virt-manager copied to clipboard

Package 'gobject-introspection-1.0', required by 'spice-client-glib-2.0', not found - Mac OS Monterey 12.5 (Apple M1)

Open surdinboris opened this issue 2 years ago • 7 comments

Hello,

I have an issue with installation of virt-viewer (brew install virt-viewer) with next output:

`==> ./configure --disable-update-mimedb --with-gtk-vnc --with-spice-gtk --prefix=/opt/homebrew/Cellar/v Last 15 lines from /Users/borissurdin/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.`

Tried to set mentioned vars explicitly to lib location, but no result Tried https://github.com/Damenly/homebrew-virt-manager - same problem.

Any advise will be appreciated.

Regards, Boris

surdinboris avatar Aug 04 '22 16:08 surdinboris

same problem, is there any solution?

josark2005 avatar Oct 17 '22 09:10 josark2005

Same issue on Apple Intel

davidandreoletti avatar Oct 18 '22 08:10 davidandreoletti

Same M1, does anyone know how to fix this ?

Snowmanko avatar Oct 25 '22 12:10 Snowmanko

Virt manager installs fine, virt-viewer does not. Exact same error.

ghost avatar Oct 30 '22 22:10 ghost

For those who interested I've found some workaround by using remote-viewer package https://formulae.brew.sh/cask/remoteviewer brew install --cask remoteviewer Usage: remote-viewer console.vv Binary path in my env is /opt/homebrew/bin/remote-viewer. Works ok on M1.

Regards, Boris

surdinboris avatar Oct 31 '22 06:10 surdinboris

After installing remoteviewer still I can't find the remote-viewer cli tool. I can see RemoteViewer application but after opening it I can't open console.vv file.

arunabhabanerjee avatar Jan 20 '23 04:01 arunabhabanerjee

This fork is good for me:

https://github.com/Damenly/homebrew-virt-manager (it's not installing all things that it's supposed to, but compiling remote-viewer binary that is enough for my needs)

brew tap Damenly/homebrew-virt-manager brew install virt-manager brew install virt-viewer

Then it possible to create app and make associations for vv files using https://rizvir.com/articles/ovirt-mac-console/

surdinboris avatar Jan 22 '23 06:01 surdinboris