|
|
发表于 2007-10-13 00:39:00
|
显示全部楼层
Post by ne_yrh
export PKG_CONFIG_PATH64=/usr/lib64/pkgconfig
echo $PKG_CONFIG_PATH64
export BUILD64="-m64"
echo $BUILD64
CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
./configure --prefix=/usr
最后提示
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGTK... configure: error: Package requirements (pygtk-2.0 >= 2.8.0) were not met:
No package 'pygtk-2.0' 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 PYGTK_CFLAGS
and PYGTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我也没有找到pygtk-2.0的包 提示缺什么就安装什么。
找不到的软件到这里找:
Sources
http://freshmeat.net/
http://sourceforge.net/
RPM / SRPMS
www.rpmfind.net
www.freshrpms.net
www.rpmseek.com
http://download.opensuse.org/distribution/
http://mirrors.cat.pdx.edu/fedora/linux/development/source/SRPMS/
若实在找不到就 google 了。
上面的 RPM 的,你可能只能用 SRPM ,把 .src.rpm 的包解包后,用原码包编译。因为 Fedora 的可能与 openSuSE 不一样。
Alternatively, you may set the environment variables PYGTK_CFLAGS
and PYGTK_LIBS to avoid the need to call pkg-config. 上面这段并不代表没有安装 pkg-config ,而是在 $PKG_CONFIG_PATH64 中没有找到需要的文件。 |
|