Re: upgrade php 5.2.6 -> 5.2.8 mysql problems!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Tuesday, January 13, 2009, 9:25:57 AM, you wrote:
MM> Hello everybody,

MM> I am trying to update php 5.2.6 to 5.2.8 on a test system. Somehow it 
MM> can not find the working mysql installation. With 5.2.6 I everything is
MM> fine.

MM> Here is the configure command that is pretty much the same as in 5.2.6:

MM> './configure' '--enable-fastcgi' '--with-mysql' 
MM> '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' 
MM> '--enable-mbstring' '--with-pdo-mysql=/usr/local/mysql/' 
MM> '--with-mysql-sock=/tmp' '--enable-soap' '--with-zlib' 
MM> '--with-freetype-dir=/usr/local/lib' '--with-gd' '--with-jpeg-dir=/usr'
MM> '--with-png-dir=/usr/lib' '--enable-exif' '--enable-cli'


MM> PHP returns:

MM> checking for MySQL UNIX socket location... /tmp
MM> configure: error: Cannot find MySQL header files under yes.
MM> Note that the MySQL client library is not bundled anymore!

MM> According to a google search mysql-dev is not installed. So I tried to
MM> get it with yast on the suse 11.0 server. No luck. So I got it via a 
MM> rpm. That returns:

MM>   rpm -i mysql-devel.rpm
MM> error: Failed dependencies:
MM>          mysql-client is needed by mysql-devel-5.0.26-21.x86_64
MM>          mysql-shared = 5.0.26 is needed by mysql-devel-5.0.26-21.x86_64
MM>          libc.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64
MM>          libc.so.6(GLIBC_2.2.5)(64bit) is needed by 
MM> mysql-devel-5.0.26-21.x86_64
MM>          libc.so.6(GLIBC_2.3.4)(64bit) is needed by 
MM> mysql-devel-5.0.26-21.x86_64
MM>          libcrypt.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64
MM>          libm.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64
MM>          libnsl.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64
MM>          libpthread.so.0()(64bit) is needed by mysql-devel-5.0.26-21.x86_64
MM>          libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by 
MM> mysql-devel-5.0.26-21.x86_64
MM>          libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by 
MM> mysql-devel-5.0.26-21.x86_64

MM> Something must be wrong. I can't believe that there is so much change 
MM> necessary for such a minur upgrade.

MM> Any ideas? Thank you for any help,

MM> Merlin


try getting rid of the trailing slash 
('--with-pdo-mysql=/usr/local/mysql/')

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux