From:             dagee at lrn dot com
Operating system: Ubuntu 7.04
PHP version:      5.2.4
PHP Bug Type:     Compile Failure
Bug description:  Compile error when including mysqli

Description:
------------
Received compile error when including mysqli option.

Used configuration command:
   ./configure --prefix /usr/local/mysql
--with-mysqli=<path>/mysql_config.sh

Last few lines from compile output with error were:

mysqli.c:1171 warning: passing argument 2 of 'php_strlcpy' makes pointer
from integer without a cast
mysqli.c: In function 'php_local_infile_end':
mysqli.c:1194: error: 'MY_SQL' has no member named 'li_stream'
make: *** [ext/mysqli/mysqli.lo] Error 1

Note:  Old bug reports indicated PHP5 was not year compatible with MYSQL5
-- but this was three years ago.  Surely it's fixed by now??

Reproduce code:
---------------
Standard code (no changes)

Expected result:
----------------
Expected clean compile

Actual result:
--------------
See above

-- 
Edit bug report at http://bugs.php.net/?id=42742&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42742&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42742&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42742&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42742&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42742&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42742&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42742&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42742&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42742&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42742&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42742&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42742&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42742&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42742&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42742&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42742&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42742&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42742&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42742&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42742&r=mysqlcfg

Reply via email to