#22717 [Fbk->Opn]: Cannot compile using --with-imap-ssl
| From: | mage at gmage dot net | Date: | Sun, 16 Mar 2003 18:56:14 +0000 |
| Subject: | #22717 [Fbk->Opn]: Cannot compile using --with-imap-ssl | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35712@lists.php.net to get a copy of this message | ||
ID: 22717
User updated by: mage at gmage dot net
Reported By: mage at gmage dot net
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: Debian Linux 2.4.20
PHP Version: 4.3.0
New Comment:
I had already tried the latest-stable CVS as of the date of original
post.
It compiles fine w/o the -imap-ssl option, but I'm ONLY running imap
over ssl(993) for imp.
Someone had told me that the later c-client libraries don't include the
imap-ssl support as the older ones did, is this possibly true? What is
the most tested c-client version for ssl?
Previous Comments:
------------------------------------------------------------------------
[2003-03-14 19:01:09] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And I mean THIS snapshot, not any other.
(if you did try the latest STABLE snapshot, from today, then ignore
this)
And it seems to me that your c-client just doesn't have SSL support in
it..
Try configure _without_ --with-imap-ssl option.
------------------------------------------------------------------------
[2003-03-14 17:08:12] mage at gmage dot net
I cannot get php (4.3.0 through latest CVS) to compile when using
--with-imap-ssl. I'm using debian linux with the debian libc-client
SSL packages installed. I've seen numerous posts on this problem, but
none of the solutions have worked for me. Configure line as follows:
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/root/programs/Apachetoolbox-1.5.64/apache_1.3.27 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--enable-inline-optimization \
--enable-memory-limit \
--with-imap=/usr/local \
--with-imap-ssl \
--with-mhash=/usr/local \
--with-mcrypt=/usr/local \
--with-openssl="/usr/local" \
--with-gettext="/usr" \
--with-mysql=/usr \
Compiling shows the following error:
ext/imap/php_imap.o(.text+0x345): In function `zm_startup_imap':
/root/programs/Apachetoolbox-1.5.64/src/php-4.3.0/ext/imap/php_imap.c:424:
undefined reference to `ssl_onceonlyinit'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Which I'm sure you've seen before. ;)
As I said, I've tried the latest CVS and it still didn't work. I also
tried compiling my own c-client from imap-2002b and pointing to that as
the imap source. No go. Any help is appreciated. -Ken
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22717&edit=1