From:             bolk at hitv dot ru
Operating system: RedHat 9 (2.4.20-8smp)
PHP version:      4.3.9RC1
PHP Bug Type:     Compile Failure
Bug description:  IMAP module problem

Description:
------------
Can't compile PHP with IMAP c-client module.

C-client version: imap-2004a.tar.Z (2004.7.15, 2`224`181)
PHP: 4.3.9RC1 and 4.3.8

Reproduce code:
---------------
./configure --with-imap=../imap-2004a

Actual result:
--------------
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

tail -30 config.log

/usr/src/imap-2004a/c-client/libc-client.a(osdep.o)(.text+0xb9b9): In
function `ssl_genkey':
/usr/src/imap-2004a/c-client/osdep.c:842: undefined reference to
`RSA_generate_key'
/usr/src/imap-2004a/c-client/libc-client.a(osdep.o)(.text+0xb9e7):/usr/src/imap-2004a/c-client/osdep.c:843:
undefined reference to `ERR_get_error'
/usr/src/imap-2004a/c-client/libc-client.a(osdep.o)(.text+0xb9f6):/usr/src/imap-2004a/c-client/osdep.c:846:
undefined reference to `ERR_error_string'
collect2: ld returned 1 exit status
configure: failed program was:
#line 41357 "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_newbody();
    int main() {
      mail_newbody();
      return 0;
    }


-- 
Edit bug report at http://bugs.php.net/?id=29783&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29783&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29783&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29783&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29783&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29783&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29783&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29783&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29783&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29783&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29783&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29783&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29783&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29783&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29783&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29783&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29783&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29783&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29783&r=float

Reply via email to