Can not make dahdi under Centos 8

checking for GNU libc compatible malloc... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSBX... no
checking for LIBUSB... no
checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc.h... no
checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc/ioctl.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating makeopts
config.status: creating version.c
config.status: error: cannot find input file: `Makefile.in'
make: *** [Makefile:10: all] Error 1

I am trying to build DAHDI under

Centos 8above
DAHDI 3.1.0
asterisk 17.2.0
libpri 1.6.0

compile seems to be ok, but the configure script end with the error
config.status: error: cannot find input file: `Makefile.in’
make: *** [Makefile:10: all] Error 1

creating version.c

I need some ideas to go on

TIA

Antonio

kernel is 4.18.0-147.5.1.el8_1.x86_64

I doubt that the package compiled fine if the configure script failed. You need to describe what you did with more details.