#28376 [Com]: mysqli compile failure
| From: | agifford at infowest dot com | Date: | Sat, 05 Jun 2004 20:38:17 +0000 |
| Subject: | #28376 [Com]: mysqli compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60417@lists.php.net to get a copy of this message | ||
ID: 28376
Comment by: agifford at infowest dot com
Reported By: jedihudzilla at hotmail dot com
Status: Assigned
Bug Type: Compile Failure
Operating System: Linux/Mandrake 10
PHP Version: 5CVS-2004-05-12 (dev)
Assigned To: georg
New Comment:
I see the exact same problem building PHP5 (5.0.0RC2) from the FreeBSD
port (mod_php5) using MYSQLI with the latest FreeBSD MYSQL 4.1 port
(4.1.2) under FreeBSD 5.0. It's probably related to the incompatible
API changes MySQL recently made for the 4.1.2 alpha release (see
http://lists.mysql.com/announce/199 for some
info), but I don't know
enought to go looking.
Previous Comments:
------------------------------------------------------------------------
[2004-05-12 19:43:55] jedihudzilla at hotmail dot com
Description:
------------
Using the latest snapshot of PHP5 and MySQL 4.1.2 (it's
4.1.2-alpha-nightly-20040512) I get a compile failure with PHP. MySQL
was configured with:
--prefix=/usr/local/mysql.
PHP was configured with
--with-mysqli=/usr/local/mysql/bin/mysql_config
--prefix=/usr/local/php
With this it gets to compiling mysqli_prop.c then errors out:
/home/foo/php5-200405121430/ext/mysqli/mysqli_prop.c: In function
'stmt_num_rows_read':
/home/foo/php5-200405121430/ext/mysqli/mysqli_prop.c:191: error:
invalid type argument of '->'
/home/foo/php5-200405121430/ext/mysqli/mysqli_prop.c:191: error:
invalid type argument of '->'
/home/foo/php5-200405121430/ext/mysqli/mysqli_prop.c:191: error:
invalid type argument of '->'
make: *** [ext/mysqli/mysqli_prop.lo] Error 1
I had previously tried with the pre-built MySQL binary for 4.1.1, which
let PHP compile fine. This seemed to be because PHP disabled the
prepared statement code as it was < 4.1.2, which was why I downloaded
the MySQL CVS build.
This also fails with PHP5 RC2, which was what I was using before I
tried the PHP CVS snapshot.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28376&edit=1