While running "make" command, I am getting this error. fatal error: python3.10: No such file or directory ** 6 | #include “python3.10”** ** | ^~~~~~~~~~~~** compilation terminated.How to resolve this issue?

make[3]: Entering directory ‘/home/chandra/openpbs-master/src/lib/Libifl’
make all-am
make[4]: Entering directory ‘/home/chandra/openpbs-master/src/lib/Libifl’
make[4]: Nothing to be done for ‘all-am’.
make[4]: Leaving directory ‘/home/chandra/openpbs-master/src/lib/Libifl’
make[3]: Leaving directory ‘/home/chandra/openpbs-master/src/lib/Libifl’
Making all in Libpbs
make[3]: Entering directory ‘/home/chandra/openpbs-master/src/lib/Libpbs’
make[3]: Nothing to be done for ‘all’.
make[3]: Leaving directory ‘/home/chandra/openpbs-master/src/lib/Libpbs’
Making all in Libpython
make[3]: Entering directory ‘/home/chandra/openpbs-master/src/lib/Libpython’
gcc -DHAVE_CONFIG_H -I. -I…/…/…/src/include -I…/…/…/src/include -g -O2 -MT libpbspython_a-shared_python_utils.o -MD -MP -MF .deps/libpbspython_a-shared_python_utils.Tpo -c -o libpbspython_a-shared_python_utils.o test -f 'shared_python_utils.c' || echo './'shared_python_utils.c
In file included from shared_python_utils.c:42:
/usr/include/python3.10/Python.h:6:10: fatal error: python3.10: No such file or directory
** 6 | #include “python3.10”**
** | ^~~~~~~~~~~~**
compilation terminated.
make[3]: *** [Makefile:634: libpbspython_a-shared_python_utils.o] Error 1
make[3]: Leaving directory ‘/home/chandra/openpbs-master/src/lib/Libpython’
make[2]: *** [Makefile:515: all-recursive] Error 1
make[2]: Leaving directory ‘/home/chandra/openpbs-master/src/lib’
make[1]: *** [Makefile:514: all-recursive] Error 1
make[1]: Leaving directory ‘/home/chandra/openpbs-master/src’
make: *** [Makefile:551: all-recursive] Error 1
chandra@ganga10:~/openpbs-master$

How to resolve this issue?

This may no longer be an issue for you, but is it possible you need to install the proper python-dev package, such as python3.10-dev?