#23371 [Fbk->Opn]: configure falsely detects c-client using SSL
| From: | ian468 at ekit dot com | Date: | Tue, 29 Apr 2003 07:02:12 +0000 |
| Subject: | #23371 [Fbk->Opn]: configure falsely detects c-client using SSL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38688@lists.php.net to get a copy of this message | ||
ID: 23371
User updated by: ian468 at ekit dot com
Reported By: ian468 at ekit dot com
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: Sol 2.6/x86, Sol 2.7/sparc
PHP Version: 4.3.2RC1
New Comment:
No better. Below is the tail of config.log. This shows (correctly) an
undefined reference to ssl_onceonlyinit()
which should cause it to eventually not define HAVE_IMAP_SSL
and configure should not complain about the lack of
--with-imap-ssl=pathname
Ian D
---
configure:36224: checking whether SSL libraries are needed for
c-client
configure:36353: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-R/opt/local/lib -R/usr/ucblib -L/usr/ucblib
-R/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
-L/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
-R/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client
-L/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client conftest.c
-L/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client -lc-client
-lcrypt -lpam -lresolv -lm -lsocket -lgcc 1>&5
/var/tmp/cc1WsREP.o: In function `main':
/import/src/www/EKCapache/sparc_sol2.7/php4-STABLE-200304290130/configure:36347:
undefined reference to `ssl_onceonlyinit'
collect2: ld returned 1 exit status
configure: failed program was:
#line 36328 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char ssl_onceonlyinit();
int main() {
ssl_onceonlyinit();
return 0;
}
Previous Comments:
------------------------------------------------------------------------
[2003-04-28 08:01:58] 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 if the error persists, check config.log for the actual
reason why the test fails..
------------------------------------------------------------------------
[2003-04-27 07:32:45] ian468 at ekit dot com
Using UWASH imap-2002b with 'make gso SSLTYPE=none'
ends up with:
configure: error: This c-client library is built with SSL support.
An attempted workaround supplying --with-imap-ssl=pathname
results in undefined reference to ssl_onceonlyinit().
The configure test for presense of ssl_onceonlyinit()
in c-client.a is reversed from what it should be.
Obviously others have reported similar long ago
but its obviously not fixed in 4.3.2RC1 either.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23371&edit=1