|
楼主 |
发表于 2006-1-7 23:30:56
|
显示全部楼层
我想安装公社上那个在线看电视节目的sopcast-0.2.2。
./configure
结果如下
......
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
执行下面几条命令,结果如下
[root@lxy-xjtu sopcast-0.2.2]# pkg-config gtk+-2.0 --version
0.19
[root@lxy-xjtu sopcast-0.2.2]# pkg-config --list-all
gswitchit GSwitchIt - GSwitchIt shared library (for plugin development)
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
gdkmm-2.0 GDKmm - C++ wrappers for GLib, GTK+, and Pango
pango Pango - Internationalized text handling
Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'cairo', not found
[root@lxy-xjtu sopcast-0.2.2]# urpmi libgtk+2.0_0-devel
软件包已经安装
[root@lxy-xjtu sopcast-0.2.2]# rpm -ql libgtk+2.0_0-devel | grep /usr/lib
/usr/lib/gtk-2.0/include
/usr/lib/gtk-2.0/include/gdkconfig.h
/usr/lib/libgdk-x11-2.0.la
/usr/lib/libgdk-x11-2.0.so
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgtk-x11-2.0.so
/usr/lib/pkgconfig/gdk-2.0.pc
/usr/lib/pkgconfig/gdk-x11-2.0.pc
/usr/lib/pkgconfig/gtk+-2.0.pc
/usr/lib/pkgconfig/gtk+-x11-2.0.pc
是不是要设置一个什么变量? |
|