我正在尝试编译从 kernel.org 下载的 vanilla Linux 内核 3.12.14。当我尝试时make gconfig,它说:
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** No rule to make target 'scripts/kconfig/.tmp_gtkcheck', needed by `scripts/kconfig/gconf.o'. Stop.
make: *** [gconfig] Error 2
Run Code Online (Sandbox Code Playgroud)
现在看来我的 Ubuntu 默认没有 gtk+,dpkg -s xxxx已确认。我尝试使用安装所有 3 个,sudo apt-get install xxxx但没有找到软件包。
我现在能做什么!(pygtk 是答案吗?)
注意:xxxx 是错误中指定的 3 个缺失包的占位符。
Bra*_*iam 20
该消息非常明确:
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*Run Code Online (Sandbox Code Playgroud)
因此,只需安装您需要的库。在大多数情况下,这些是由-dev错误中提到的包的版本提供的,在库的情况下,您可能必须lib在开始时添加。所以,在这种情况下:
sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev
Run Code Online (Sandbox Code Playgroud)
并做了。
| 归档时间: |
|
| 查看次数: |
8104 次 |
| 最近记录: |