[lustre-discuss] Lustre Client compile on Ubuntu18.04 failing

Pinkesh Valdria pinkesh.valdria at oracle.com
Thu Feb 25 22:14:02 PST 2021


Hello All,

I am trying to compile lustre client (2.13.57) on Ubuntu18.04 and I am following the steps listed here:  https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116,  but its failing with below error.

Any pointer/advice on what am I missing ?

uname -r
5.4.0-1035-oracle

# Using this one
cd /root
git clone https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oracle
cd linux-oracle/
git checkout Ubuntu-oracle-5.4-5.4.0-1035.38_18.04.1


BUILDPATH=/root
cd ${BUILDPATH}
git clone git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
git checkout 2.13.57
git reset --hard && git clean -dfx
sh autogen.sh
./configure --disable-server --with-linux=/root/linux-oracle
# above command fails, saying .config file is missing
CONFIG_RETPOLINE=y
checking for Linux sources... /root/linux-oracle
checking for /root/linux-oracle... yes
checking for Linux objects... /root/linux-oracle
checking for /root/linux-oracle/.config... no
configure: error:

Kernel config could not be found.



cp /boot/config-5.4.0-1035-oracle /root/linux-oracle/.config

# Re-ran it
./configure --disable-server --with-linux=/root/linux-oracle


checking for swig2.0... no
yes
checking whether to build Lustre client support... yes
dirname: missing operand
Try 'dirname --help' for more information.
checking whether mpitests can be built... no
checking whether to build Linux kernel modules... yes (linux-gnu)
find: '/usr/src/kernels/': No such file or directory
checking for Linux sources... /root/linux-oracle
checking for /root/linux-oracle... yes
checking for Linux objects... /root/linux-oracle
checking for /root/linux-oracle/.config... yes
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /root/linux-oracle/include/generated/autoconf.h... no
checking for /root/linux-oracle/include/linux/autoconf.h... no
configure: error: Run make config in /root/linux-oracle.
root at lustre-client-2-12-4-ubuntu1804:~/lustre-release#




Thanks,
Pinkesh Valdria
Principal Solutions Architect – HPC
Oracle Cloud Infrastructure
+65-8932-3639 (m) - Singapore
+1-425-205-7834 (m) - USA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20210226/f5833088/attachment-0001.html>


More information about the lustre-discuss mailing list