gpt4 book ai didi

linux - 制作 : glib-compile-resources: Command not found

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:38:56 31 4
gpt4 key购买 nike

我尝试编译使用 gtk3 的代码,但出现以下错误:

make:glib-compile-resources:找不到命令

我正在使用软呢帽。我搜索了文件“glib-compile-resources”,但我的计算机中不存在该文件。

此文件应包含在 glib2 中(根据:https://www.archlinux.org/packages/core/i686/glib2/)。

我已经安装了所有这些包:

rpm -qa | grep -i ^glib
glib-1.2.10-34.fc15.x86_64
glib-networking-2.28.6.1-2.fc15.x86_64
glibmm24-2.28.1-1.fc15.x86_64
glib2-static-2.28.8-1.fc15.x86_64
glibc-utils-2.14.1-6.x86_64
glibc-headers-2.14.1-6.x86_64
glibc-common-2.14.1-6.x86_64
glib-devel-1.2.10-34.fc15.x86_64
glib2-2.28.8-1.fc15.i686
glibc-2.14.1-6.i686
glibc-static-2.14.1-6.x86_64
glib2-devel-2.28.8-1.fc15.x86_64
glib2-2.28.8-1.fc15.x86_64
glibc-devel-2.14.1-6.x86_64
glibc-2.14.1-6.x86_64

rpm -qa | grep -i ^gtk
gtksourceview3-3.0.5-1.fc15.x86_64
gtk2-immodule-xim-2.24.7-3.fc15.x86_64
gtkglext-libs-1.2.0-14.fc15.x86_64
gtk2-2.24.7-3.fc15.x86_64
gtkmm30-3.0.1-1.fc15.x86_64
gtkmm24-2.24.0-3.fc15.x86_64
gtk3-3.0.12-1.fc15.x86_64
gtk2-devel-2.24.7-3.fc15.x86_64
gtk3-immodule-xim-3.0.12-1.fc15.x86_64
gtk+-1.2.10-71.fc15.x86_64
gtk2-engines-2.20.2-2.fc15.x86_64
gtk-vnc2-0.4.3-1.fc15.x86_64
gtk3-devel-3.0.12-1.fc15.x86_64
gtkmm-utils-0.4.1-3.fc15.x86_64
gtkhtml3-4.0.2-1.fc15.x86_64

我想更新 glib,但我不知 Prop 体怎么做。我尝试使用 (yum update glibc-*) 但它显示如下:

yum update glib-*
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Update Process
No Packages marked for Update

最佳答案

您的 yum 更新命令中缺少星号。另外,我会去掉连字符:

yum update glib* 

具体来说,glib-compile-resources 是由glib2-devel 包提供的(注意你只安装了glib-devel) .

我的 Fedora 19 机器的输出:

[root@some-machine ~]# yum provides glib-compile-resources
Loaded plugins: langpacks, refresh-packagekit
glib2-devel-2.36.3-2.fc19.i686 : A library of handy utility functions
Repo : fedora
Matched from:
Filename : /usr/bin/glib-compile-resources



glib2-devel-2.36.3-2.fc19.x86_64 : A library of handy utility functions
Repo : fedora
Matched from:
Filename : /usr/bin/glib-compile-resources



glib2-devel-2.36.3-3.fc19.i686 : A library of handy utility functions
Repo : updates
Matched from:
Filename : /usr/bin/glib-compile-resources



glib2-devel-2.36.3-3.fc19.x86_64 : A library of handy utility functions
Repo : updates
Matched from:
Filename : /usr/bin/glib-compile-resources



glib2-devel-2.36.3-3.fc19.x86_64 : A library of handy utility functions
Repo : @updates
Matched from:
Filename : /usr/bin/glib-compile-resources

关于linux - 制作 : glib-compile-resources: Command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19204152/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com