Re: Imap
| From: | toto | Date: | Tue, 25 Jul 2000 12:04:34 +0000 |
| Subject: | Re: Imap | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-26712@lists.php.net to get a copy of this message | ||
Mark Melvin wrote:
> php-imap looks for mail.h and c-client.a
> So grab yourself the imap source, compile it and keep the source tree.
> When you configure php, point it to the imap source directory.
> Make symlink ./lib and ./include to c-client if necessary.
> Configure and compile php.
>
> hope this helps.
>
> ps. I think configure for imap module should be more flexible....
Yes, thank you, but now that is Apache wich doesnt want to compile with this
imap support ... I have the following error :
"
cd ..; gcc -DLINUX=2 -I/root/php-4.0.0 -I/root/php-4.0.0/Zend
-I/root/php-4.0.0/Zend -I/root/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED
./apaci -o helpers/dummy helpers/dummy.c
-Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4
-L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -lc-client -ldl
-lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
/usr/bin/ld: cannot open -lc-client: Aucun fichier ou répertoire de ce type
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
============= End of Error Report =============
"