LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1244|回复: 1

我已装了 wxbase & wxGTK, wx-config 脚本在哪?xchm的configure脚本需要它

[复制链接]
发表于 2004-6-5 20:59:59 | 显示全部楼层 |阅读模式
In order to install xchm, i must install chmlib and wxbase and wxGTK, I install them all. and I try to run the configure script of xchm. but it can't find wx-config as follows:
[root@localhost xchm-0.9.1]# ./configure
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.

I've search /usr/lib /usr/bin /usr/local/bin, but can't find wx-config. Where is it?
发表于 2004-6-6 03:14:27 | 显示全部楼层
试试wxgtk-config
最好是这样先输入wx然后<tab>看看会出什么东西
如果有wxgtk-config之类的东西的话,就将建立个符号链接为wx-config
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表