Skip to content

Commit d63ba39

Browse files
author
Alan Wright
committed
Merge pull request #34 from bendiken/readme-improvements
Improved the README file's build instructions
2 parents ca102b0 + 21645ed commit d63ba39

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

README.rst

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Lucene++
33

44
Welcome to lucene++ version **3.0.3**.
55

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.
77

88

99
Components
@@ -27,7 +27,7 @@ Official `Java Lucene <http://lucene.apache.org/java/docs/index.html>`_ - useful
2727
Build Instructions using CMake
2828
------------------------------
2929

30-
You'll need boost installed somewhere.
30+
You'll need the `Boost <http://www.boost.org>`_ libraries installed somewhere.
3131

3232
On Debian systems, the following packages are required:
3333

@@ -38,6 +38,24 @@ On Debian systems, the following packages are required:
3838
- libboost-iostreams-dev
3939
- libboost-test-dev
4040

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`__.
45+
46+
__ https://github.com/luceneplusplus/LucenePlusPlus/issues/30
47+
48+
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+
4159

4260
Build Instructions using Waf
4361
------------------------------
@@ -60,19 +78,19 @@ Additionally static builds of the following libraries are required for a success
6078
- boost::iostreams
6179
- boost::unit_test_framework
6280

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).
6482

6583

6684
Build Instructions for Windows systems
6785
--------------------------------------
6886

6987
Open solution lucene++.sln located in the *msvc* folder into Visual Studio 2008 and build.
7088

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)**
7290

73-
You'll need boost installed.
91+
You'll need Boost installed.
7492

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::
7694

7795
- boost::system
7896
- boost::thread
@@ -86,9 +104,9 @@ You'll need boost installed.
86104
Building Performance
87105
--------------------
88106

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::
90108

91-
PATH=/usr/lib/ccache:$PATH
109+
PATH=/usr/lib/ccache:$PATH
92110

93111

94112
To run unit test suite

0 commit comments

Comments
 (0)