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

configure --enable-python doesn't check for availability of swig

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.8.0
    • Fix Version/s: WT2.9.0, 3.2.10, 3.3.11
    • Component/s: None
    • Labels:

      Description

      To build wiredtiger with python support swig is one of the dependencies.
      configure script at the moment doesn't check for the swig's availability.

      Build eventually fails with the following error if swig is unavailable:

      make[2]: Entering directory '/home/sulabh/work/wt2319/build_posix/lang/python'
      (cd ../../../lang/python && \
      -python -threads -O -Wall -nodefaultctor -nodefaultdtor -I/home/sulabh/work/wt2319/build_posix wiredtiger.i && \
      mv wiredtiger.py wiredtiger/_init_.py)
      /bin/bash: line 1: -python: command not found

      This ticket tracks improvements required to the configure script.
      Script should check for swig's availability in case --enable-python flag is passed, and fail if not found.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sulabh.mahajan Sulabh Mahajan
              Reporter:
              sulabh.mahajan Sulabh Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: