#35848 [Com]: Failing when including --with-mysql

From: Date: Tue, 02 May 2006 22:23:35 +0000
Subject: #35848 [Com]: Failing when including --with-mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96504@lists.php.net to get a copy of this message
ID: 35848 Comment by: ivanick at vet dot upenn dot edu Reported By: shawn dot richards at ink dot ltd dot uk Status: Assigned Bug Type: MySQL related Operating System: Mac OS X Tiger. PHP Version: 5CVS-2005-12-30 (snap) Assigned To: andrey New Comment: Same bug on RH4.2 AMD64 as well, fix works (with-mysql-dir), my many thanks! Previous Comments: ------------------------------------------------------------------------ [2006-04-20 10:09:51] pfroling at hotmail dot com Thank you pamelastone. That fixed my configure problem. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql-dir=/usr/local/mysql --with-zlib-dir=/usr ------------------------------------------------------------------------ [2006-04-19 17:01:35] pamelastone at gmail dot com The problem is fixed when using --with-mysql-dir=/usr/local/mysql instead of --with-mysql=/usr/local/mysql ------------------------------------------------------------------------ [2006-03-07 21:05:10] thijs dot wijnmaalen at gmail dot com You could fix this issue by changing the config line to: --with-mysql=shared (thanks to YorHel) ------------------------------------------------------------------------ [2005-12-31 00:42:15] sniper@php.net Assigned to Mysql support. ------------------------------------------------------------------------ [2005-12-30 16:41:46] shawn dot richards at ink dot ltd dot uk Found the problem. The PHP compile fails when using this version of MySQL: Mac OS X 10.4, (PowerPC, 64-bit) I have a 64-bit machine and the PHP compile process freaks out at some point because the ranlib returns strange results since data somewhere exceeds the expected 32-bits. This is a legitimate bug, which might not exist in the PHP compiler...but the compile process fails. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35848 -- Edit this bug report at http://bugs.php.net/?id=35848&edit=1

« previous php.bugs (#96504) next »