Here is a problem in building lammps with cmake in the last step "make install"

Hi everyone
When I build LAMMPS with cmake and run “make install”, there is always an error like the figure below
屏幕截图 2024-01-16 223613
Is this related to gcc? And how can i solve the problem.
THANK YOU in advanced

There is not enough information here to give any meaningful advice. Please see this post for some guidelines and suggestions.

We do not see this kind of error when building LAMMPS, but I vaguely recall that somebody has reported a similar error before, thus I would suggest to search the forum archives or the entire web with a search engine for the same kind of error message in relation to LAMMPS and check out how the specific problem was resolved.