Re: imap shared with a different openssl path
| From: | Antony Dovgal | Date: | Fri, 29 Apr 2005 21:59:30 +0000 |
| Subject: | Re: imap shared with a different openssl path | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16151@lists.php.net to get a copy of this message | ||
On Fri, 29 Apr 2005 16:48:15 -0500
"Brian J. France" <list@firehawksystems.com> wrote:
> I am trying to build imap as a shared extension (phpize method) with
> different path for openssl. This seems easy, right?
>
> phpize; ./configure --with-imap-ssl=<path>
>
> But that doesn't work. It seems that line 1688 in acinclude.m4 is the
> problem:
>
> 1687 dnl Fallbacks for different configure options
> 1688 if test "$PHP_OPENSSL" != "no"; then
> 1689 PHP_OPENSSL_DIR=$PHP_OPENSSL
> 1690 elif test "$PHP_IMAP_SSL" != "no"; then
> 1691 PHP_OPENSSL_DIR=$PHP_IMAP_SSL
> 1692 fi
>
> The problem is $PHP_OPENSSL is blank and hits the first case setting
> $PHP_OPENSSL_DIR to blank and things blow up in a few test down.
> Something like this fixes it:
>
> if test "$PHP_OPENSSL" != "no" && test "$PHP_OPENSSL"
> != ""; then
>
> I don't know if this would break anything or not, thoughts?
You should tell at least what version of PHP you're using.
Or even better: create a bug report at bugs.php.net and don't forget to
fill up all the fields required.
--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com