No package 'glibmm-2.4' found ( When install Mango)

本文解决在使用pkg-config时遇到的找不到GTKMM、GLibMM及GThread等包的问题,并提供安装相应开发库的具体命令。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Q:

Package glibmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glibmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glibmm-2.4' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
WARNING: unable to find glibmm-2.4,gthread-2.0 configuration
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
WARNING: unable to find gtkmm-2.4 configuration
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
Package gtkglext-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglext-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglext-1.0' found
WARNING: unable to find gtkmm-2.4 configuration
Package glibmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glibmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glibmm-2.4' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
WARNING: unable to find glibmm-2.4,gthread-2.0 configuration
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
WARNING: unable to find gtkmm-2.4 configuration
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
Package gtkglext-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglext-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglext-1.0' found
WARNING: unable to find gtkmm-2.4 configuration
Traceback (most recent call last):
  File "./build", line 610, in <module>
    [ Entry(item) for item in targets ]
  File "./build", line 149, in __init__
    if is_executable (self.name): self.set_executable()
  File "./build", line 180, in set_executable
    '$bin$': [ self.name ] })
  File "./build", line 278, in fillin
    if item in keyvalue: cmd += keyvalue[item]
TypeError: 'NoneType' object is not iterable


Solution:

1) sudo aptitude install libgtkmm-2.4-dev

2) sudo apt-get install libgtkglextmm-x11-1.2-dev



Reference:

1)http://ubuntuforums.org/archive/index.php/t-683900.html

2)http://ubuntuforums.org/showthread.php?t=2058639




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值