[imp] Compiling PHP --with-imap on Solaris
David Lynch
david at kemayo.com
Sat Mar 13 09:54:27 PST 2004
Hi, I'm trying to compile PHP with all the Horde dependancies on
Solaris. I'm running into a bit of a stumbling block at --with-imap,
though. A fair amount of googling and list-archive searching hasn't
turned up anyone else having this problem, so I decided to cast it upon
your collective wisdom. I'm hoping that it's me missing something so
obvious that no-one else has needed to ask about it...
It's failing in the configure stage -- my ./configure line is thus:
./configure --with-apache=/export/home/install/apache_1.3.29 --with-curl
--with-gd --with-imap=/export/home/install/imap-2002e --with-imap-ssl
--with-gettext --with-dom --enable-ftp --with-mysql=/usr/local/mysql
--with-zlib --with-zlib-dir=/usr/local/include --with-openssl
--with-dom-xslt
I've compiled the c-client, done all the linking to lib and include that
the php.net docs suggest. I've tried the configure with the c-client
compiled both with and without SSL.
Configure fails like this:
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... /usr/lib
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
Last 25 line of config.log are:
configure: failed program was:
#line 40560 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
Any ideas?
~David Lynch
More information about the imp
mailing list