notmuch/INSTALL
Carl Worth 21a92c6cce INSTALL: Add a pointer to ./configure --help
We have some good documentation in ./configure --help, so we should
direct users to it.
2010-03-09 12:13:32 -08:00

83 lines
2.4 KiB
Text

Build and install instructions for Notmuch.
Compilation commands
--------------------
The process for compiling and installing Notmuch is the very standard
sequence of:
./configure
make
sudo make install
In fact, if you don't plan to pass any arguments to the configure
script, then you can skip that step and just start with "make", (which
will call configure for you). See this command:
./configure --help
for detailed documentation of the things you can control at the
configure stage.
notmuch.el installation
-----------------------
Installing the notmuch.el emacs lisp function systemwide:
sudo make install-emacs
Each user needs to add (require 'notmuch) in his ~/.emacs to make it
available and then start emacs running notmuch with "emacs -f notmuch"
or start notmuch from within emacs with "M-x notmuch".
Dependencies
------------
Notmuch depends on three libraries: Xapian, GMime 2.4, and Talloc
which are each described below:
Xapian
------
Xapian is the search-engine library underlying Notmuch.
It provides all the real machinery of indexing and searching,
(including the very nice parsing of the query string).
Xapian is available from http://xapian.org
After installing Xapian, please ensure that you have a command
named "xapian-config" on your $PATH as notmuch expects. (At
least one notmuch user found that Xapian installed the config
program to /usr/local/bin/xapian-config-1.1 ).
GMime 2.4
---------
GMime 2.4 provides decoding of MIME email messages for Notmuch.
Without GMime, Notmuch would not be able to extract and index
the actual text from email message encoded as BASE64, etc.
GMime 2.4 is available from http://spruce.sourceforge.net/gmime/
Talloc
------
Talloc is a memory-pool allocator used by Notmuch.
Talloc is an extremely lightweight and easy-to-use tool for
allocating memory in a hierarchical fashion and then freeing
it with a single call of the top-level handle. Using it has
made development of Notmuch much easier and much less prone to
memory leaks.
Talloc is available from http://talloc.samba.org/
On a modern, package-based operating system such as Debian, you can
install all of the dependencies with the following simple command
line:
sudo apt-get install libxapian-dev libgmime-2.4-dev libtalloc-dev
On other systems, a similar command can be used, but the details of
the package names may be different, (such as "devel" in place of
"dev").