#19016 [Fbk]: --with-mysql: CLIENT_SSL undeclared

From: Date: Thu, 22 Aug 2002 01:17:43 +0000
Subject: #19016 [Fbk]: --with-mysql: CLIENT_SSL undeclared
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17490@lists.php.net to get a copy of this message
ID: 19016 Updated by: sniper@php.net Reported By: michael.mauch@gmx.de Status: Feedback Bug Type: Compile Failure Operating System: Tru64 4.0 PHP Version: 4CVS-2002-08-21 New Comment: Sander was a bit wrong there. It seems your mysql client libraries might be a bit old? What version of mysql do you have installed? Previous Comments: ------------------------------------------------------------------------ [2002-08-21 13:30:31] sander@php.net You're libmysqlclient has ssl support. You probably need to compile PHP --with-openssl to fix this problem. ------------------------------------------------------------------------ [2002-08-21 07:58:46] michael.mauch@gmx.de './configure' '--prefix=/Team/local' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-oci8=/appl/oracle/product/8.1.6' '--with-mysql=/usr/local/mysql' [...] gcc -Iext/mysql/ -I/Team/local/src/php4-200208210300/ext/mysql/ -DPHP_ATOM_INC -I/Team/local/src/php4-200208210300/include -I/Team/local/src/php4-200208210300/main -I/Team/local/src/php4-200208210300 -I/Team/local/src/php4-200208210300/Zend -I/usr/local/mysql/include/mysql -I/appl/oracle/product/8.1.6/rdbms/public -I/appl/oracle/product/8.1.6/rdbms/demo -I/appl/oracle/product/8.1.6/network/public -I/Team/local/src/php4-200208210300/ext/xml/expat -I/Team/local/src/php4-200208210300/TSRM -g -O2 -c /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36, from /Team/local/src/php4-200208210300/Zend/zend.h:63, from /Team/local/src/php4-200208210300/main/php.h:34, from /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:32: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `zm_startup_mysql': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: `CLIENT_SSL' undeclared (first use in this function) /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: (Each undeclared identifier is reported only once /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: for each function it appears in.) /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `php_mysql_do_connect': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:708: warning: cast from pointer to integer of different size /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `zif_mysql_character_set_name': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:1073: warning: cast to pointer from integer of different size *** Exit 1 Stop. If I add -DCLIENT_SSL=0, it compiles. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19016&edit=1

« previous php.bugs (#17490) next »