ID:               45246
 Updated by:       [EMAIL PROTECTED]
 Reported By:      benedikt at vamos-inc dot at
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Debian etch
 PHP Version:      6CVS-2008-06-12 (snap)
 New Comment:

What is the mysql lib version?
What is the gcc version?


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to