In this article, we cover the issue of "./configure always asking run make config/usr/src/linux-headers-5.15.0-124 even" when building Lustre client source on Ubuntu 22.04.5 LTS. We discuss key concepts, troubleshooting steps, and solutions with detailed context to help you resolve this problem.
Issue: "./configure always asking run make config/usr/src/linux-headers-5.15.0-124 even"
When building the Lustre client source, you might encounter the issue of "./configure" always asking to run "make config/usr/src/linux-headers-5.15.0-124 even" despite having run it earlier. This can be frustrating and time-consuming, but there is a solution.
Understanding the problem
The issue is due to the missing kernel headers package, required by Lustre to compile the source code. You need to install the correct kernel headers package on your Ubuntu 22.04.5 LTS system to fix this issue.
Solution: Installing the correct kernel headers package
Follow these steps to install the required kernel headers package and resolve the issue:
Find your current kernel version by executing the following command:
uname -rThe output might look something like
5.15.0-124. Now, install the required kernel headers package by running:sudo apt install linux-headers-$(uname -r)This will install the kernel headers package for your current kernel version.
Building the Lustre client source code
After installing the correct kernel headers package, run "./configure" again. Now, the script should no longer ask to run "make config/usr/src/linux-headers-5.15.0-124 even" and should proceed with the compilation process. Complete the building process by executing the following commands:
./configure --with-linux=/lib/modules/$(uname -r)/buildmakesudo make install
In this article, we focused on how to resolve the issue of "./configure always asking run make config/usr/src/linux-headers-5.15.0-124 even" when building Lustre client source on Ubuntu 22.04.5 LTS. We found that missing kernel headers causes this problem and demonstrated how to install the correct kernel headers package and build the Lustre client source code.