php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24874 Mistake of a configuration
Submitted: 2003-07-30 11:57 UTC Modified: 2003-08-01 20:21 UTC
From: anton at atlex dot ru Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.2 OS: RedHat 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: anton at atlex dot ru
New email:
PHP Version: OS:

 

 [2003-07-30 11:57 UTC] 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-30 12:56 UTC] 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 13:58 UTC] iliaa@php.net
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 21:56 UTC] 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.
root@name [/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 22:04 UTC] sniper@php.net
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!)

 [2003-08-01 13:39 UTC] anton at atlex dot ru
All problem that if to remove an option - with-dom, the IMAP is going without problems.
If to establish an option - with-dom, configure does not find working imapd
 [2003-08-01 20:21 UTC] sniper@php.net
What? (I don't understand a word you're saying here..)
All this works just fine for me, so it must be something wrong with your system. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 22:01:30 2024 UTC