Just wondering if anyone knows where I might be going wrong on... I'm trying to build PHP with imap, gmp , mailparse, mcrypt. My /usr/local/directadmin/custombuild/configure/ap2/configure.php72 file is as follows:
I have intalled uw-imap-devel libc-client via
However it fails with
.
Any suggestions? I'm sure its something really simple or i'm misunderstanding how building php works on Direct Admin.
Code:
#!/bin/sh
./configure \
--with-apxs2 \
--with-config-file-scan-dir=/usr/local/lib/php.conf.d \
--with-curl \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-libxml-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mhash \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mysqli=mysqlnd \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=mysqlnd \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-sodium=/usr/local \
--with-webp-dir=/usr/local/lib \
--with-xsl \
--with-zlib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-sockets \
--enable-soap \
--enable-mbstring \
--with-icu-dir=/usr/local/icu \
--with-gmp \
--with-mailparse \
--with-mcrypt \
--with-imap \
--enable-intl
I have intalled uw-imap-devel libc-client via
Code:
yum install epel-release ; yum install uw-imap-devel libc-client
However it fails with
Code:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
Any suggestions? I'm sure its something really simple or i'm misunderstanding how building php works on Direct Admin.