PHP + IMAP + CentOS 5.4 64 Bit

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
368
Location
Malaysia
Hello,

I have hard time compiling imap into php using centos 5.4 64 bits. I search and try all and never get succeeded. anyone share some tips installing it.
 
i did try but also having problem.

error logs
Code:
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

libc-client already installed
Code:
Package libc-client-2004g-2.2.1.x86_64 already installed and latest version
Package libc-client-devel-2004g-2.2.1.x86_64 already installed and latest version

configure.php5
Code:
[root@get05 ap2]# cat configure.php5
#!/bin/sh
./configure \
	--with-apxs2 \
	--with-curl=/usr/local/lib \
	--with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
	--with-gettext \
	--with-jpeg-dir=/usr/local/lib \
	--with-freetype-dir=/usr/local/lib \
	--with-kerberos \
	--with-openssl \
	--with-mcrypt \
	--with-mhash \
	--with-mysql=/usr \
	--with-mysqli=/usr/bin/mysql_config \
	--with-pdo-mysql=/usr \
	--with-pear \
	--with-png-dir=/usr/local/lib \
	--with-zlib \
	--with-zlib-dir=/usr/local/lib \
	--enable-zip \
	--with-iconv=/usr/local \
	--enable-bcmath \
	--enable-calendar \
	--enable-ftp \
	--enable-magic-quotes \
	--enable-sockets \
	--enable-mbstring \
	--with-imap=/usr/lib/dovecot/imap \
	--with-imap-ssl
 
I've installed both i386 and x86_64
Try to do the same

libc-client.i386 : C-client mail access routines for IMAP and POP protocols
libc-client.x86_64 : C-client mail access routines for IMAP and POP protocols
libc-client-devel.i386 : Development tools for programs which will use the IMAP library.
libc-client-devel.x86_64 : Development tools for programs which will use the IMAP library.
 
Hello,

Now i have different error.

Code:
checking for crypt in -lcrypt... yes
configure: error: Kerberos libraries not found. 
      
      Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )
      

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
installing krb5-devel

Code:
Package krb5-devel-1.6.1-36.el5_4.1.x86_64 already installed and latest version

but still have the same error
Code:
checking for crypt in -lcrypt... yes
configure: error: Kerberos libraries not found. 
      
      Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )
      

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
Back
Top