[imp] login fails (was Re: [imp] undefined function: send())

Craig Zimmerman craigz@internet00.tbwachiat.com
Tue, 26 Dec 2000 10:59:46 -0500 (EST)


Whoops, I forgot to show that part.  

>From horde/test.php:

PHP Module Capabilities

       FTP Support: No 
       Gettext Support: Yes 
       IMAP Support: Yes 
       LDAP Support: Yes 
       MCAL Support: No 
       Mcrypt Support: No 
       MySQL Support: Yes 
       PostgreSQL Support: No 

>From phpinfo():

imap

IMAP Support                     enabled
IMAP c-Client Version            4.1
   
-c.
On Mon, 25 Dec 2000, Max Kalika wrote:

> Quoting Craig Zimmerman <craigz@internet00.tbwachiat.com>:
> 
> > [phpinfo()]
> > 
> > './configure' '--with-mm' '--with-mysql=/usr/local/etc/mysql'
> > '--with-ldap' '--with-imap=../pine/imap' 
> > '--with-gettext' '--with-db3=/usr/local/BerkeleyDB.3.1'
> > '--with-apache=../apache'
> 
> Does phpinfo() show that imap support has been correctly compiled?  Sounds like 
> your php doesn't have the imap functions.  And if you just pointed configure to 
> look in where you compiled pine, it definately won't work because the uw 
> package creates a file called c-client.a not libc-client.a and the linker won't 
> find the library.  Its best to make a separate directory structure
> (i.e. /usr/local/c-client/lib and /usr/local/c-client/include) and copy 
> {rfc822,linkage,mail}.h into /usr/local/c-client/include and c-client.a 
> to /usr/local/c-client/lib/libc-client.a and then point php's configure to --
> with-imap=/usr/local/c-client.  Hope that helps!  Good luck.
> 
> --mk23
> 
>