You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Lucene++
3
3
4
4
Welcome to lucene++ version **3.0.3**.
5
5
6
-
Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
6
+
Lucene++ is an up to date C++ port of the popular Java `Lucene<http://lucene.apache.org/>`_ library, a high-performance, full-featured text search engine.
7
7
8
8
9
9
Components
@@ -27,7 +27,7 @@ Official `Java Lucene <http://lucene.apache.org/java/docs/index.html>`_ - useful
27
27
Build Instructions using CMake
28
28
------------------------------
29
29
30
-
You'll need boost installed somewhere.
30
+
You'll need the `Boost <http://www.boost.org>`_ libraries installed somewhere.
31
31
32
32
On Debian systems, the following packages are required:
33
33
@@ -38,6 +38,24 @@ On Debian systems, the following packages are required:
38
38
- libboost-iostreams-dev
39
39
- libboost-test-dev
40
40
41
+
.. note::
42
+
43
+
At present, you must use Boost 1.49 or older. There is an incompatibility
44
+
to Boost 1.50 and newer that causes ``make`` to fail. See `issue #30`__.
To build the library the following commands should be issued::
49
+
50
+
$ cmake .
51
+
$ make
52
+
$ make install
53
+
54
+
To build the demo programs, execute the following after having first built
55
+
the library::
56
+
57
+
$ make indexfiles searchfiles deletefiles
58
+
41
59
42
60
Build Instructions using Waf
43
61
------------------------------
@@ -60,19 +78,19 @@ Additionally static builds of the following libraries are required for a success
60
78
- boost::iostreams
61
79
- boost::unit_test_framework
62
80
63
-
The libraries and headers should be made available at a standard prefix (/usr/local for example).
81
+
The libraries and headers should be made available at a standard prefix (``/usr/local`` for example).
64
82
65
83
66
84
Build Instructions for Windows systems
67
85
--------------------------------------
68
86
69
87
Open solution lucene++.sln located in the *msvc* folder into Visual Studio 2008 and build.
70
88
71
-
**Note: "BOOST_ROOT" environment variable must be defined to point to the boost library directory (eg. c:\\boost_1_44_0)**
89
+
**Note: "BOOST_ROOT" environment variable must be defined to point to the Boost library directory (eg. c:\\boost_1_44_0)**
72
90
73
-
You'll need boost installed.
91
+
You'll need Boost installed.
74
92
75
-
`BoostPro <http://www.boostpro.com>`_ has some precompiled windows packages. You'll need the following extras installed::
93
+
`BoostPro <http://www.boostpro.com>`_ has some precompiled Windows packages. You'll need the following extras installed::
76
94
77
95
- boost::system
78
96
- boost::thread
@@ -86,9 +104,9 @@ You'll need boost installed.
86
104
Building Performance
87
105
--------------------
88
106
89
-
Use of ccache will speed up build times a lot. I found it easiest to add the /usr/lib/ccache directory to the beginning of your paths. This works for most common compilers.
107
+
Use of ccache will speed up build times a lot. I found it easiest to add the ``/usr/lib/ccache`` directory to the beginning of your paths. This works for most common compilers::
0 commit comments