Re: Imap

From: Date: Fri, 28 Jul 2000 22:56:15 +0000
Subject: Re: Imap
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-26762@lists.php.net to get a copy of this message
----- Original Message ----- From: "toto" <Olivier.Salaun@ifsic.univ-rennes1.fr> To: "Mark Melvin" <melvin@hylabs.com> Cc: "Olivier Salaun - licence" <Olivier.Salaun@ifsic.univ-rennes1.fr>; "Bug Database" <php-dev@lists.php.net> Sent: Tuesday, July 25, 2000 19:04 Subject: Re: [PHP-DEV] Imap > 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 Your apache wants to find libc-client.a but you only have c-client.a which is the very same thing. So, make another symlink of c-client.a namely libc-client.a and reconfigure apache. You may have to reconfigure and rebuild php first. Sorry that I missed this earlier. --Mark Melvin

« previous php.dev (#26762) next »