wiki:SupportedPlatforms/1.2

The 1.2 release series was retired in 2017, so the information here is now for historical interest only.

The executive summary is that, provided you have a compiler with decent ISO C++ support, Xapian should work on modern Unix or Unix-like platforms, Microsoft Windows, and OS/2.

In particular, 64 bit platforms are well supported (we do a lot of development work on x86-64 Linux), as are both big and little endian platforms.

However we don't regularly test on all possible platform and compiler combinations, so regressions in support are possible. If you hit a problem, please open a ticket with details.

Compilers

The only tested compiler we've failed to build with so far is Compaq C++ (on Tru64, HPUX, and Linux). Older versions of the compiler simply seem to lack sufficient support for C++ templates and this testcase fails to compile:

#include <xapian/base.h>

class Query {
    class Internal;
    Xapian::Internal::RefCntPtr<Internal> internal;
    template <class SubQ> Query(SubQ q) : internal(0) { } 
};

This compiles with Compaq C++ 7.1, but the build now fails to link a binary.

If you're using GCC, 3.1 is the minimum supported version for Xapian 1.2 and later, but you may need a newer version to get good compiler backend support for some architectures (e.g. 3.3 on ARM).

Recent versions of clang work too (older versions didn't support C++ well).

On Microsoft Windows, you can build using Cygwin or Mingw GCC, or with MSVC.

On OS/2, EMX GCC should work.

Reports

Adding Entries

If you try a platform not listed here (or try a newer version on a listed platform) we'd love to hear - please at least include the OS version (e.g. output from "uname -a"), compiler and version (e.g. output from g++ -v), and any switches you passed to configure. Please also run "make check" and tell us if any tests fail.

We've removed reports prior to 1.2.0 - so much has changed since then that they no longer provide useful information.

1.2.x

Arch Platform Compiler VersionStatusSourceNotes / requirements
alpha Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd.debian-ports.org
armel Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd
armhf Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd
hppa Linux Debian sid GCC 4.4.5 1.2.4 Passed buildd
ia64 Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd
m68k Linux Debian sid GCC 4.8.1 1.2.15 Passed buildd.debian-ports.org
mips Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd
mipsel Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd
powerpc Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd
powerpcspeLinux Debian sid GCC 4.6.4 1.2.15 Passed buildd.debian-ports.org
ppc64 Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd.debian-ports.org
ppc64 Linux Fedora 18 GCC 4.7.2 1.2.16 Passed builtbot (gcc compile farm gcc110)
s390 Linux Debian sid GCC 4.6.3 1.2.10 Passed buildd
s390x Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd
sh4 Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd.debian-ports.org
sparc Linux Debian sid GCC 4.6.4 1.2.15 Passed buildd
sparc Solaris 10 GCC 4.7.0 1.2.10 Passed opencsw
sparc Solaris 10 Sun C++ 5.9 1.2.3 Passed opencsw1.2.3 needs patches for core, omega; xapian-core needs: gmake LIBS=-lm
sparc64 Linux Debian sid GCC 4.6.3 1.2.15 Passed buildd.debian-ports.org
x86 Linux Debian sid GCC 4.7.3 1.2.15 Passed buildd
x86 Linux Ubuntu 8.04 (hardy) GCC 4.2.3 1.2.2 Passed ppa
x86 Linux Ubuntu 9.04 (jaunty) GCC 4.3.3 1.2.2 Passed ppa
x86 Linux Ubuntu 9.10 (karmic) GCC 4.4.1 1.2.2 Passed ppa
x86 Linux Ubuntu 10.04 (lucid) GCC 4.4.3 1.2.7 Passed ppa
x86 Linux Ubuntu 10.10 (maverick)GCC 4.4.51.2.7 Passed ppa
x86 Linux Ubuntu 11.04 (natty) GCC 4.5.2 1.2.7 Passed ppa
x86 Linux Ubuntu 11.10 (oneiric)GCC 4.6.1 1.2.7 Passed ppa
x86 Hurd 0.3 Debian sid GCC 4.7.3 1.2.15 Passed buildd
x86 kFreeBSD 8.1 Debian GCC 4.6.1 1.2.7 Passed buildd
x86 kFreeBSD 9.0 Debian GCC 4.7.3 1.2.15 Passed buildd
x86_64 Linux Debian 7.2 clang 3.0 1.2.16 Passed buildbot
x86_64 Linux Debian 7.2 GCC 4.7.2 1.2.16 Passed buildbot
x86_64 Linux Debian 6.0 (squeeze) GCC 4.4.5 1.2.4 Passed email Non-default packages required: g++, g++-4.4, libpcre3-dev, uuid-dev, uuid-runtime, zlib1g-dev
x86_64 Linux Debian sid x32 GCC 4.7.3 1.2.15 Passed buildd.debian-ports.org
x86_64 Linux Debian 5.0 GCC 4.3.2 1.2.7 Passed (atreus)
x86_64 Linux Debian sid GCC 4.7.2 1.2.15 Passed buildd
x86_64 Linux Ubuntu 8.04 (hardy) GCC 4.2.3 1.2.2 Passed ppa
x86_64 Linux Ubuntu 9.04 (jaunty) GCC 4.3.3 1.2.2 Passed ppa
x86_64 Linux Ubuntu 9.10 (karmic) GCC 4.4.1 1.2.2 Passed ppa
x86_64 Linux Ubuntu 10.04 (lucid) GCC 4.4.3 1.2.7 Passed ppa
x86_64 Linux Ubuntu 10.10 (maverick)GCC 4.4.5 1.2.7 Passed ppa
x86_64 Linux Ubuntu 11.04 (natty) GCC 4.5.2 1.2.7 Passed ppa
x86_64 Linux Ubuntu 11.10 (oneiric)GCC 4.6.1 1.2.7 Passed ppa
x86_64 kFreeBSD 8.1 Debian GCC 4.7.0 1.2.10 Passed buildd
x86_64 kFreeBSD 9.0 Debian GCC 4.7.3 1.2.15 Passed buildd
x86_64 Mac OS X 10.6 GCC 4.2.1 1.2.5 Passed
Last modified 7 months ago Last modified on 10/01/19 19:09:56