Compiling id3lib with recent gcc versions (2010-06-29)
Recoll uses a program installed by the id3lib package for indexing mp3 files. Id3lib has not been updated for some time and will not compile with gcc versions after 4.4 because of gcc incompatibilities.
Here is a minuscule patch to help compiling id3lib. To use it:
- Download the patch (right-click the link and use 'Save As').
- Extract the id3 lib source (tar xvzf id3lib-3.8.3.tar.gz).
- Change your current directory to the top of the id3lib source
tree and apply the patch:
cd id3lib-3.8.3
patch -p1 < /path/to/the/saved/patch - Run autoconf (you may have to install it, but your package manager can certainly do it for you).
- Run make and make install.