怎么安装GTK+2.10
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- ttaix
- 帖子: 17
- 注册时间: 2007-04-13 18:11
- 联系:
怎么安装GTK+2.10
firefox3和QQ都要用到啊,我装不了
- command
- 帖子: 306
- 注册时间: 2007-10-14 0:50
- 来自: GUCAS
- ttaix
- 帖子: 17
- 注册时间: 2007-04-13 18:11
- 联系:
编译不了阿,请帮忙看看
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for native Win32... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
ttaix:/home/ttaix/Desktop/gtk+-2.10.14# gedit config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gtk+ configure 2.10.14, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = ttaix
uname -m = i686
uname -r = 2.6.18-6-686
uname -s = Linux
uname -v = #1 SMP Mon Aug 18 08:42:39 UTC 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2168: checking for a BSD-compatible install
configure:2224: result: /usr/bin/install -c
configure:2235: checking whether build environment is sane
configure:2278: result: yes
configure:2311: checking for gawk
configure:2341: result: no
configure:2311: checking for mawk
configure:2327: found /usr/bin/mawk
configure:2338: result: mawk
configure:2349: checking whether make sets $(MAKE)
configure:2370: result: yes
configure:2615: checking build system type
configure:2633: result: i686-pc-linux-gnu
configure:2655: checking host system type
configure:2670: result: i686-pc-linux-gnu
configure:2694: checking for native Win32
configure:2705: result: no
configure:2761: checking for gcc
configure:2791: result: no
configure:2858: checking for cc
configure:2905: result: no
configure:2961: checking for cl.exe
configure:2991: result: no
configure:3020: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
- dsj
- 帖子: 810
- 注册时间: 2008-08-21 20:26
- dsj
- 帖子: 810
- 注册时间: 2008-08-21 20:26
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
- ttaix
- 帖子: 17
- 注册时间: 2007-04-13 18:11
- 联系:
谢谢你阿,升级了一下还是不行,好像又“pkg-config”版本太低,dsj 写了:对了,你的编译问题是gcc版本低,升级一下吧
这样用电脑 真累啊!唉!checking for pkg-config... no
checking for BASE_DEPENDENCIES... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
- dsj
- 帖子: 810
- 注册时间: 2008-08-21 20:26
- dsj
- 帖子: 810
- 注册时间: 2008-08-21 20:26
- ttaix
- 帖子: 17
- 注册时间: 2007-04-13 18:11
- 联系:
编译的时候出现这个呢?
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.