ID:               24874
 Updated by:       [EMAIL PROTECTED]
 Reported By:      anton at atlex dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         IMAP related
 Operating System: RedHat 7.3
 PHP Version:      php4-STABLE-200307301730
 New Comment:

Get this:
ftp://ftp.cac.washington.edu/imap/imap-2002d.tar.Z

configure/compile it, then do clean configure with PHP again.
(rm config.cache first!)



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

[2003-07-30 21:56:25] anton at atlex dot ru

I bring to you the information which to me gives out the configure.

...........
checking for GNU gettext support... no
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for iconv support... no
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... 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.
[EMAIL PROTECTED] [/usr/local/src/snaps.php.net/php4-STABLE-200307301730]#


config.log

...........
configure:40024: checking whether IMAP works
configure:40057: gcc -o conftest -g -O2  
-Wl,-rpath,/home/cpapachebuild/buildapache/imap-2001.BETA.SNAP-01052
20031//c-client
-L/home/cpapachebuild/buildapache/imap-2001.BETA.SNAP-0105220031//c-client
-Wl,-rpath,/usr/ker
beros/lib -L/usr/kerberos/lib conftest.c -lc-client  -lssl -lcrypto 
-lcrypt -lpam -lz -lcurl -lz -lssl -lcryp
to -lresolv -lm -ldl -lnsl  -lcurl -lz -ldl -lz -lxml2 -lz -liconv -lm
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_e
rr 1>&5
configure: failed program was:
#line 40032 "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;
    }

The end of a file


It is more than any messages is not given out

------------------------------------------------------------------------

[2003-07-30 13:58:47] [EMAIL PROTECTED]

What was the actual error message that was reported when the test
program compilation failed? It should be right below the source code of
the test.

------------------------------------------------------------------------

[2003-07-30 12:56:20] anton at atlex dot ru

Has downloaded http: // snaps.php.net/php4-STABLE-latest.tar.gz, has
unwrapped, result too

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


If to remove --with-dom that of mistakes does not arise.

But me is necessary IMAP and DOMXML

------------------------------------------------------------------------

[2003-07-30 12:25:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2003-07-30 11:57:21] anton at atlex dot ru

Description:
------------
I try to collect PHP with support IMAP CURL OpenSSL DOMXML
In result script the configere stops on IMAP

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

 config.log 
configure:36362: checking whether IMAP works
configure:36395: gcc -o conftest -g -O2 -Wl, -rpath,
/home/cpapachebuild/buildapache/imap-20 01. BET
A.SNAP-0105220031 // c-client -L/home/cpapachebuild/buildapache/imap-
2001. BETA.SNAP-0105220031 // c-cl
ient -Wl, -rpath, /usr/kerberos/lib -L/usr/kerberos/lib conftest.c
-lc-client -lssl -lcrypto -lcry
pt -lpam -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lcurl -lz -lssl
-lcrypto -lresolv -lm -ldl -l
nsl -lcurl -lz -ldl -lz -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err 1 > *5
configure: failed program was:
line 36370 "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;
   }


libxslt-1.0.31
libxml2-2.5.8
imap-2001. BETA.SNAP-0105220031





Reproduce code:
---------------
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-bcmath
--enable-calendar --enable-ftp --enable-dbase --with-openssl
--with-imap=/home/cpapachebuild/buildapache/imap-2001.BETA.SNAP-0105220031/
--with-imap-ssl --with-kerberos --enable-magic-quotes --with-mysql
--with-pear --enable-sockets --enable-track-vars --enable-versioning
--with-zlib -with-curl --with-dom --with-xml --with-dom

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




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24874&edit=1

Reply via email to