I'm running redhat4, which doesn't seem to be made into nightlies for a while.
I checkout the source and upgraded autoconf stuff, as well as downloaded, configured and installed wxWidgets-2.8.4.
However, when I run ./bootstrap for the codeblocks source I get this error:
aclocal:configure.in:89: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:90: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:89: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:90: error: possibly undefined macro: AM_PATH_WXCONFIG
I'd love to use Code::Blocks, so if anyone can help me get it running, either from source or by building a nightly for me, I would very much appreciate it.
Thanks, and let me know if you need more information about my setup.
I checkout the source and upgraded autoconf stuff, as well as downloaded, configured and installed wxWidgets-2.8.4.
However, when I run ./bootstrap for the codeblocks source I get this error:
aclocal:configure.in:89: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:90: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:89: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:90: error: possibly undefined macro: AM_PATH_WXCONFIG
I'd love to use Code::Blocks, so if anyone can help me get it running, either from source or by building a nightly for me, I would very much appreciate it.
Thanks, and let me know if you need more information about my setup.
Lucy.
解决办法:
Copy wxwin.m4 to /usr/share/aclocal folder.

在使用Red Hat 4系统时,遇到Code::Blocks编译源码时报错,提示宏未找到。通过将wxwin.m4文件复制到/usr/share/aclocal目录下,成功解决了此问题。
774

被折叠的 条评论
为什么被折叠?



