Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9844

Update WT build docs to include python3-dev and swig

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.1.0, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      AWS Ubuntu
    • Storage Engines
    • 2
    • Storage Engines - 2022-09-19, Storage Engines - 2022-10-03, Storage Engines - 2022-10-17

      I'm trying to build WiredTiger using the instructions on your web site, and failing. I assume there's some package I'm missing, can you please tell me what it is?

       

      ~ {231} git clone --quiet https://github.com/wiredtiger/wiredtiger.git wiredtiger
      ~ {232} cd wiredtiger
      /home/ubuntu/wiredtiger
      wiredtiger {233} mkdir build
      wiredtiger {234} cd build
      /home/ubuntu/wiredtiger/build
      build {235} cmake ../.
      -- The C compiler identification is GNU 11.2.0
      -- The CXX compiler identification is GNU 11.2.0
      -- The ASM compiler identification is GNU
      -- Found assembler: /usr/bin/cc
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS
      -- Performing Test HAVE_BUILD_MODE_C_FLAGS - Success
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS
      -- Performing Test HAVE_BUILD_MODE_CXX_FLAGS - Success
      -- Looking for x86intrin.h
      -- Looking for x86intrin.h - found
      -- 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 size_t
      -- Check size of size_t - done
      -- Looking for include file sys/types.h
      -- Looking for include file sys/types.h - found
      -- Looking for include file inttypes.h
      -- Looking for include file inttypes.h - found
      -- Looking for include file stdarg.h
      -- Looking for include file stdarg.h - found
      -- Looking for include file stdbool.h
      -- Looking for include file stdbool.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 file stdio.h
      -- Looking for include file stdio.h - found
      -- Looking for include file strings.h
      -- Looking for include file strings.h - found
      -- Looking for include file string.h
      -- Looking for include file string.h - found
      -- Looking for include file sys/stat.h
      -- Looking for include file sys/stat.h - found
      -- Looking for include file unistd.h
      -- Looking for include file unistd.h - found
      -- Looking for include file x86intrin.h
      -- Looking for include file x86intrin.h - found
      -- Looking for include file dlfcn.h
      -- Looking for include file dlfcn.h - found
      -- Looking for include file memory.h
      -- Looking for include file memory.h - found
      -- Looking for clock_gettime
      -- Looking for clock_gettime - found
      -- Looking for fallocate
      -- Looking for fallocate - found
      -- Looking for fdatasync
      -- Looking for fdatasync - found
      -- Looking for ftruncate
      -- Looking for ftruncate - found
      -- Looking for gettimeofday
      -- Looking for gettimeofday - found
      -- Looking for posix_fadvise
      -- Looking for posix_fadvise - found
      -- Looking for posix_fallocate
      -- Looking for posix_fallocate - found
      -- Looking for posix_madvise
      -- Looking for posix_madvise - found
      -- Looking for posix_memalign
      -- Looking for posix_memalign - found
      -- Looking for setrlimit
      -- Looking for setrlimit - found
      -- Looking for strtouq
      -- Looking for strtouq - found
      -- Looking for sync_file_range
      -- Looking for sync_file_range - found
      -- Looking for timer_create
      -- Looking for timer_create - found
      -- Looking for library memkind
      -- Looking for library memkind: NOT found
      -- Looking for library pthread
      -- Looking for library pthread: found /usr/lib/x86_64-linux-gnu/libpthread.a
      -- Looking for library rt
      -- Looking for library rt: found /usr/lib/x86_64-linux-gnu/librt.a
      -- Looking for library dl
      -- Looking for library dl: found /usr/lib/x86_64-linux-gnu/libdl.a
      -- Looking for library lz4
      -- Looking for library lz4: NOT found
      -- Looking for library snappy
      -- Looking for library snappy: found /usr/lib/x86_64-linux-gnu/libsnappy.so, include path /usr/include
      -- Looking for library z
      -- Looking for library z: NOT found
      -- Looking for library zstd
      -- Looking for library zstd: NOT found
      -- Looking for library sodium
      -- Looking for library sodium: NOT found
      -- Looking for library tcmalloc
      -- Looking for library tcmalloc: NOT found
      CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development
        Development.Module Development.Embed) (found version "3.10.4")
      Call Stack (most recent call first):
        /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
        /usr/share/cmake-3.22/Modules/FindPython/Support.cmake:3180 (find_package_handle_standard_args)
        /usr/share/cmake-3.22/Modules/FindPython3.cmake:490 (include)
        cmake/helpers.cmake:675 (find_package)
        cmake/configs/base.cmake:24 (source_python3_package)
        CMakeLists.txt:47 (include)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/home/ubuntu/wiredtiger/build/CMakeFiles/CMakeOutput.log".
      build {236} 
      
      

            Assignee:
            jie.chen@mongodb.com Jie Chen
            Reporter:
            keith@bostic.com Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: