#23371 [Opn->Csd]: configure falsely detects c-client using SSL

From: Date: Wed, 30 Apr 2003 10:35:52 +0000
Subject: #23371 [Opn->Csd]: configure falsely detects c-client using SSL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38797@lists.php.net to get a copy of this message
ID: 23371 Updated by: sniper@php.net Reported By: ian468 at ekit dot com -Status: Open +Status: Closed Bug Type: IMAP related Operating System: Sol 2.6/x86, Sol 2.7/sparc PHP Version: 4.3.2RC1 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-04-29 02:02:11] ian468 at ekit dot com 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; } ------------------------------------------------------------------------ [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

« previous php.bugs (#38797) next »