|
|
我用的是Mandriva,上面有自带的wxGTK2.6(是rpm包,非源文件),装了之后用rpm -ql wxGTK2.6居然找不到,但在软件管理器里却显示已安装,(我要装xchm才想装GTK2的).
所以只好下了个wxGTK2.4(源码包),放到/usr/local下解压缩,在/usr/local/wxGTK-2.4.2下./configure --with-gtk
....................
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
因为找不到tk-config script,配置不成功,问题是安装这个之前还要装什么?
还是我的解压路径不对呢?装了两天了,还是没装好,所以不得已发帖求助. |
|