Here is my cmake output: -- The C compiler identification is GNU 4.9.0 -- The CXX compiler identification is Clang 3.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for include file unicode/coll.h -- Looking for include file unicode/coll.h - not found -- Looking for include file iconv.h -- Looking for include file iconv.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include files sys/param.h, sys/mount.h -- Looking for include files sys/param.h, sys/mount.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file tzfile.h -- Looking for include file tzfile.h - not found -- Looking for include file unicode/ustring.h -- Looking for include file unicode/ustring.h - found -- Looking for include file unicode/utypes.h -- Looking for include file unicode/utypes.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for C++ include FlexLexer.h -- Looking for C++ include FlexLexer.h - found -- Looking for include file uuid/uuid.h -- Looking for include file uuid/uuid.h - found -- Looking for strtof -- Looking for strtof - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for _stricmp -- Looking for _stricmp - not found -- Looking for strcat_s -- Looking for strcat_s - not found -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_mutex_init -- Looking for pthread_mutex_init - found -- Looking for getrusage -- Looking for getrusage - found -- Check size of int32_t -- Check size of int32_t - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of unsigned __int32 -- Check size of unsigned __int32 - failed -- Check size of __int32 -- Check size of __int32 - failed -- Check size of int64_t -- Check size of int64_t - done -- Performing Test ZORBA_HAVE_STRUCT_TM_TM_GMTOFF -- Performing Test ZORBA_HAVE_STRUCT_TM_TM_GMTOFF - Success -- Performing Test ZORBA_HAVE_STRUCT_TM___TM_GMTOFF -- Performing Test ZORBA_HAVE_STRUCT_TM___TM_GMTOFF - Failed -- Check size of double -- Check size of double - done -- Check size of float -- Check size of float - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of void* -- Check size of void* - done -- Check size of short -- Check size of short - done -- Check size of size_t -- Check size of size_t - done -- Check size of wchar_t -- Check size of wchar_t - done -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for LibXml2 -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") -- Found LIBXML2 library -- /usr/lib/x86_64-linux-gnu/libxml2.so -- -- Looking for ICU -- Found ICU library -- /usr/lib/x86_64-linux-gnu/libicuuc.so -- ICU Version: 52.1.0 -- Found ICU internationalization library -- /usr/lib/x86_64-linux-gnu/libicui18n.so -- Found ICU data library -- /usr/lib/x86_64-linux-gnu/libicudata.so -- Found ICU library -- /usr/lib/x86_64-linux-gnu/libicuuc.so -- -- Looking for Xerces-C -- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so -- : /usr/include -- -- SWIG was not found. Please specify Swig executable location CMake Warning at CMakeLists.txt:352 (MESSAGE): You need at least SWIG version 1.3.40 -- SWIG not found => no language bindings are generated. -- ZORBA_NATIVE_STORE: ON -- ZORBA_STORE_DIR: /home/pjl/src/28msec/zorba/src/store/naive -- ZORBA_STORE_NAME: simplestore -- ZORBA_BATCHING_TYPE: 0 -- ZORBA_FLOAT_POINT_PRECISION: 18 -- ZORBA_WITH_CODE_COVERAGE: OFF -- ZORBA_WITH_CODE_PROFILE: OFF -- ZORBA_FOR_ONE_THREAD_ONLY: ON -- ZORBA_WITH_FILE_ACCESS [ON/OFF]: ON -- ZORBA_WITH_DEBUGGER [ON/OFF]: ON -- ZORBA_TEST_TIMEOUT_VALUE: 60 -- ZORBA_VERIFY_PEER_SSL_CERTIFICATE: OFF -- ZORBA_WIN_DLL: ON -- ZORBA_EXE: /home/pjl/src/28msec/zorba/build/bin/zorba -- ZORBA_DEBUG_PARSER: OFF -- ZORBA_DEBUG_STRING: ON -- ZORBA_NO_ICU: OFF -- ZORBA_NO_FULL_TEXT: OFF -- ZORBA_NO_XMLSCHEMA: OFF -- ZORBA_WITH_BIG_INTEGER: OFF -- ZORBA_WITH_THESAURUS: ON -- ZORBA_SUPPRESS_SWIG [ON/OFF]: OFF -- ZORBA_XQUERYX: OFF -- ZORBA_TEST_XQUERYX: OFF -- CMAKE_BINARY_DIR: /home/pjl/src/28msec/zorba/build -- CMAKE_SOURCE_DIR: /home/pjl/src/28msec/zorba -- CMAKE_SYSTEM: Linux-3.13.0-27-generic -- CMAKE_SYSTEM_NAME: Linux -- CMAKE_SYSTEM_VERSION: 3.13.0-27-generic -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- UNIX: 1 -- WIN32: -- APPLE: -- MINGW: -- CYGWIN: -- BORLAND: -- MSVC: -- MSVC_IDE: -- MSVC60: -- MSVC70: -- MSVC71: -- MSVC80: -- CMAKE_COMPILER_2005: -- CMAKE_C_FLAGS: -O1 -- CMAKE_CXX_FLAGS: -O1 -- CMAKE_BUILD_TYPE: Debug -- CMAKE_INSTALL_PREFIX: /home/pjl/src/28msec/zorba/build/dist -- BUILD_SHARED_LIBS: -- CMAKE_C_COMPILER: /usr/bin/cc -- CMAKE_CXX_COMPILER: /usr/bin/c++ -- CMAKE_COMPILER_IS_GNUCC: 1 -- CMAKE_COMPILER_IS_GNUCXX: -- CMAKE_AR: /usr/bin/ar -- CMAKE_RANLIB: /usr/bin/ranlib -- CMAKE_BUILD_TOOL = /usr/bin/make -- Detected GNU compiler version Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix (major version Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix) -- GNU Compiler version greater than 4.0.1 -- Looking for uuid_generate in uuid -- Looking for uuid_generate in uuid - found -- Found Xerces 3.1.1 -- /usr/include/usr/lib/x86_64-linux-gnu/libxerces-c.so -- Zorba version number: 3.0.0 -- Performing Test ZORBA_TR1_IN_TR1_SUBDIRECTORY -- Performing Test ZORBA_TR1_IN_TR1_SUBDIRECTORY - Success -- Performing Test ZORBA_TR1_1 -- Performing Test ZORBA_TR1_1 - Failed -- Performing Test ZORBA_TR1_2 -- Performing Test ZORBA_TR1_2 - Success -- Performing Test ZORBA_CXX_NULLPTR -- Performing Test ZORBA_CXX_NULLPTR - Failed -- Performing Test ZORBA_CXX_STATIC_ASSERT -- Performing Test ZORBA_CXX_STATIC_ASSERT - Failed -- Performing Test ZORBA_HAVE_ENABLE_IF -- Performing Test ZORBA_HAVE_ENABLE_IF - Failed -- Performing Test ZORBA_HAVE_IS_SAME -- Performing Test ZORBA_HAVE_IS_SAME - Failed -- Performing Test ZORBA_HAVE_UNIQUE_PTR -- Performing Test ZORBA_HAVE_UNIQUE_PTR - Failed -- Performing Test ZORBA_HAVE_UNORDERED_MAP -- Performing Test ZORBA_HAVE_UNORDERED_MAP - Failed -- Performing Test ZORBA_HAVE_UNORDERED_SET -- Performing Test ZORBA_HAVE_UNORDERED_SET - Failed -- configured /home/pjl/src/28msec/zorba/scripts/create-doc-tar.sh.in -> /home/pjl/src/28msec/zorba/build/scripts/create-doc-tar.sh -- LIBEDIT_INCLUDE-NOTFOUND -- LIBEDIT_LIBRARY-NOTFOUND -- Could NOT find Libedit (missing: LIBEDIT_INCLUDE LIBEDIT_LIBRARY) -- configured /home/pjl/src/28msec/zorba/bin/debugger/config.h.cmake --> /home/pjl/src/28msec/zorba/build/bin/debugger/config.h -- ZORBA_TEST_PLAN_SERIALIZATION: OFF -- ZORBA_TEST_PLAN_SERIALIZATION_EXECUTION_ONLY: OFF -- ZORBA_TEST_PLAN_SERIALIZATION_COMPILE_ONLY: OFF -- Boost_INCLUDE_DIR = -- try _boost_PATH_SUFFIX boost-1.35.0 -- try _boost_PATH_SUFFIX boost-1.35 -- try _boost_PATH_SUFFIX boost-1.34.1 -- try _boost_PATH_SUFFIX boost-1.34.0 -- try _boost_PATH_SUFFIX boost-1.34 -- try _boost_PATH_SUFFIX boost-1.33.1 -- try _boost_PATH_SUFFIX boost-1.33.0 -- try _boost_PATH_SUFFIX boost-1.33 -- look for component filesystem -- found ? Boost_FILESYSTEM_LIBRARY_RELEASE-NOTFOUND -- Boost_INCLUDE_DIRS: Boost_INCLUDE_DIR-NOTFOUND -- Boost_LIBRARIES: -- Boost filesystem or system component not found - not building multithreaded test driver -- Adding API tests for CTest -- Adding iterator plan tests -- Adding tests for CTest -- Looking for cURL -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.35.0") -- Adding another 1000 Tests -- Adding another 1000 Tests -- Adding another 1000 Tests -- Add library ext2.xq -- Add library ext.xq -- Add library link.xq -- Found Java: /usr/bin/java (found version "1.7.0.55") -- Adding unit tests for CTest -- Adding update tests for CTest -- Adding SAX2 tests for CTest -- Add library util-tests.xq -- Looking for cURL -- Found cURL library -- /usr/lib/x86_64-linux-gnu/libcurl.so -- Add library ftp-client.xq -- Add library http-client.xq -- Add library file.xq -- Add library sleep.xq -- Add library zorba-query.xq -- End modules -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Adding test for the C++ API's documentation: doc/cxx/examples/simple.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/sax2.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/errors.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/context.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/serialization.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/chaining.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/external_functions.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/datamanager.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/uri_resolvers.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/execution_plans.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/item_handler.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/callback.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/binary.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/module_import_check.cpp -- Adding test for the C++ API's documentation: doc/cxx/examples/jsoniq.cpp -- configured /home/pjl/src/28msec/zorba/doc/cxx/examples/Makefile.cmake /home/pjl/src/28msec/zorba/build/doc/cxx/examples/Makefile.zorba -- Adding test for the C API's documentation: doc/c/examples/csimple.c -- Adding test for the C API's documentation: doc/c/examples/ccontext.c -- Adding test for the C API's documentation: doc/c/examples/cerror.c -- Adding test for the C API's documentation: doc/c/examples/cparsing.c -- Adding test for the C API's documentation: doc/c/examples/cexternal_functions.c -- Adding test for the C API's documentation: doc/c/examples/cserialization.c -- Adding test for the C API's documentation: doc/c/examples/csequences.c -- configured /home/pjl/src/28msec/zorba/include/zorba/config.h.cmake -->/home/pjl/src/28msec/zorba/build/include/zorba/config.h -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/accessors -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/any_uri -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/base64 -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/booleans -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/collections -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/context -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/csv -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/datetime -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/dctx -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/debug -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/durations_dates_times -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/errors_and_diagnostics -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/fetch -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/fnput -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/full_text -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/hof -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/indexing -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/item -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/json -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/jsound -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/maths -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/nodes -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/numerics -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/parsing_and_serializing -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/qnames -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/random -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/reference -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/schema -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/sctx -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/seq -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/sequences -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/store -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/strings -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/uris -- created directory /home/pjl/src/28msec/zorba/build/src/runtime/xqdoc -- Looking for bison -- Found bison -- /home/pjl/local/bin/bison, version: 2.6 -- Looking for flex -- Found flex -- /usr/bin/flex, version: 2.5.35 -- Bison: 2.6 > 2.4 -- Bison: 2.6 < 3.0 -- Flex: 2.5.35 == 2.5.35 -- configured /home/pjl/src/28msec/zorba/src/compiler/parser/copyparser.sh.cmake -->/home/pjl/src/28msec/zorba/build/copyparser.sh -- configured /home/pjl/src/28msec/zorba/src/context/root_static_context_init.cpp.in => /home/pjl/src/28msec/zorba/build/src/context/root_static_context_init.cpp -- Performing Test _works -- Performing Test _works - Success -- PRECOMPILED HEADERS: OFF -- processing store dir /home/pjl/src/28msec/zorba/src/store/naive with name simplestore -- Creating check_core_uris and check_uris targets -- ADD_XQDOC_TARGETS -- added target xqdoc -- added test test/xqdoc/make_xqdoc -- ADD_XQDOC_TARGETS END -- Configuring done -- Generating done -- Build files have been written to: /home/pjl/src/28msec/zorba/build