From: aharvey
Operating system: Mac OS X 10.6.4
PHP version: 5.3.3
Package: MySQLi related
Bug Type: Bug
Bug description:MySQLi build failure on OS X
Description:
------------
Building mysqli against an external libmysql fails on OS X 10.6.4 (and
probably
other versions). Compilation succeeds when mysqlnd is used.
I'm using mysql-connector-c 6.0.2, which is the current package.
Actual result:
--------------
/bin/sh /Users/aharvey/Trees/php-5.3.3/libtool --silent --preserve-dup-deps
--
mode=compile gcc -Iext/mysqli/
-I/Users/aharvey/Trees/php-5.3.3/ext/mysqli/ -
DPHP_ATOM_INC -I/Users/aharvey/Trees/php-5.3.3/include -
I/Users/aharvey/Trees/php-5.3.3/main -I/Users/aharvey/Trees/php-5.3.3 -
I/Users/aharvey/Trees/php-5.3.3/ext/date/lib -I/Users/aharvey/Trees/php-
5.3.3/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/include -
I/Users/aharvey/Trees/php-5.3.3/ext/sqlite3/libsqlite
-I/Users/aharvey/Trees/php-
5.3.3/TSRM -I/Users/aharvey/Trees/php-5.3.3/Zend -no-cpp-precomp
-I/usr/include
-g -O2 -fvisibility=hidden -c
/Users/aharvey/Trees/php-5.3.3/ext/mysqli/mysqli.c
-o ext/mysqli/mysqli.lo
In file included from /Users/aharvey/Trees/php-
5.3.3/ext/mysqli/php_mysqli_structs.h:57,
from
/Users/aharvey/Trees/php-5.3.3/ext/mysqli/mysqli.c:33:
/usr/local/include/my_global.h:1011: error: duplicate âunsignedâ
make: *** [ext/mysqli/mysqli.lo] Error 1
--
Edit bug report at http://bugs.php.net/bug.php?id=52413&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52413&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52413&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52413&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52413&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52413&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52413&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52413&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52413&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52413&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52413&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52413&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52413&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52413&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52413&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52413&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52413&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52413&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52413&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52413&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52413&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52413&r=mysqlcfg