jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

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

Open surdinboris opened 1 year ago

surdinboris commented 1 year ago

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

josark2005 commented 1 year ago

same problem, is there any solution?

davidandreoletti commented 1 year ago

Same issue on Apple Intel

Snowmanko commented 1 year ago

Same M1, does anyone know how to fix this ?

ghost commented 1 year ago

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

surdinboris commented 1 year ago

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

arunabhabanerjee commented 1 year ago

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.

surdinboris commented 1 year ago

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/