Giter VIP home page Giter VIP logo

Comments (4)

zsirmo avatar zsirmo commented on May 25, 2024

I found a problem message: Unsupport graphics type 'spice'

Check manual:
meson:
meson setup virt-viewer-11.0 virt-viewer-build
output:
.
.
Run-time dependency spice-client-glib-2.0 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency spice-client-gtk-3.0 found: NO (tried pkgconfig, framework and cmake)

meson (and pkg-config) not found spice installed packages
first check pc files in packages, and manual symlink (or brew force linking) and check openssl pc files(spice dependencies, when missing is problem)
ln -s /usr/local/Cellar/[email protected]/1.1.1t/lib/pkgconfig/libcrypto.pc /usr/local/lib/pkgconfig/libcrypto.pc
ln -s /usr/local/Cellar/[email protected]/1.1.1t/lib/pkgconfig/libssl.pc /usr/local/lib/pkgconfig/libssl.pc
ln -s /usr/local/Cellar/[email protected]/1.1.1t/lib/pkgconfig/openssl.pc /usr/local/lib/pkgconfig/openssl.pc
ln -s /usr/local/Cellar/spice-gtk/0.42/lib/pkgconfig/spice-client-glib-2.0.pc /usr/local/lib/pkgconfig/spice-client-glib-2.0.pc
ln -s /usr/local/Cellar/spice-gtk/0.42/lib/pkgconfig/spice-client-gtk-3.0.pc /usr/local/lib/pkgconfig/spice-client-gtk-3.0.pc

second check gettext package (brew force symlink and overwrite)

from homebrew-virt-manager.

hs123org avatar hs123org commented on May 25, 2024

Exactly the same issue happens for me. spice-gtk and other dependencies have been updated, but this happens and makes virt-viewer throw the same "Unsupported graphics type 'spice'" error:

Run-time dependency glib-2.0 found: YES 2.76.1
Run-time dependency gmodule-2.0 found: YES 2.76.1
Run-time dependency gtk+-3.0 found: YES 3.24.37
Run-time dependency libxml-2.0 found: YES 2.9.13
Run-time dependency libvirt found: YES 9.1.0
Run-time dependency libvirt-glib-1.0 found: YES 4.0.0
Run-time dependency gtk-vnc-2.0 found: YES 1.3.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency spice-client-glib-2.0 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency spice-client-gtk-3.0 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency spice-protocol found: YES 0.14.4
Run-time dependency govirt-1.0 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency rest-0.7 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency vte-2.91 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency bash-completion found: NO (tried pkgconfig, framework and cmake)
Configuring config.h using configuration

from homebrew-virt-manager.

hs123org avatar hs123org commented on May 25, 2024

I fixed this by adding gobject-introspection:
depends_on "gobject-introspection"

Turns out this was already mentioned here: krishjainx@a1c4c9c

from homebrew-virt-manager.

outlander4000 avatar outlander4000 commented on May 25, 2024

I just ran brew reinstall gobject-introspection which fixed the issue with the unsupported graphics type.
Thanks for leading me in the right direction.

from homebrew-virt-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.