1 Welcome to Xapian's Learning to Rank Framework
2 ==============================================
4 Xapian's build system is built using GNU autoconf, automake, and libtool.
5 If you've installed other Open Source projects from source, you should
6 find yourself in familiar territory. Building and installing involves
7 the following 3 simple steps:
9 1) Run "./configure", possibly with some extra arguments
10 2) Run "make" to build Xapian
11 3) Run "make install" to install Xapian
16 You'll need to install the following prerequisites before you can
19 * xapian-core: We recommend using matching versions of xapian-core and
20 xapian-letor. If you install xapian-core from a package, make sure you
21 also install the development files which are often packaged separately
22 (e.g. in libxapian-dev or xapian-core-devel).
24 * libsvm (http://www.csie.ntu.edu.tw/~cjlin/libsvm/): We developed
25 xapian-letor using libsvm version 3.1, but we've also tested with 3.0
26 and that seems to work fine too.
28 If you install libsvm from a package system, make sure you have the
29 headers and other files needed to actually build code that uses libsvm
30 (not just the runtime libraries) - if you have /usr/include/libsvm/svm.h
31 then you are probably good. Often these files are in a separate
32 package, which is probably named something like libsvm-dev or
35 On Mac OS X, if you installed libsvm using homebrew but got the following
36 error when running the configure script:
38 configure: error: libsvm required but libsvm/svm.h not found
40 Suppose you are using libsvm 3.17, you can type the following into terminal
41 and rerun the configure script:
43 ln -s /usr/local/Cellar/libsvm/3.17/include/ /usr/local/include/libsvm