PHP-Imap 7.4 not updating via Custombuild 2.0

kikloo

Verified User
Joined
Jul 17, 2019
Messages
72
Hi,

I installed DirectAdmin on the server and did some settings etc. when trying to update few php modules via the CustomBuild 2.0 its not working and giving errors:

---
  • curl: (6) Could not resolve host: 1006_openssl1.1_autoverify.patch
  • Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
  • #=#=# curl: (6) Could not resolve host: 1006_openssl1.1_autoverify.patch
  • Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
  • ##O#-# curl: (6) Could not resolve host: 1006_openssl1.1_autoverify.patch
  • Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.

and in the end:

  • configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
  • Trying to make imap PHP extension...
  • make: *** No targets specified and no makefile found. Stop.
---

What's wrong with it ? These 4 are giving this error:

PHP-IMAP 7.4
PHP-Bz2 7.4
PHP-LDAP 7.4
ionCube

Thanks.
 
IMAP is not compiled into imap by default. It looks like you might have a custom configure script. That is fine, but if you enable imap, you also NEED to install the imap client library (libc-client.a).
 
Hi,

I don't have any custom configure script. I just installed DA and enabled these in CustomBuild and its not working.

Thanks.
 
OK, digging deeper into DA custombuild from the GUI, I see what you are talking about. I normally don't use that and have always used command-line. It appears that the first error you are getting is the cause of all your other errors. For some strange reason it is attempting to download from the host "1006_openssl1.1_autoverify.patch" which isn't a host. It really is a file it is supposed to be downloading. Here are the two lines from the build script that displays this error are:
UW_PATCH=1006_openssl1.1_autoverify.patch
curl ${CURL_CONNECT_OPTIONS} -oo ${UW_PATCH} ${DOWNLOADSERVER_OPT}/services/custombuild/patches/${UW_PATCH}
Based on those two lines, I don't have a clue why it thinks 1006_openssl1.1_autoverify.patch is a hostname and not a filename. Perhaps you can post the whole log, there isn't enough info from your errors to see where it might have been going wrong.
 
error: Cannot find imap library (libc-client.a). Please check your c-client installation
 
Thank you. Apparently I also needed a fix for "Failed to download metadata for repo ‘AppStream’" (CentOS 8 EOL) and after that I was able to update PHP with IMAP through the DirectAdmin panel. It is working now.
 
Back
Top