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

 ID:                 54642
 User updated by:    grzegorz129 at gmail dot com
 Reported by:        grzegorz129 at gmail dot com
-Summary:            No error with endless dir()
+Summary:            Compile w/ MySQLi on OSX fail
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Mac OS X 10.6.8
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

browser autocompleted wrong title ... sry :)


Previous Comments:
------------------------------------------------------------------------
[2011-05-01 00:22:39] grzegorz129 at gmail dot com

Description:
------------
PHP 5.3.3 wont compile due to mysqllib bug (newer PHP cant be builded
due to LSAPI 

bug.. ehh).

Test script:
---------------
./configure '--prefix=/usr/local/lsws/lsphp5' '--enable-cli'
'--with-curl=/usr' '--with-gd' '--enable-exif' '--enable-gd-native-ttf'
'--with-ttf' '--without-gettext' '--with-jpeg-dir=/opt/local'
'--with-png-dir=/opt/local' '--with-freetype-dir=/opt/local'
'--with-openssl=/usr' '--with-mcrypt=/opt/local' '--with-mhash'
'--with-mysql-sock=/var/mysql'
'--with-mysqli=/usr/local/mysql/bin/mysql_config'
'--with-mysql=/usr/local/mysql'
'--with-pdo-mysql=/usr/local/mysql/bin/mysql_config' '--with-pear'
'--with-zlib-dir=/usr' '--enable-zip' '--with-iconv=/usr/local'
'--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-sockets'
'--enable-mbstring' '--enable-mbregex' '--with-litespeed'
'--enable-shmop' '--enable-track-vars' '--enable-sysvsem'
'--enable-sysvshm' '--enable-pcntl' '--enable-sigchild'
'--with-libxml-dir=/usr'

Actual result:
--------------
/bin/sh /usr/local/lsws/phpbuild/php-5.3.3/libtool --silent
--preserve-dup-deps 

--mode=compile gcc  -Iext/mysqli/ -I/usr/local/lsws/phpbuild/php-

5.3.3/ext/mysqli/ -DPHP_ATOM_INC
-I/usr/local/lsws/phpbuild/php-5.3.3/include -

I/usr/local/lsws/phpbuild/php-5.3.3/main
-I/usr/local/lsws/phpbuild/php-5.3.3 -

I/usr/local/lsws/phpbuild/php-5.3.3/ext/date/lib
-I/usr/local/lsws/phpbuild/php-

5.3.3/ext/ereg/regex -I/usr/include/libxml2 -I/opt/local/include -

I/opt/local/include/freetype2 -I/usr/local/include -

I/usr/local/lsws/phpbuild/php-5.3.3/ext/mbstring/oniguruma -

I/usr/local/lsws/phpbuild/php-5.3.3/ext/mbstring/libmbfl -

I/usr/local/lsws/phpbuild/php-5.3.3/ext/mbstring/libmbfl/mbfl -

I/usr/local/mysql/include -I/usr/local/lsws/phpbuild/php-

5.3.3/ext/sqlite3/libsqlite -I/usr/local/lsws/phpbuild/php-5.3.3/TSRM -

I/usr/local/lsws/phpbuild/php-5.3.3/Zend  -no-cpp-precomp 
-I/usr/local/include 

-g -O2 -fvisibility=hidden  -c /usr/local/lsws/phpbuild/php-

5.3.3/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo 

In file included from /usr/local/mysql/include/my_global.h:76,

                 from /usr/local/lsws/phpbuild/php-

5.3.3/ext/mysqli/php_mysqli_structs.h:57,

                 from
/usr/local/lsws/phpbuild/php-5.3.3/ext/mysqli/mysqli.c:33:

/usr/local/mysql/include/my_config.h:326:1: warning: "SIZEOF_SIZE_T"
redefined

In file included from
/usr/local/lsws/phpbuild/php-5.3.3/TSRM/tsrm_config.h:1,

                 from /usr/local/lsws/phpbuild/php-

5.3.3/TSRM/tsrm_config_common.h:13,

                 from /usr/local/lsws/phpbuild/php-

5.3.3/TSRM/tsrm_virtual_cwd.h:26,

                 from
/usr/local/lsws/phpbuild/php-5.3.3/main/php.h:410,

                 from
/usr/local/lsws/phpbuild/php-5.3.3/ext/mysqli/mysqli.c:29:

/usr/local/lsws/phpbuild/php-5.3.3/include/../main/php_config.h:151:1:
warning: 

this is the location of the previous definition

In file included from /usr/local/lsws/phpbuild/php-

5.3.3/ext/mysqli/php_mysqli_structs.h:57,

                 from
/usr/local/lsws/phpbuild/php-5.3.3/ext/mysqli/mysqli.c:33:

/usr/local/mysql/include/my_global.h:909: error: duplicate
‘unsigned’

/usr/local/mysql/include/my_global.h:909: warning: useless type name in
empty 

declaration

make: *** [ext/mysqli/mysqli.lo] Error 1


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



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

Reply via email to