ID: 22381 Comment by: alahaye at wanadoo dot Fr Reported By: alahaye at wanadoo dot fr Status: Feedback Bug Type: IMAP related Operating System: ReadHat 7.2 PHP Version: 4.3.1 New Comment:
Hi, I try with --enable-libgcc and get same error. Here my complete compilation line ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode --with-config-file-path=/etc/httpd/4.3.1 --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --enable-track-vars --with-iconv --enable-xml --disable-debug --with-gd --enable-mbstring --enable-mbstring --enable-exif --with-mcrypt=shared --with-interbase=shared --with-mysql=shared --with-pgsql=shared --with-ldap --with-imap --with-openssl=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-gettext=shared --with-imap-ssl --disable-mbstr-enc-trans --enable-sockets --enable-ftp --enable-bcmath --enable-libgcc iliaa, you can notice that i have both --with-imap and --with-imap-ssl. This configuration line works great with PHP4.2.3 but not for PHP4.3.1 The c-client was the REDHAT Package (see my config.log) /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c Same bug is report on bug 22353 on Solaris Previous Comments: ------------------------------------------------------------------------ [2003-02-22 22:41:26] [EMAIL PROTECTED] 1. Try adding '--enable-libgcc' to your configure line 2. Did you compile libc-client.a yourself? ------------------------------------------------------------------------ [2003-02-22 19:34:52] [EMAIL PROTECTED] Try adding --with-imap-ssl to your configure line. ------------------------------------------------------------------------ [2003-02-22 18:28:27] alahaye at wanadoo dot fr when using --with-imap having this error on commpilation checking for crypt in -lcrypt... (cached) yes checking whether SSL libraries are needed for c-client... /usr/lib checking whether IMAP works... no configure: error: build test failed. Please check the config.log for details. In config.log configure:35413: checking whether IMAP works configure:35446: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -DEAPI conftest.c -lcrypto -lssl -lc-client -lcrypt -lpam -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt 1>&5 /usr/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/redhat/BUILD/imap-2000c/c-client/auth_ssl.c:153: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/libc-client.a(mail.o): In function `mm_cache': /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:185: undefined reference to `__canary_death_handler' /usr/lib/libc-client.a(mail.o): In function `mail_parameters': /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:459: undefined reference to `__canary_death_handler' /usr/lib/libc-client.a(mail.o): In function `mail_valid': /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:490: undefined reference to `__canary_death_handler' /usr/lib/libc-client.a(mail.o): In function `mail_valid_net': /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:508: undefined reference to `__canary_death_handler' /usr/lib/libc-client.a(mail.o): In function `mail_valid_net_parse': /usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:619: undefined reference to `__canary_death_handler' /usr/lib/libc-client.a(mail.o):/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:677: more undefined references to `__canary_death_handler' fol low collect2: ld returned 1 exit status configure: failed program was: #line 35421 "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 mail_open(); int main() { mail_open(0,"",0); return 0; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22381&edit=1