ID:               46390
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mrj001 at shaw dot ca
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: Slackware 12.1
 PHP Version:      5.2.6
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug#40475, and others:
http://bugs.php.net/search.php?search_for=U8T_CANONICAL&boolean=1&limit=All&order_by=id&direction=DESC&cmd=display&status=All&php_os=&phpver=&assign=&author_email=&bug_age=0



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

[2008-10-26 03:39:44] mrj001 at shaw dot ca

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.


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


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

Reply via email to