Skip to content

Instantly share code, notes, and snippets.

@xtat
Created June 12, 2010 15:28
Show Gist options
  • Save xtat/435810 to your computer and use it in GitHub Desktop.
Save xtat/435810 to your computer and use it in GitHub Desktop.
lolz% ./configure
Welcome to Notmuch, a system for indexing, searching and tagging your email.
We hope that the process of building and installing notmuch is quick
and smooth so that you can soon be reading and processing your email
more efficiently than ever.
If anything goes wrong in the configure process, you can override any
decisions it makes by manually editing the Makefile.config file that
it creates. Also please do as much as you can to figure out what could
be different on your machine compared to those of the notmuch
developers. Then, please email those details to the Notmuch list
(notmuch@notmuchmail.org) so that we can hopefully make future
versions of notmuch easier for you to use.
We'll now investigate your system to verify that all required
dependencies are available:
Checking for Xapian development files... No.
Checking for GMime development files... No.
Checking for talloc development files... No.
Checking for valgrind development files... No (but that's fine).
Checking if emacs is available... Yes.
Checking which platform we are on... Linux
Checking /usr/local/lib compared to /usr/local/lib
Checking /lib compared to /usr/local/lib
Checking /usr/lib compared to /usr/local/lib
*** Error: The dependencies of notmuch could not be satisfied. You will
need to install the following packages before being able to compile
notmuch:
Xapian library (including development files such as headers)
http://xapian.org/
GMime 2.4 library (including development files such as headers)
http://spruce.sourceforge.net/gmime/
The talloc library (including development files such as headers)
http://talloc.samba.org/
With any luck, you're using a modern, package-based operating system
that has all of these packages available in the distribution. In that
case a simple command will install everything you need. For example:
On Debian and similar systems:
sudo apt-get install libxapian-dev libgmime-2.4-dev libtalloc-dev
Or on Fedora and similar systems:
sudo yum install xapian-core-devel gmime-devel libtalloc-devel
On other systems, similar commands can be used, but the details of the
package names may be different.
Note: the pkg-config program is not available. This configure script
uses pkg-config to find the compilation flags required to link against
the various libraries needed by notmuch. It's possible you simply need
to install pkg-config with a command such as:
sudo apt-get install pkg-config
Or:
sudo yum install pkgconfig
But if pkg-config is not available for your system, then you will need
to modify the configure script to manually set the cflags and ldflags
variables to the correct values to link against each library in each
case that pkg-config could not be used to determine those values.
When you have installed the necessary dependencies, you can run
configure again to ensure the packages can be found, or simply run
"make" to compile notmuch.
lolz%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment