[lustre-discuss] Building Lustre 2.15.2 for ZFS 2.1.2 without DKMS

Walker Haddock walkerhaddock at gmail.com
Tue May 23 11:10:36 PDT 2023


Hello,
We are trying to build Lustre 2.15.2 for ZFS 2.1.2
and MLNX_OFED_LINUX-5.9-0.5.6.0-rhel8.7-x86_64 on RHEL 8.7. The kernel
version is: 4.18.0-425.3.1.el8.x86_64.

We are using these options to configure the build:
$ ./configure --enable-server --enable-modules --with-zfs=yes

We have also tried other options:
--with-zfs-build=$HOME/zfs --with-spl=$HOME/zfs --with-spl-obj=$HOME/zfs
--with-zfs=yes --with-spl=yes

We have built and installed the zfs*.rpms and the kmod-zfs*.rpm packages.
All dependencies except the epel dkms package have been installed. We can
only use packages from the Red Hat CDN. We want to just build kmod packages
when we have to change the kernel version. We do not want to use DKMS.

The configure script always fails at line 37291:
Required zfs osd cannot be built due to missing zfs development headers.

However, they are right there in the /usr path as well as the libs, just
where the script has found them. It seems that the configure script does
not include the case where dkms is not used. We have successfully built
Lustre without dkms in the past with the 2.12 versions.

Please see attached configure.log.

Thanks, Walker Haddock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230523/c1a3c856/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed-config.log
Type: text/x-log
Size: 35823 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230523/c1a3c856/attachment-0001.bin>


More information about the lustre-discuss mailing list