#19016 [Opn->Csd]: --with-mysql: CLIENT_SSL undeclared
| From: | georg@php.net | Date: | Fri, 23 Aug 2002 14:10:43 +0000 |
| Subject: | #19016 [Opn->Csd]: --with-mysql: CLIENT_SSL undeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17652@lists.php.net to get a copy of this message | ||
ID: 19016
Updated by: georg@php.net
Reported By: michael.mauch@gmx.de
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Tru64 4.0
PHP Version: 4CVS-2002-08-21
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-08-23 06:54:37] michael.mauch@gmx.de
I used "Add Comment" instead of "Edit Submission", sorry.
------------------------------------------------------------------------
[2002-08-22 11:54:09] michael.mauch@gmx.de
mysql Ver 9.38 Distrib 3.22.32, for dec-osf4.0g (alphaev6)
Yes, it's two years old, but it works fine with
php4-STABLE-200208220600 if I use --with-ssl or not, but it does not
work at all with php4-200208220600.
If it's too old, configure should tell me so, shouldn't it?
------------------------------------------------------------------------
[2002-08-21 21:17:43] sniper@php.net
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?
------------------------------------------------------------------------
[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