#28376 [Opn->Asn]: mysqli compile failure
| From: | georg@php.net | Date: | Mon, 31 May 2004 12:16:59 +0000 |
| Subject: | #28376 [Opn->Asn]: mysqli compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60205@lists.php.net to get a copy of this message | ||
ID: 28376
Updated by: georg@php.net
Reported By: jedihudzilla at hotmail dot com
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Linux/Mandrake 10
PHP Version: 5CVS-2004-05-12 (dev)
-Assigned To:
+Assigned To: georg
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