有一个任务是在关闭的情况下用 C++ 构建 clucene 库。地点:
http://clucene.sourceforge.net/
说明说要使用库构建系统 - GNU autotools。简要说明:
Requirements:
GNU autotools is required. I have the following versions installed:
Autoconf 2.57
Automake 1.72
Libtool 1.5a
If you use significantly older versions, I can almost guarantee
issues. This is because each of the autotools is constantly changing
with little regard to backward compatability or even compatiability
with the other autotools.
Run the autogen.sh file in the root directory of clucene to run the necessary commands.
Building
The following will get you building assuming that you have suffciently
recent buld tools installed.
1.) unpack tarball
2.) cd into clucene
3.) if you downloaded a tar version skip to 5
4.) run ./autogen.sh
5.) run ./configure
6.) run make
7.) things will churn for a very long time, the clucene library will
be built as well as the examples.
8.) check the src/demo, test and src directory
完整的说明是这里的说明:
https://ru.stackoverflow.com/questions/1328068/qt-%d0%9a%d0%b0%d0%ba-%d0%b4%d0%be%d0%b1%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%b1%d0%b8%d0%b1%d0%bb%d0%b8%d0%be%d1%82%d0%b5%d0%ba%d1%83-clucene-%d0%b2-%d1%81%d0%b2%d0%be%d1%8e%d0%b9-%d0%bf%d1%80%d0%be%d0%b5%d0%ba%d1%82?noredirect=1#comment2348000_1328068
以前,我没有机会使用 autotools,我阅读并查看了这个构建系统,但所有文档都归结为 Linux,而我有 Windows。
您能告诉我如何在 Windows 下安装用于构建 autotools 库的系统吗?提前致谢。
安装 MingW 或 Cygwin:http ://cygwin.com/install.html
您可以选择要安装的软件包。