Bug #18561 Updated: configure fails to find imap libs
| From: | sniper@php.net | Date: | Thu, 25 Jul 2002 11:03:55 +0000 |
| Subject: | Bug #18561 Updated: configure fails to find imap libs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15158@lists.php.net to get a copy of this message | ||
ID: 18561
Updated by: sniper@php.net
Reported By: oden.eriksson@kvikkjokk.net
-Status: Open
+Status: Feedback
-Bug Type: *Compile Issues
+Bug Type: IMAP related
Operating System: Mandrake Linux 8.2 (and 9.0)
PHP Version: 4CVS-2002-07-25
New Comment:
What was the full configure line used?
Have you tried compiling it as static, not shared extension?
Previous Comments:
------------------------------------------------------------------------
[2002-07-25 06:47:54] oden.eriksson@kvikkjokk.net
Hi.
Whatever I pass to "--with-imap-ssl" I still get:
checking for IMAP support... yes, shared
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... /usr/lib
checking whether IMAP works... configure: error: build test failed.
Please check the config.log for details.
Ecerpts from config.log:
configure:34909: checking whether SSL libraries are needed for
c-client
configure:35069: checking whether IMAP works
configure:35102: gcc -o conftest -O3 -fomit-frame-pointer -pipe
-march=i686 -mcpu=i686 -ffast-math
-fno-strength-reduce -fPIC conftest.c -lcrypt -lpam -lgd -lt1
-lfreetype -lpng -lz -ljpeg -lcrypt -lssl
-lcrypto -lresolv -lm -ldl -lttf -lfreetype -lpng -ljpeg -lz -lnsl
-lreadline -lhistory -lncurses -lcrypt
1>&5
/tmp/cclSaiiI.o: In function `main':
/tmp/cclSaiiI.o(.text+0x31): undefined reference to `mail_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 35077 "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;
}
Reverting to ext/imap/config.m4 (v1.44) fixes the problem.
Chears.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18561&edit=1