Re: Problems with 4.1.0 RC 3
| From: | Jani Taskinen | Date: | Wed, 21 Nov 2001 22:12:32 +0000 |
| Subject: | Re: Problems with 4.1.0 RC 3 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-3975@lists.php.net to get a copy of this message | ||
Obviously his c-client installation is buggy.
If he has latest imap-2001 package, he also should
have imap4r1.h there.
--Jani
On Wed, 21 Nov 2001, Zak Greant wrote:
>Olivier Cahagne has been encountering a problem consistently with the
>4.0.7 and 4.1.0 RCs and feels that he has isolated the problem.
>
>Here is his report
>------------
>There's a regression with 4.1.0RC3, which doesn't happen with 4.0.6 on
>the same machine, with same compiler, etc.
>
>Here's the information:
>NetBSD 1.5 x86 (1 CPU), egcs 2.91.66, bsd make.
>
>PHP 4.1.0RC3.
>
>./configure --with-imap=/u/guest/www/etc/emeri/i386-NetBSD/lib
>--with-gd=/u/guest/www/etc/emeri/i386-NetBSD
>--with-jpeg=/u/guest/www/etc/emeri/i386-NetBSD
>
>Fails:
>[...]
>checking for crypt in -lcrypt... (cached) yes
>configure: error: This c-client library is build with SSL support.
> Add --with-imap-ssl<=DIR> to your configure line. Check
>config.log for details.
>[...]
>
>>From config.log:
>
>[...]
>configure:24320: checking for IMAP support
>configure:24582: imap4r1.h: No such file or directory
>configure:24607: checking for pam_start in -lpam
>configure:24626: gcc -o
>conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
>-R/u/guest/www/etc/emeri
>/i386-NetBSD/lib -L/u/guest/www/etc/emeri/i386-NetBSD/lib
>onftest.c -lpam -lgd -ljpeg -lcrypt -lresolv -lm -lresolv -lcrypt 1>&5
>/usr/bin/ld: cannot open -lpam: No such file or directory
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 24615 "configure"
>[...]
>
>Here's a ./configure that works with IMAP detection. So I believe the
>libs autoconf messes up and problem shows with IMAP detection. I did
>not compile IMAP with SSL support (I compiled with 'make neb' for
>NetBSD), I didn't even know about SSL support. This is latest IMAP lib
>fetched yesterday.
>
>The very same configure line works flawlessly with PHP 4.0.6 (I use
>here: http://www.epita.fr/~cahagn_o/php/info.php ) on same
>machine,
>with same libs, etc.
>
>./configure --with-imap=/u/guest/www/etc/emeri/i386-NetBSD/lib
>--with-gd=/u/guest/www/etc/emeri/i386-NetBSD
>
>from config.log:
>
>[...]
>configure:24320: checking for IMAP support
>configure:24582: imap4r1.h: No such file or directory
>configure:24607: checking for pam_start in -lpam
>configure:24626: gcc -o
>conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
>-R/u/guest/www/etc/emeri/i386-NetBSD/lib
>-L/u/guest/www/etc/emeri/i386-NetBSD/li
>b co
>nftest.c -lpam -lgd -lz -lcrypt -lresolv -lm -lresolv -lcrypt 1>&5
>/usr/bin/ld: cannot open -lpam: No such file or directory
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 24615 "configure"
>[...]
>
>I'd really like to see this fixed for final 4.1.0 and 4.0.7.
>
>