From: benedikt at vamos-inc dot at Operating system: Debian etch PHP version: 6CVS-2008-06-12 (snap) PHP Bug Type: Compile Failure Bug description: make error after ./configure --with-mysql
Description: ------------ Hello, Today I tried to compile and install the snapshot of PHP6. I got it running when i configured it with "./configure --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2/php.ini". But when I configure it with mysql (--with-mysql --with-mysqli ) I get the following error after "make": /usr/include/mysql/mysql.h:295: error: expected specifier-qualifier-list before numeric constant /usr/include/mysql/mysql.h:684: error: expected specifier-qualifier-list before numeric constant make: *** [main/internal_functions.lo] Fehler 1 I didn't find a solution on the internet but this bug report for php5 http://bugs.php.net/bug.php?id=42890 so I thougth maybe this is a bug too. (when I try it without mysql it works fine.) best regards, Benedikt Reproduce code: --------------- # ./configure --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2/php.ini --with-bz2 --enable-ftp --enable-zip --enable-shared --enable-mbstring=all --with-gd --with-mhash --with-mcrypt --withmime_magic --with-openssl --enable-posix --enable-session --enable-sockets --with-xsl --with-zlib --with-freetype-dir --with-png-dir --with-jpeg-dir --enable-gd-native-ttf --with-curl --with-curlwrappers --with-libxml-dir --disable-mbregex --with-kerberos --with-imap --with-imap-ssl --with-mysql --with-mysqli --with-ldap --enable-exif # make Expected result: ---------------- i would except "make" without errors Actual result: -------------- error with "make" in mysql.h -- Edit bug report at http://bugs.php.net/?id=45246&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45246&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45246&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45246&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45246&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45246&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45246&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45246&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45246&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45246&r=support Expected behavior: http://bugs.php.net/fix.php?id=45246&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45246&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45246&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45246&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45246&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45246&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45246&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45246&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45246&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45246&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45246&r=mysqlcfg