Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-3377

Cannot build with zfs if development headers are not in standard directories

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.5.0, Lustre 2.4.2
    • Lustre 2.4.0
    • 3
    • 8357

      When building with zfs, ./configure lets us define specific paths for spl and zfs headers, in addition to spl and zfs object directories:
      --with-spl=path
      --with-spl-obj
      --with-zfs=path
      --with-zfs-obj

      The problem is there is no equivalent for zfs development headers. In config/lustre-build-zfs.m4, the 'LB_ZFS_USER' configure check looks at /usr/include/libzfs and /usr/include/libspl, and there is no way to specify alternate directories.

      It seems a configure option like --with-zfs-devel is missing.

            utopiabound Nathaniel Clark
            sebastien.buisson Sebastien Buisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: