"Found 25944 total files (that's not much mail)"
Actually, I think you'll find it is
Processed 25944 total files in 1h 50m 39s (3 files/sec.).
See, told you so
Ok, so my ageing 1GHz G4 was never going to be the quickest at indexing all those emails. However, the fab thing is that it could. As far as I can recall I had no trouble building notmuch mail at all, which always comes as a nice suprise on PPC architecture and an OS that is now mostly forgotten.
- First of all I needed to install Term-ReadLine-Gnu for Perl. This is mentioned in the README, but for those of you who don't read READMEs properly, like me, it is easy to miss (and not understand the resultant error).
- The verison of
xargswhich ships with OSX 10.5 is too old it seems as it doesn't support the
--no-run-if-emptyoption. So I installed findutils via macports for a more recent version, but it gets called
- The next problem is with the version of
lnthat ships with OSX as it doesn't have the
-ttarget directory option. Installing coreutils via macports gets you
- I then just edited the notmuch-mutt script to use these macports versions.
All of this may be incredibly obvious and easy, but it took me weeks to figure out each little bit because of limited debugging time and so I'm bloody well writing it down so I remember for next time.
The good news is that once that massive amount of indexing was done, incremental indexing is fine and searching is really amazingly fast (even on a Powerbook). Mutt plus Notmuch is a great combination.