#28376 [NEW]: mysqli compile failure
From: jedihudzilla at hotmail dot com
Operating system: Linux/Mandrake 10
PHP version: 5CVS-2004-05-12 (dev)
PHP Bug Type: Compile Failure
Bug description: mysqli compile failure
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 bug report at http://bugs.php.net/?id=28376&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28376&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28376&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28376&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28376&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28376&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28376&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28376&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28376&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28376&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28376&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28376&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28376&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28376&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28376&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28376&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28376&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28376&r=float
Thread (7 messages)
- jedihudzilla at hotmail dot com