ID:               29579
 Updated by:       [EMAIL PROTECTED]
 Reported By:      idler at idler dot no-ip dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Slackware 10.0.0 Kernel 2.6.7
 PHP Version:      4.3.8
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You have some problems with c-client library. Try to reinstall it.
Don't forget about additional IMAP related ./configure options:
--with-imap-ssl & --with-kerberos. You HAVE to use them if your
c-client was built with ssl/kerberos support (I'm almost sure it was).


Previous Comments:
------------------------------------------------------------------------

[2004-08-09 03:17:32] idler at idler dot no-ip dot org

Description:
------------
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

I think this problem appear more than one times. I cannot build my php
with imap successfully from the version of 4.3.4 to now.
I've followed the instruction exactly from
http://hk2.php.net/manual/en/ref.imap.php.
I've also looked for solutions for this problem from internet and this
bug database, but they seem cannot help.

My configure line:
CFLAGS="-O3 -mcpu=pentium3 -march=pentium3" ./configure
--prefix=/usr/local --disable-static --with-apxs=/usr/sbin/apxs
--sysconfdir=/etc --enable-discard-path
--with-config-file-path=/etc/apache --enable-safe-mode --with-openssl
--with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar
--enable-ctype --with-gdbm --with-db4 --enable-dbase --enable-ftp
--with-iconv --with-exif --with-gd --enable-gd-native-ttf
--with-jpeg-dir=/usr --with-png --with-gmp --with-mysql=/usr
--with-xml=shared,/usr --with-gettext=shared,/usr --with-expat-dir=/usr
--enable-wddx --with-mm=/usr --enable-trans-sid --enable-shmop
--enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm
--enable-yp --enable-memory-limit --with-tsrm-pthreads --enable-shared
--disable-debug --with-zlib=/usr --with-tiff-dir=/usr --with-curl
--with-db4 --with-dom=/usr --with-zlib-dir --enable-exif
--with-freetype-dir=shared,/usr/local --with-kerberos
--with-ldap=shared --with-mcrypt --with-mysql-sock
--with-pdflib=shared,/usr/local/src/PDFlib-6.0.0-Linux/bind/c
--with-tiff-dir=/usr --with-mhash --with-zip --with-swf=shared
--enable-zend-multibyte --enable-mbstring
--with-imap=/usr/local/src/imap-2004a

Ths last lines of config.log:
(It doesn't provide any special error message, it only say "undefined
reference.")
configure:40604: checking for crypt in -lcrypt
configure:41054: checking whether SSL libraries are needed for
c-client
configure:41184: gcc -o conftest -O3 -mcpu=pentium3 -march=pentium3 
-L/usr/lib -ldb-4.2  -Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lc-client
-lcrypt -lpam -lgmp -lfreetype -lpng -lz -ljpeg -lz -ldb-4.2 -lgdbm
-lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -ldl -lcurl
-lssl -lcrypto -ldl
-lssl -lcrypto -ldl -lz -lxml2 -lz -lm 1>&5
/tmp/ccUkdOqm.o(.text+0xa): In function `main':
: undefined reference to `auth_gssapi_valid'
collect2: ld returned 1 exit status
configure: failed program was:
#line 41159 "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 auth_gssapi_valid();
    int main() {
      auth_gssapi_valid();
      return 0;
    }

configure:41210: checking whether IMAP works
configure:41243: gcc -o conftest -O3 -mcpu=pentium3 -march=pentium3 
-L/usr/lib -ldb-4.2  -Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lc-client
-lcrypt -lpam -lgmp -lfreetype -lpng -lz -ljpeg -lz -ldb-4.2 -lgdbm
-lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -ldl -lcurl
-lssl -lcrypto -ldl
-lssl -lcrypto -ldl -lz -lxml2 -lz -lm 1>&5
/tmp/ccqx1Zdw.o(.text+0xa): In function `main':
: undefined reference to `mail_newbody'
collect2: ld returned 1 exit status
configure: failed program was:
#line 41218 "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 this bug report at http://bugs.php.net/?id=29579&edit=1

Reply via email to