[imp] Compiling PHP --with-imap on Solaris

David Lynch david at kemayo.com
Sat Mar 13 19:13:11 PST 2004


I've just tried that.  Results are exactly the same, though.
--with-imap-ssl=/usr/local/ssl and --with-openssl=/usr/local/ssl.  Any
ideas as to other things I can check for?

~David

Chris Bellomy wrote:
> I just suffered through this myself.  Remembering how I fixed
> it is another matter.  :) 
> 
> I believe that your trouble is actually with --with-imap-ssl.
> I had to define a location for the ssl libs.  Here is my PHP
> config line:
> 
> ./configure  --with-mysql=/usr/local/mysql
> --with-apache=/usr/local/src/apache_1.3.28 --with-gettext --with-xml \
> --with-imap=/usr/local/src/imap-2002e --with-imap-ssl=/usr/local \
> --with-ispell --with-dom --with-zlib \
> --with-ldap=/opt/openldap --with-openssl
> 
> cb
> 
> Previously, David Lynch wrote:
> : 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
> : -- 
> : IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> : Frequently Asked Questions: http://horde.org/faq/
> : To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 





More information about the imp mailing list