php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10330 imap-2001.BETA and imap-ssl support in PHP4
Submitted: 2001-04-14 23:22 UTC Modified: 2001-05-29 07:30 UTC
From: raul at ucnet dot com dot mx Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0 Latest CVS (14/04/2001) OS: i386-slackware-linux-gnu
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: raul at ucnet dot com dot mx
New email:
PHP Version: OS:

 

 [2001-04-14 23:22 UTC] raul at ucnet dot com dot mx
I've built the imap-2001.BETA toolkit with SSL (OpenSSL 0.9.6a) support and copied the c-client header files in a 'standard' location and c-client library files, but when compiling PHP4-cvs --with-imap-ssl support I get the following error:

config.nice:

"./configure" \
"--with-apxs" \
"--with-config-file-path=/var/www/conf" \
"--with-gdbm" \
"--with-gettext" \
"--with-imap" \
"--with-imap-ssl" \
"--with-mysql" \
"--with-openssl" \
"--with-regex=system" \
"--with-zlib" \
"--enable-memory-limit" \
"--enable-safe-mode" \
"--enable-track-vars" \
"--enable-bcmath" \
"--enable-wddx" \
"--enable-xml" \

$ make
...
-DTARGET="httpsd" -DUSE_HSREGEX -DUSE_EXPAT -DAPACHE_SSL -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c php_imap.c
php_imap.c: In function `php_minit_imap':
php_imap.c:450: `auth_ssl' undeclared (first use in this function)
php_imap.c:450: (Each undeclared identifier is reported only once
php_imap.c:450: for each function it appears in.)
make[3]: *** [php_imap.lo] Error 1
make[3]: Leaving directory `/home/raul/src/cvs/php4/ext/imap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/raul/src/cvs/php4/ext/imap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/raul/src/cvs/php4/ext'
make: *** [all-recursive] Error 1

~/src/imap-2001.BETA.SNAP-0104140025$ cat c-client/linkage.c
  mail_link (&mboxdriver);              /* link in the mbox driver */
  mail_link (&imapdriver);              /* link in the imap driver */
  mail_link (&nntpdriver);              /* link in the nntp driver */
  mail_link (&pop3driver);              /* link in the pop3 driver */
  mail_link (&mhdriver);                /* link in the mh driver */
  mail_link (&mxdriver);                /* link in the mx driver */
  mail_link (&mbxdriver);               /* link in the mbx driver */
  mail_link (&tenexdriver);             /* link in the tenex driver */
  mail_link (&mtxdriver);               /* link in the mtx driver */
  mail_link (&mmdfdriver);              /* link in the mmdf driver */
  mail_link (&unixdriver);              /* link in the unix driver */
  mail_link (&newsdriver);              /* link in the news driver */
  mail_link (&philedriver);             /* link in the phile driver */
  mail_link (&dummydriver);             /* link in the dummy driver */
  auth_link (&auth_md5);                /* link in the md5 authenticator */
  auth_link (&auth_pla);                /* link in the pla authenticator */
  auth_link (&auth_log);                /* link in the log authenticator */
  ssl_onceonlyinit ();

Thank you.


Raul

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-02 00:17 UTC] sniper@php.net
It's imap-2001.BETA that is broken here.
Use imap-2000. That works just fine.

--Jani

 [2001-05-02 13:50 UTC] chagenbu@php.net
The --with-imap-ssl option is only intended for cases when you've compiled c-client with SSL support.
 [2001-05-29 07:30 UTC] sniper@php.net
This was actually bug in PHP..my bad. Fixed now.
Fix will be in PHP 4.0.6 (see #10990)

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 10:01:29 2024 UTC