|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-26 03:48 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 05:00:01 2025 UTC |
Description: ------------ Configure is failing as follows: checking for IMAP support... yes checking for IMAP Kerberos support... no checking for IMAP SSL support... /usr checking for utf8_mime2text signature... new checking for U8T_CANONICAL... no configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. make: *** No targets specified and no makefile found. Stop. Here is the end portion of config.log: configure:46967: checking for IMAP support configure:47014: checking for IMAP Kerberos support configure:47040: checking for IMAP SSL support configure:47437:19: error: /mail.h: No such file or directory configure:47456: checking for utf8_mime2text signature configure:47474: gcc -c -I conftest.c 1>&5 gcc: no input files configure: failed program was: #line 47461 "configure" #include "confdefs.h" #include <stdio.h> #include <c-client.h> int main() { SIZEDTEXT *src, *dst; utf8_mime2text(src, dst); ; return 0; } configure:47503: checking for U8T_CANONICAL configure:47519: gcc -c -I conftest.c 1>&5 gcc: no input files configure: failed program was: #line 47508 "configure" #include "confdefs.h" #include <c-client.h> int main() { int i = U8T_CANONICAL; ; return 0; } The first error is a missing "/mail.h". IMAP_INC_DIR is "" at line 47437 of configure. Shouldn't this cause configure to fail at this point? The second error is a missing c-client.h file. This means that the test for utf8_mime2text cannot possibly compile. Therefore, its results cannot be meaningful. Therefore, utf8_mime2text does NOT have a new signature as claimed when configure finally fails. The third "error" which claims "this cannot happen" is bogus because of the prior errors. Reproduce code: --------------- my configure line: ./configure --prefix=/usr \ $* \ --prefix=/usr \ --sysconfdir=/etc \ --disable-safe-mode \ --enable-apc \ --enable-apc-mmap \ --enable-memory-limit \ --enable-suhosin \ --disable-magic-quotes \ --enable-zend-multibyte \ --enable-mbregex \ --enable-tokenizer=shared \ --with-config-file-scan-dir=/etc/php \ --with-config-file-path=/etc/httpd \ --with-mod_charset \ --with-layout=PHP \ --enable-sigchild \ --enable-xml \ --with-libxml-dir=/usr \ --enable-simplexml \ --enable-spl \ --enable-filter \ --disable-debug \ --with-openssl=shared \ --with-pcre-regex=/usr \ --with-zlib=shared,/usr \ --enable-bcmath=shared \ --with-bz2=shared,/usr \ --enable-calendar=shared \ --enable-ctype=shared \ --with-curl=shared \ --with-curlwrappers \ --enable-dba=shared \ --with-gdbm=/usr \ --with-db4=/usr \ --enable-dbase=shared \ --enable-exif=shared \ --enable-ftp=shared \ --with-gd=shared \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir=/usr \ --with-xpm-dir=/usr \ --with-freetype-dir=/usr \ --with-t1lib=/usr \ --enable-gd-native-ttf \ --enable-gd-jis-conv \ --with-gettext=shared,/usr \ --with-gmp=shared,/usr \ --with-iconv=shared \ --with-imap-ssl=/usr \ --with-imap=$IMAPLIBDIR \ --with-ldap=shared \ --enable-mbstring=shared \ --with-hash \ --with-mhash=shared,/usr \ --with-mysql=shared,/usr \ --with-mysqli=shared,/usr/bin/mysql_config \ --enable-pdo=shared \ --with-pdo-mysql=shared,/usr \ --with-pdo-sqlite=shared \ --with-pspell=shared,/usr \ --with-mm=/usr \ --enable-shmop=shared \ --with-snmp=shared,/usr \ --enable-soap=shared \ --enable-sockets \ --with-sqlite=shared \ --enable-sqlite-utf8 \ --with-regex=php \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx=shared \ --with-xsl=shared,/usr \ --enable-zip=shared \ --with-tsrm-pthreads \ --enable-shared=yes \ --enable-static=no \ --with-gnu-ld \ --with-pic \ --build=$ARCH-slackware-linux This is copied directly from the Slackware 12.1 php.Slackbuild script, This is the version found on Slackware's ftp site under the patches subdirectory for php 5.2.6. Expected result: ---------------- Configure should probably have failed on the first error. It should definitely have failed on the second. Actual result: -------------- configure continued to run after two errors that should have stopped it.