Issue with O2Physics Installation on Ubuntu 22.04

I am writing to you regarding an issue I have encountered while installing O2Physics on my Ubuntu 22.04 system.
During the installation process, when O2Physics is being built, the terminal that appears turns off by itself after the build is complete and when it reaches the O2Physics Master stage. This is causing me difficulties in completing the installation successfully.
Screenshot from 2024-07-09 11-37-54

Yes I have been facing this. O2 get compiled but not O2Physics.