#39110 [Com]: conflicting types for 'utf8_mime2text'

2006-11-03 Thread andy dot shellam at mailnetwork dot co dot uk
 ID:   39110
 Comment by:   andy dot shellam at mailnetwork dot co dot uk
 Reported By:  sihar at uninet dot net dot id
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Slackware 11.0
 PHP Version:  4.4.4
 New Comment:

This is also the same on FreeBSD 6.1 - PHP 5.2.0 with IMAP 2006c.


Previous Comments:


[2006-10-25 09:32:51] andy dot shellam at mailnetwork dot co dot uk

php 5.1.6 compiles successfully with IMAP 2004g on FreeBSD 6.1 (with
OpenSSL) using the following configure command:

./configure --prefix=/usr/local/php --with-pgsql=/usr/local/pgsql
--with-apxs2=/usr/local/apache2/bin/apxs
--with-imap=/usr/local/imap2004g --with-imap-ssl

Looks like it is the 2006 version of the IMAP toolkit.



[2006-10-25 09:25:11] andy dot shelllam at mailnetwork dot co dot uk

I also have this problem with php 5.1.6 and UW IMAP c-client 2006c.
I'm now going to re-try IMAP 2004 as I believe this is the problem.

This is on a FreeBSD 6.1 system - have had PHP 5 compiled on another
FBSD 6.1 system with IMAP 2004 a few weeks ago.



[2006-10-20 18:54:35] junkmyself at hotmail dot com

same problem with the stable version you provide.

compile:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-libxml-dir=/usr/local/lib --with-zlib
--with-zlib-dir=/usr/local/lib/ --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap
--enable-sockets --with-png-dir=/usr/local/libpng --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local/freetype
--with-openssl --enable-ftp --enable-memory-limit
--with-imap=/usr/local/imap

make error report:
-g -O2   -c
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c
-o ext/imap/php_imap.lo
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1



[2006-10-18 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2006-10-10 12:16:42] [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



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/39110

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


#39110 [Com]: conflicting types for 'utf8_mime2text'

2006-10-25 Thread andy dot shellam at mailnetwork dot co dot uk
 ID:   39110
 Comment by:   andy dot shellam at mailnetwork dot co dot uk
 Reported By:  sihar at uninet dot net dot id
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Slackware 11.0
 PHP Version:  4.4.4
 New Comment:

php 5.1.6 compiles successfully with IMAP 2004g on FreeBSD 6.1 (with
OpenSSL) using the following configure command:

./configure --prefix=/usr/local/php --with-pgsql=/usr/local/pgsql
--with-apxs2=/usr/local/apache2/bin/apxs
--with-imap=/usr/local/imap2004g --with-imap-ssl

Looks like it is the 2006 version of the IMAP toolkit.


Previous Comments:


[2006-10-25 09:25:11] andy dot shelllam at mailnetwork dot co dot uk

I also have this problem with php 5.1.6 and UW IMAP c-client 2006c.
I'm now going to re-try IMAP 2004 as I believe this is the problem.

This is on a FreeBSD 6.1 system - have had PHP 5 compiled on another
FBSD 6.1 system with IMAP 2004 a few weeks ago.



[2006-10-20 18:54:35] junkmyself at hotmail dot com

same problem with the stable version you provide.

compile:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-libxml-dir=/usr/local/lib --with-zlib
--with-zlib-dir=/usr/local/lib/ --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap
--enable-sockets --with-png-dir=/usr/local/libpng --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local/freetype
--with-openssl --enable-ftp --enable-memory-limit
--with-imap=/usr/local/imap

make error report:
-g -O2   -c
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c
-o ext/imap/php_imap.lo
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1



[2006-10-18 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2006-10-10 12:16:42] [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



[2006-10-10 12:14:08] sihar at uninet dot net dot id

Description:

Every time I try to compile PHP 4.4.4 with IMAP support under SLES9,
it
fails because of the wrong parameter count of utf8_mime2text() in
php_imap.c:78 compared to utf8.h:538.
I have tried with imap-2006b.tar.Z
Build c-client library first:
cd /usr/local/applications/
tar xzf imap-2006b.tar.Z
mv imap-*/ imap/
make slx all SSLTYPE=none IP=4
md include
md lib
cp src/c-client/*.h include/
cp c-client/c-client.a lib/libc-client.a
cp c-client/osdep.h include/
cp c-client/env_unix.h include/
cp c-client/linkage.h include/


Reproduce code:
---
./configure  --prefix=/usr --disable-static --with-apxs=/usr/sbin/apxs
--enable-discard-path --sysconfdir=/etc --with-config-file-
path=/usr/local/apache/etc --enable-safe-mode --with-openssl
--with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar
--
enable-ctype --with-gdbm --with-imap-ssl=/usr/local/lib/c-client
--with-imap=/usr/local/lib/c-client --with-mcrypt --with-mime-magic
 --enable-inline-optimization --enable-ftp --with-iconv --with-dom
--with-exif --enable-exif --with-gd --enable-gd-native-ttf --with
-jpeg-dir=/usr --with-png --with-ttf --with-freetype-dir=/usr
--enable-mbstring=all --with-pcre-regex=/usr --with-mysql=shared,/usr 
--with-gettext=shared,/usr --with-expat-dir=/usr --with-mm=/usr
--enable-trans-sid --enable-shmop --enable-sockets --enable-sysvsem 
--enable-sysvshm --enable-memory-limit --with-tsrm-pthreads
--enable-shared --disable-debug --with-zlib=/usr
--with-apxs=/usr/local/
apache/sbin/apxs

Expected result:

Successful build (not aborted).


Actual result:
--
/tmp/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for
'utf8_mime2text'
/usr/local/lib/c-client/include/utf8.h:548: error: previous declaration
of 'utf8_mime2text' was here
/tmp/php-4.4.4/ext

#39110 [Com]: conflicting types for 'utf8_mime2text'

2006-10-25 Thread andy dot shelllam at mailnetwork dot co dot uk
 ID:   39110
 Comment by:   andy dot shelllam at mailnetwork dot co dot uk
 Reported By:  sihar at uninet dot net dot id
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Slackware 11.0
 PHP Version:  4.4.4
 New Comment:

I also have this problem with php 5.1.6 and UW IMAP c-client 2006c.
I'm now going to re-try IMAP 2004 as I believe this is the problem.

This is on a FreeBSD 6.1 system - have had PHP 5 compiled on another
FBSD 6.1 system with IMAP 2004 a few weeks ago.


Previous Comments:


[2006-10-20 18:54:35] junkmyself at hotmail dot com

same problem with the stable version you provide.

compile:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-libxml-dir=/usr/local/lib --with-zlib
--with-zlib-dir=/usr/local/lib/ --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap
--enable-sockets --with-png-dir=/usr/local/libpng --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local/freetype
--with-openssl --enable-ftp --enable-memory-limit
--with-imap=/usr/local/imap

make error report:
-g -O2   -c
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c
-o ext/imap/php_imap.lo
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1



[2006-10-18 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2006-10-10 12:16:42] [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



[2006-10-10 12:14:08] sihar at uninet dot net dot id

Description:

Every time I try to compile PHP 4.4.4 with IMAP support under SLES9,
it
fails because of the wrong parameter count of utf8_mime2text() in
php_imap.c:78 compared to utf8.h:538.
I have tried with imap-2006b.tar.Z
Build c-client library first:
cd /usr/local/applications/
tar xzf imap-2006b.tar.Z
mv imap-*/ imap/
make slx all SSLTYPE=none IP=4
md include
md lib
cp src/c-client/*.h include/
cp c-client/c-client.a lib/libc-client.a
cp c-client/osdep.h include/
cp c-client/env_unix.h include/
cp c-client/linkage.h include/


Reproduce code:
---
./configure  --prefix=/usr --disable-static --with-apxs=/usr/sbin/apxs
--enable-discard-path --sysconfdir=/etc --with-config-file-
path=/usr/local/apache/etc --enable-safe-mode --with-openssl
--with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar
--
enable-ctype --with-gdbm --with-imap-ssl=/usr/local/lib/c-client
--with-imap=/usr/local/lib/c-client --with-mcrypt --with-mime-magic
 --enable-inline-optimization --enable-ftp --with-iconv --with-dom
--with-exif --enable-exif --with-gd --enable-gd-native-ttf --with
-jpeg-dir=/usr --with-png --with-ttf --with-freetype-dir=/usr
--enable-mbstring=all --with-pcre-regex=/usr --with-mysql=shared,/usr 
--with-gettext=shared,/usr --with-expat-dir=/usr --with-mm=/usr
--enable-trans-sid --enable-shmop --enable-sockets --enable-sysvsem 
--enable-sysvshm --enable-memory-limit --with-tsrm-pthreads
--enable-shared --disable-debug --with-zlib=/usr
--with-apxs=/usr/local/
apache/sbin/apxs

Expected result:

Successful build (not aborted).


Actual result:
--
/tmp/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for
'utf8_mime2text'
/usr/local/lib/c-client/include/utf8.h:548: error: previous declaration
of 'utf8_mime2text' was here
/tmp/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for
'utf8_mime2text'
/usr/local/lib/c-client/include/utf8.h:548: error: previous declaration
of 'utf8_mime2text' was here
/tmp/php-4.4.4/ext/mbstring/mbstring.c:152: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:153: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:154: warning: initialization
discards qua

#39110 [Com]: conflicting types for 'utf8_mime2text'

2006-10-20 Thread junkmyself at hotmail dot com
 ID:   39110
 Comment by:   junkmyself at hotmail dot com
 Reported By:  sihar at uninet dot net dot id
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Slackware 11.0
 PHP Version:  4.4.4
 New Comment:

same problem with the stable version you provide.

compile:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-libxml-dir=/usr/local/lib --with-zlib
--with-zlib-dir=/usr/local/lib/ --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap
--enable-sockets --with-png-dir=/usr/local/libpng --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local/freetype
--with-openssl --enable-ftp --enable-memory-limit
--with-imap=/usr/local/imap

make error report:
-g -O2   -c
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c
-o ext/imap/php_imap.lo
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
/backup/mis/montreal.prospectornetwork.com/~mdrolet/blackbox/packages/php4-STABLE-200610201830/ext/imap/php_imap.c:74:
error: conflicting types for 'utf8_mime2text'
/usr/local/mis/imap/include/utf8.h:548: error: previous declaration of
'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1


Previous Comments:


[2006-10-18 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2006-10-10 12:16:42] [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



[2006-10-10 12:14:08] sihar at uninet dot net dot id

Description:

Every time I try to compile PHP 4.4.4 with IMAP support under SLES9,
it
fails because of the wrong parameter count of utf8_mime2text() in
php_imap.c:78 compared to utf8.h:538.
I have tried with imap-2006b.tar.Z
Build c-client library first:
cd /usr/local/applications/
tar xzf imap-2006b.tar.Z
mv imap-*/ imap/
make slx all SSLTYPE=none IP=4
md include
md lib
cp src/c-client/*.h include/
cp c-client/c-client.a lib/libc-client.a
cp c-client/osdep.h include/
cp c-client/env_unix.h include/
cp c-client/linkage.h include/


Reproduce code:
---
./configure  --prefix=/usr --disable-static --with-apxs=/usr/sbin/apxs
--enable-discard-path --sysconfdir=/etc --with-config-file-
path=/usr/local/apache/etc --enable-safe-mode --with-openssl
--with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar
--
enable-ctype --with-gdbm --with-imap-ssl=/usr/local/lib/c-client
--with-imap=/usr/local/lib/c-client --with-mcrypt --with-mime-magic
 --enable-inline-optimization --enable-ftp --with-iconv --with-dom
--with-exif --enable-exif --with-gd --enable-gd-native-ttf --with
-jpeg-dir=/usr --with-png --with-ttf --with-freetype-dir=/usr
--enable-mbstring=all --with-pcre-regex=/usr --with-mysql=shared,/usr 
--with-gettext=shared,/usr --with-expat-dir=/usr --with-mm=/usr
--enable-trans-sid --enable-shmop --enable-sockets --enable-sysvsem 
--enable-sysvshm --enable-memory-limit --with-tsrm-pthreads
--enable-shared --disable-debug --with-zlib=/usr
--with-apxs=/usr/local/
apache/sbin/apxs

Expected result:

Successful build (not aborted).


Actual result:
--
/tmp/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for
'utf8_mime2text'
/usr/local/lib/c-client/include/utf8.h:548: error: previous declaration
of 'utf8_mime2text' was here
/tmp/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for
'utf8_mime2text'
/usr/local/lib/c-client/include/utf8.h:548: error: previous declaration
of 'utf8_mime2text' was here
/tmp/php-4.4.4/ext/mbstring/mbstring.c:152: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:153: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:154: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:155: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:156: warning: initialization
discards qualifiers from pointer target type
/tmp/php-4.4.4/ext/mbstring/mbstring.c:157: warning: initialization
discards qualifiers from pointer target type
make: *** [ext/imap/php_ima