Compiling recoll under Slackware 13

The Recoll program is a free and fast text indexer, that allows you to search for text in all the files present in your /home directory. It can be essentially compared to tools such as the Google Desktop.

Compiling recoll under Slackware is extremely easy, thanks to the excellent instructions that are provided on the recoll web site.

Essentially, compiling recoll under Slackware is a two-step process:

  1. Compile xapian-core, which is the only dependency of recoll.
  2. Compile recoll itself.

That's it!

All the other dependencies of recoll (QT, zlib, X11, etc) are all already present under Slackware, which greatly simplifies the compilation.

And without further delay:

1. Compiling xapian-core:

As simple as 1-2-3:

bash-3.1$ tar xvzf xapian-core-1.2.7.tar.gz
bash-3.1$ cd xapian-core-1.2.7
bash-3.1$ ./configure
bash-3.1$ make
bash-3.1$ sudo make install
bash-3.1$ sudo ldconfig

Once you have entered all the instructions above, a working copy of xapian-core should be installed on your Slackware system.

2. Compiling recoll:

Again, very simple:

bash-3.1$ tar xvzf recoll-1.16.0.tar.gz
bash-3.1$ cd recoll-1.16.0
bash-3.1$ ./configure
bash-3.1$ make 
bash-3.1$ sudo make install

You should now have a copy of recoll installed under Slackware, in the directory /usr/local/bin:

bash-3.1$ which recoll

You can now start recoll and bask in its indexing goodness!

So, is it worth it?

Well, yes and no - I like the theory of it, but recoll has proved to quite crashy on my Slackware machine. I am trying to solve these issues right now with the recoll programmer(s), so I may update this page soon...

On the other hand... Wow! This thing is FAST!! Any search in recoll is literally done in less than a second, on a machine which, while good, in definitely not top of the line by today's standards (AMD64 x2 cores and 1.5 GB of RAM). I mean, this thing is amazingly fast and returns results that *are* relevant to what you are looking for. So, yes, this one is a keeper. Here is another screenshot:

UPDATE Forget everything that was said above: the latest version of recoll (which is version 1.16.1) is now perfectly stable. This program is a great find and definitely something to consider if you have to index and search through a large number of files. Highly recommended!

UPDATE 2 To compile recoll 1.17.2 under Slackware 13.0, make sure you configure like this: ./configure --disable-webkit in order to avoid some minor compilation problems.

See Also: