MySQLi build failure on OS X
| Bug #52413 | MySQLi build failure on OS X | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2010-07-23 10:50 UTC | Modified: | 2010-08-13 12:09 UTC |
|
||||||||||
| From: | aharvey@php.net | Assigned: | mysql (profile) | |||||||||||
| Status: | Closed | Package: | MySQLi related | |||||||||||
| PHP Version: | 5.3.3 | OS: | Mac OS X 10.6.4 | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2010-07-23 10:50 UTC] aharvey@php.net
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-07-23 13:42 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mysql
[2010-07-23 13:42 UTC] aharvey@php.net
[2010-08-13 11:57 UTC] andrey@php.net
-Status: Assigned +Status: Feedback
[2010-08-13 11:57 UTC] andrey@php.net
[2010-08-13 12:09 UTC] aharvey@php.net
[2010-10-18 14:18 UTC] alwin dot roosen at webline dot be