[PHP] Cannot find imap library

2002-01-04 Thread Richard Brust

[2002-01-03 21:55:02] [EMAIL PROTECTED]

original configure script:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
--with-imap=../imapServer

Note: ../imapServer is the dir where I gunzip'd the source files.

This script gives the error:
Cannot find rfc822.h. Please check your IMAP installation.

Then I do another configure where I specify the location of rfc822.h:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
--with-imap=../imapServer/src

Now the error is:
Cannot find imap library. Please check your IMAP installation.

I have also downloaded the newest IMAP source from 
http://www.washington.edu/imap/, but the same error messages appear.

By the way, PHP, Apache, and the IMAP server were, and still are, working 
fine. It's just that I cannot recompile PHP with IMAP support.


Richard Brust
IT Manager
Technology Business Research
Hampton, NH. USA


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Cannot find imap library

2002-01-04 Thread Brian Clark

* Richard Brust ([EMAIL PROTECTED]) [Jan 04. 2002 16:25]:

 original configure script:
 ./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
 --enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
 --with-imap=../imapServer

 Note: ../imapServer is the dir where I gunzip'd the source files.

[...]

 Then I do another configure where I specify the location of rfc822.h:
 ./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
 --enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
 --with-imap=../imapServer/src

 Now the error is:
 Cannot find imap library. Please check your IMAP installation.

OK this is seriously a long shot, but..

cd ../imapServer/src/c-client
ln -s c-client.h libc-client.h

Then remove config.cache in your PHP directory and try configuring it
again --with-imap=../imapServer/src

See what that returns..

It might work because c-client.h points to everything else it needs.

I think configure is looking for c-client.a instead, but try the above
and see what happens. Backup your original apache php DSO before you
make install though, so you don't try find me and hang me out back when
it all goes poof. :)

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
It's been lovely, but I have to scream now.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]