LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2004-6-5 21:09:26 | 显示全部楼层 |阅读模式
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?
发表于 2005-7-14 13:08:49 | 显示全部楼层
我的/usr/local/bin里有wx-config但是还是出现上述问题,请问怎么办啊?
回复 支持 反对

使用道具 举报

发表于 2005-7-14 13:11:52 | 显示全部楼层
把ls -l /usr/local/bin/wx-config的结果贴出来,这是个软链接。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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