database version conflict

Sepp Tannhuber sepp.tannhuber at yahoo.de
Thu Oct 16 10:07:22 PDT 2014


David Bremner <david at tethera.net> schrieb am 18:10 Donnerstag, 16.Oktober 2014:


> If you're running a pre-release version of notmuch, then you should also
> get the libraries and python bindings from the same version of the
> source. In particular the python bindings from git look for libnotmuch4



I don't know what I have to do now. /usr/local/lib/libnotmuch.so.4 is already
there. I've also made
  easy_install notmuch

But if I remove the python-notmuch and libnotmuch3 packages with debian's 
uninstaller, alot doesn't start anymore:
Traceback (most recent call last):
  File "/usr/local/bin/alot", line 19, in <module>
    from alot.init import main
  File "/usr/local/lib/python2.7/dist-packages/alot/init.py", line 11, in <module>
    from alot.db.manager import DBManager
  File "/usr/local/lib/python2.7/dist-packages/alot/db/__init__.py", line 5, in <module>
    from thread import Thread
  File "/usr/local/lib/python2.7/dist-packages/alot/db/thread.py", line 6, in <module>
    from message import Message
  File "/usr/local/lib/python2.7/dist-packages/alot/db/message.py", line 8, in <module>
    from notmuch import NullPointerError
  File "/usr/local/lib/python2.7/dist-packages/notmuch-0.15.2-py2.7.egg/notmuch/__init__.py", line 54, in <module>
    from .database import Database
  File "/usr/local/lib/python2.7/dist-packages/notmuch-0.15.2-py2.7.egg/notmuch/database.py", line 24, in <module>
    from .globals import (
  File "/usr/local/lib/python2.7/dist-packages/notmuch-0.15.2-py2.7.egg/notmuch/globals.py", line 27, in <module>
    raise ImportError("Could not find shared 'notmuch' library.")
ImportError: Could not find shared 'notmuch' library.

So my next question is how to install python-notmuch from source instead of debian's
installer.


More information about the notmuch mailing list