Bug #52416 [Opn->Dup]: compilation fails when building mysqli
| From: | aharvey@php.net | Date: | Fri, 23 Jul 2010 11:12:51 +0000 |
| Subject: | Bug #52416 [Opn->Dup]: compilation fails when building mysqli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152666@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52416&edit=1
ID: 52416
Updated by: aharvey@php.net
Reported by: rs at bytecamp dot net
Summary: compilation fails when building mysqli
-Status: Open
+Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: FreeBSD 8.1-RC2
PHP Version: 5.3.3
New Comment:
Duplicate of bug #52413.
Previous Comments:
------------------------------------------------------------------------
[2010-07-23 13:07:04] rs at bytecamp dot net
Description:
------------
When compiling PHP from source, it bails out on building mysqli with the
following error:
In file included from
/root/bc_www_contrib/php-5.3/php-5.3.3/ext/mysqli/php_mysqli_structs.h:57,
from
/root/bc_www_contrib/php-5.3/php-5.3.3/ext/mysqli/mysqli.c:33:
/usr/local/include/mysql/my_global.h:918: error: duplicate 'unsigned'
/usr/local/include/mysql/my_global.h:918: warning: useless type name in
empty declaration
The version of the MySQL client lib is: mysql-client-5.0.90
Test script:
---------------
./configure \
--prefix=$PREFIX --with-config-file-path=$PREFIX/etc \
--disable-ipv6 \
--enable-hash \
--enable-libxml=shared --enable-xml=shared \
--enable-xmlreader=shared --enable-xmlwriter=shared \
--enable-wddx=shared --with-xsl=shared \
--with-openssl=shared \
--enable-ftp=shared \
--with-zlib=shared --with-bz2=shared \
--enable-calendar=shared \
--enable-ctype=shared \
--with-curl=shared \
--enable-dba=shared \
--enable-exif=shared \
--enable-fileinfo=shared \
--enable-filter=shared \
--with-gd=shared \
--with-png-dir \
--with-jpeg-dir \
--with-freetype-dir \
--enable-gd-native-ttf \
--with-gettext=shared \
--with-mhash=shared \
--with-iconv=shred \
--enable-dom=shared \
--enable-mbstring=shared \
--with-mcrypt=shared \
--enable-json=shared \
--disable-mbregex \
--with-mysql=shared \
--with-mysqli=shared \
--enable-pdo=shared --with-pdo-pgsql=shared
--with-pdo-mysql=shared --with-pdo-sqlite=shared \
--with-pgsql=shared \
--enable-phar=shared \
--enable-posix=shared \
--with-pspell=shared \
--with-recode=shared \
--enable-session \
--enable-simplexml=shared \
--enable-soap=shared \
--enable-sockets=shared \
--with-sqlite=shared \
--enable-sqlite-utf8 \
--enable-tokenizer=shared \
--enable-zip=shared
make
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52416&edit=1