Nikitas, Your steps were perfect. It worked. I am able to compile the client.
@Andreas Dilger - I am happy to add a wiki page with the steps I followed to get it compiled or fix existing page, if I can get login account to update. Similarly, I would like to add how to compile Lustre for Oracle Linux UEK kernels, if that's okay. Thanks, Pinkesh Valdria Principal Solutions Architect – HPC Oracle Cloud Infrastructure +65-8932-3639 (m) - Singapore +1-425-205-7834 (m) - USA On 2/26/21, 12:46 AM, "lustre-discuss on behalf of lustre-discuss-requ...@lists.lustre.org" <lustre-discuss-boun...@lists.lustre.org on behalf of lustre-discuss-requ...@lists.lustre.org> wrote: Send lustre-discuss mailing list submissions to lustre-discuss@lists.lustre.org To subscribe or unsubscribe via the World Wide Web, visit https://urldefense.com/v3/__http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!GqivPVa7Brio!JOuAP3APa1PYUYllxZG6H17Z9x96It0TNVvuN9BHUxVx5jj95BZllCbFIsz6eoZZiqC7$ or, via email, send a message with subject or body 'help' to lustre-discuss-requ...@lists.lustre.org You can reach the person managing the list at lustre-discuss-ow...@lists.lustre.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lustre-discuss digest..." Today's Topics: 1. Re: Lustre Client compile on Ubuntu18.04 failing (Nikitas Angelinas) ---------------------------------------------------------------------- Message: 1 Date: Fri, 26 Feb 2021 08:46:19 +0000 From: Nikitas Angelinas <nangeli...@cray.com> To: Pinkesh Valdria <pinkesh.vald...@oracle.com> Cc: "lustre-discuss@lists.lustre.org" <lustre-discuss@lists.lustre.org> Subject: Re: [lustre-discuss] Lustre Client compile on Ubuntu18.04 failing Message-ID: <2bf290dd-a3c8-4727-8c87-012074c48...@cray.com> Content-Type: text/plain; charset="utf-8" Hi Pinkesh, Could you please try running ?make oldconfig? and then ?make modules_prepare? in the kernel source after copying the .config? The latter command should generate the missing files /root/linux-oracle/include/generated/autoconf.h and /root/linux-oracle/include/linux/autoconf.h. Cheers, Nikitas On 2/25/21, 10:14 PM, "lustre-discuss on behalf of Pinkesh Valdria via lustre-discuss" <lustre-discuss-boun...@lists.lustre.org<mailto:lustre-discuss-boun...@lists.lustre.org> on behalf of lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>> wrote: Hello All, I am trying to compile lustre client (2.13.57) on Ubuntu18.04 and I am following the steps listed here: https://urldefense.com/v3/__https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116__;!!GqivPVa7Brio!JOuAP3APa1PYUYllxZG6H17Z9x96It0TNVvuN9BHUxVx5jj95BZllCbFIsz6ehaK0R8W$ , 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://urldefense.com/v3/__https://git.launchpad.net/*canonical-kernel/ubuntu/*source/linux-oracle__;fis!!GqivPVa7Brio!JOuAP3APa1PYUYllxZG6H17Z9x96It0TNVvuN9BHUxVx5jj95BZllCbFIsz6esq05dSq$ 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@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: <https://urldefense.com/v3/__http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20210226/10244cfc/attachment.html__;!!GqivPVa7Brio!JOuAP3APa1PYUYllxZG6H17Z9x96It0TNVvuN9BHUxVx5jj95BZllCbFIsz6emxxV6Vw$ > ------------------------------ Subject: Digest Footer _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org https://urldefense.com/v3/__http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!GqivPVa7Brio!JOuAP3APa1PYUYllxZG6H17Z9x96It0TNVvuN9BHUxVx5jj95BZllCbFIsz6eoZZiqC7$ ------------------------------ End of lustre-discuss Digest, Vol 179, Issue 26 *********************************************** _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org