[Xapian-discuss] Xapian 1.2.4 released

Tim Brody tdb2 at ecs.soton.ac.uk
Tue Jan 18 14:47:38 GMT 2011


On Tue, 2010-12-21 at 01:40 +1300, Olly Betts wrote:
> I've uploaded Xapian 1.2.4 (including Search::Xapian 1.2.4.0).

I've tried compiling this on RHEL5 and get this for xapian-omega:
diritor.cc: In member function 'std::string
DirectoryIterator::get_magic_mimetype()':
diritor.cc:104: error: 'MAGIC_MIME_TYPE' was not declared in this scope
make[2]: *** [diritor.o] Error 1

rpm -qf /usr/include/magic.h
file-4.17-15.el5_3.1

/usr/include/magic.h:
#define MAGIC_NONE              0x000   /* No flags */
#define MAGIC_DEBUG             0x001   /* Turn on debugging */
#define MAGIC_SYMLINK           0x002   /* Follow symlinks */
#define MAGIC_COMPRESS          0x004   /* Check inside compressed files
*/
#define MAGIC_DEVICES           0x008   /* Look at the contents of
devices */
#define MAGIC_MIME              0x010   /* Return a mime string */
#define MAGIC_CONTINUE          0x020   /* Return all matches */
#define MAGIC_CHECK             0x040   /* Print warnings to stderr */
#define MAGIC_PRESERVE_ATIME    0x080   /* Restore access time on exit
*/
#define MAGIC_RAW               0x100   /* Don't translate unprintable
chars */
#define MAGIC_ERROR             0x200   /* Handle ENOENT etc as real
errors */

/Tim.




More information about the Xapian-discuss mailing list