ID: 45246 User updated by: benedikt at vamos-inc dot at Reported By: benedikt at vamos-inc dot at -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Debian etch PHP Version: 6CVS-2008-06-12 (snap) New Comment:
hi! gcc should be 4.1.2 20061115 (prerelease) i installed mysql-server (5.0) and libmysqlclient-dev (should be libmysqlclient15-dev_5.0.32-7etch5_i386) through apt-get install (debian) Previous Comments: ------------------------------------------------------------------------ [2008-06-12 12:53:36] [EMAIL PROTECTED] What is the mysql lib version? What is the gcc version? ------------------------------------------------------------------------ [2008-06-12 12:34:01] benedikt at vamos-inc dot at 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 this bug report at http://bugs.php.net/?id=45246&edit=1