I am trying to install imap. The installation fails.
Here's the log.
This the entire log
https://na1-node.bt.cn
selecting download node...
Last metadata expiration check: 1:40:40 ago on Fri 01 Mar 2024 10:36:54 PM IST.
No match for argument: libc-client-devel
Error: Unable to find a match: libc-client-devel
ln: failed to create symbolic link '/usr/lib/libc-client.so': File exists
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /www/server/php/80
checking for PHP includes... -I/www/server/php/80/include/php -I/www/server/php/80/include/php/main -I/www/server/php/80/include/php/TSRM -I/www/server/php/80/include/php/Zend -I/www/server/php/80/include/php/ext -I/www/server/php/80/include/php/ext/date/lib
checking for PHP extension directory... /www/server/php/80/lib/php/extensions/no-debug-non-zts-20200930
checking for PHP installed headers prefix... /www/server/php/80/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... no
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
make: *** No targets specified and no makefile found. Stop.
ERROR!
I also have php7.4, and same issue occurs when installing imap.
I tried installing libc-client:
Last metadata expiration check: 0:00:10 ago on Sat 02 Mar 2024 01:15:49 AM IST.
Package libc-client-2007f-30.el9.remi.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
I have also removed imap-open from disabled functions.
Please suggest a resolution.
Thanks!