My system server use Alma 9.3 (Shamrock Pampas Cat) x86_64(Py3.7.8) have same issue when install mbstring on php8.3
This is some last line of execution log:
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable multibyte string support... yes, shared
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:
Package 'oniguruma', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
error
|-Successify --- Command executed! ---
After some hour of searching, finally i can know what happen.
"Package 'oniguruma', required by 'virtual:world', not found" => the configure not run complete =>make: *** No targets specified and no makefile found. Stop.
Run the command dnf --enablerepo=crb install oniguruma-devel
will solve problem.