Hi =)

I'm sorry for sounding redundant, especially to all those who were very helpful
in your prompt response to my posting (PHP4: IMAP trouble).  Please bear with
me as I have only been introduced to the world of Linux only recently.  Thank
you very much for your help, it certainly solved the problem of 'configure:
error: cannot find rfc822.h. please check your imap installation.'  However, I
now have a similar problem at the some spot (Configuring extensions: checking
for imap support ... yes).  This time the message reads ... "configure: error:
cannot find imap library.  please check your imap installation."

This problem was previously addressed in the PHP FAQs and ModSSL.  After I
downloaded IMAP from UW, this is what I did ...
gzip -d -c imap.tar.Z | tar xvf -   (in same place as where php-4.0.1pl2 is)
I am currently creating a php spec file that will install PHP4 using an RPM.  

In my php spec file, I added the following lines to ./configure: 
--with-imap=../imap-4.7c \       
--libexecdir=/usr/lib/apache \
--includedir=/usr/include/apache \

Then in imap-4.7c directory, I did "make slx" and copied the following files:
cp c-client/linkage.h /usr/include/apache
cp src/c-client/mail.h src/c-client/rfc822.h /usr/include/apache
 (this line consequently solved the 'cannot find rfc822.h' error)
cp c-client/c-client.a /usr/lib/apache/libc-client.a
ln -s /path/of/c-client.a /usr/lib/apache/libc-client.a

Please note that my platform is Redhat Linux 6.2 and I'm using:
Apache 1.3.12, ModSSL 2.6.5-1.3.12, OpenSSL 0.9.5a, PHP 4.0.1pl2, IMAP 4.7-5
apache-devel-1.3.12-2
imap-devel-4.7.-5
gd-devel-1.3.-6
openldap-devel-1.2.9-5
postgresql-devel-6.5.3-6

Thanks for reading.  Your help is much appreciated.

Regards,
Adelaide
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to