#46880 [Bgs]: Configuration Problem
ID: 46880
User updated by: bineet dot kumar at wipro dot com
Reported By: bineet dot kumar at wipro dot com
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Linux RHEL 5
PHP Version: 5.2.8
New Comment:
i have taken tar file of mysql from mysql.com but inside that there is
no folder called mysql-devel.so, what should i do now.
Previous Comments:
------------------------------------------------------------------------
[2008-12-16 18:00:46] jani@php.net
As I assume you installed the binaries provided at mysql.com, you most
likely did not install the "headers and libraries" package. Install that
and the configure will pass.
------------------------------------------------------------------------
[2008-12-16 15:09:17] bineet dot kumar at wipro dot com
i have checked in mysql. mysql-devel is not present there. But can you
tell me how this is related to the problem
------------------------------------------------------------------------
[2008-12-16 14:59:02] bineet dot kumar at wipro dot com
mysql-devel package is not available in mysql distribution
------------------------------------------------------------------------
[2008-12-16 14:52:36] johannes@php.net
Do you have the mysql-devel package from your distribution installed?
------------------------------------------------------------------------
[2008-12-16 11:49:20] bineet dot kumar at wipro dot com
Description:
------------
When i am trying to configure PHP with this option
./configure --with-apxs2=/usr/web_server2.0.59/bin/apxs
--disable-debug --enable-ftp --enable-inline-optimization
--enable-magic-quotes --enable-mbstring --enable-mm=shared
--enable-safe-mode --enable-track-vars --enable-trans-sid
--enable-wddx=shared --enable-xml --with-dom --with-gd --with-gettext
--with-mysql=/usr/local/mysql --with-regex=system --with-xml
--with-zlib-dir=/usr/lib
Getting error is :-
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for
more information.
PHP INFORMATION
PHP 5.2.8 (cli) (built: Dec 15 2008 19:57:27)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
MySQL INFORMATION
mysql-5.0.67-linux-i686 (installed location is /usr/local/mysql)
Please suggest me what i should do. Thanks in advance
Reproduce code:
---------------
na
Expected result:
----------------
na
Actual result:
--------------
Not installed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46880&edit=1
Thread (6 messages)