Remove debugging leftover
[llpp.git] / BUILDING
blobc97d940dec32eea177be92bee5a021dcc73e56a8
1 MuPDF[1] rendering library is used to do the actual work, so it needs
2 to be built and installed to use llpp, MuPDF's README[2] describes how
3 to build it and lists its dependencies. Snapshots of MuPDF itself can
4 be found here[3], dependencies here[4]
6 llpp also depends on OCaml[5] and lablGL[6], having a C compiler
7 wouldn't hurt either.
9 To build llpp "the easy way" one can invoke `sh buildall.sh' which
10 will first attempt to automatically fetch openjpeg, jbig2dec, mupdf
11 and build them then, if everything goes fine it will proceed building
12 llpp itself. Note that OCaml should still be installed separately.
14 Otherwise, provided that all prereqs are already built, one should
15 invoke `sh build.sh' from the top of llpp's directory, prior to that
16 it's advisable to review build.sh so that it matches local mupdf
17 installation (or lack thereof)
19 If everything goes fine llpp binary will appear, it can be used like so:
21 $ ./llpp /path/to/some.pdf
23 [1] http://www.mupdf.com
24 [2] http://mupdf.com/repos/mupdf/README
25 [3] http://mupdf.com/download/snapshots/
26 [4] http://mupdf.com/download/source/mupdf-thirdparty.zip
27 [5] http://caml.inria.fr/
28 [6] http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html