.png)
私はこのコマンドを使用して、別のマシン (ubuntu 20.40、amd64) で qemu-5.1.0 を設定しました。
../configure --target-list=aarch64-softmmu --enable-debug --enable-gtk --extra-ldflags="-Wl,--no-as-needed,--export-dynamic -ldl"
しかし、Ubuntu 18.04 arm64 マシンで同じことを実行すると、このメッセージが表示されました。
ckim@n1sdp:~/prj/QEMU/qemu-5.1.0/build$ ../configureit
ERROR: User requested feature gtk
configure was not able to find it.
Install gtk3-devel
それで私は
ckim@n1sdp:~/prj/QEMU/qemu-5.1.0/build$ sudo apt install gtk3-devel
sudo: unable to resolve host n1sdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gtk3-devel
を実行するとdpkg -l | grep gtk
、次のリストが表示されます (すべて既にインストールされているもの)。
ii libcanberra-gtk3-0:arm64 0.30-5ubuntu1 arm64 GTK+ 3.0 helper for playing widget event sounds with libcanberra
ii libcanberra-gtk3-module:arm64 0.30-5ubuntu1 arm64 translates GTK3 widgets signals to event sounds
ii libgtk3-perl 0.032-1 all Perl bindings for the GTK+ graphical user interface library
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19.5 all Python 3 GTK+ 3 widgets to run an aptdaemon client
sudo apt-cache search gtk3
そして、 「dev」パターンを含まない行を使用および削除しました。最終的にはこのリストになります。
libavahi-ui-gtk3-dev - Development headers for the Avahi GTK+ User interface library
libcanberra-gtk-common-dev - simple interface for playing event sounds (GTK+ shared development files)
libcanberra-gtk3-dev - simple interface for playing event sounds (GTK+ 3 development files)
libdbusmenu-gtk3-dev - library for passing menus over DBus - GTK+ version developement files
golang-github-gotk3-gotk3-dev - Go bindings for GTK3
libappmenu-gtk3-parser-dev - GtkMenuShell to GMenuModel parser (GTK+3.0 development files)
libgarcon-gtk3-1-dev - Development files for garcon-gtk3
libghc-gtk3-dev - binding to the Gtk+ graphical user interface library
libgtk3.0-cil-dev - CLI binding for the GTK+ toolkit 3.0
libgwengui-gtk3-dev - Gwenhywfar GUI implementation for GTK3 (development files)
libindicate-gtk3-dev - library for raising indicators via DBus - GTK bindings development files
libspice-client-gtk-3.0-dev - GTK3 widget for SPICE clients (development files)
libunity-gtk3-parser-dev - GtkMenuShell to GMenuModel parser
libwxgtk-media3.0-gtk3-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ 3 media library development)
libwxgtk-webview3.0-gtk3-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ 3 webview library development)
libwxgtk3.0-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
libwxgtk3.0-gtk3-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ 3 development)
libxfce4panel-2.0-dev - Xfce4 panel libraries (GTK3 variant)
python-wxgtk3.0-dev - Development files for wxPython
不要なパッケージをインストールしても害がないことはわかっていますが、どれをインストールすればよいのでしょうか?
答え1
sudo apt-get install libavahi-ui-gtk3-dev
解決しました。