From: alahaye at wanadoo dot fr Operating system: ReadHat 7.2 PHP version: 4.3.1 PHP Bug Type: Compile Failure Bug description: --with-imap error
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 bug report at http://bugs.php.net/?id=22381&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22381&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22381&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22381&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22381&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22381&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22381&r=support Expected behavior: http://bugs.php.net/fix.php?id=22381&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22381&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22381&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22381&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22381&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22381&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22381&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22381&r=gnused