ID:               36014
 Comment by:       dstloukal at post dot cz
 Reported By:      FranciscSimon at yahoo dot de
 Status:           Feedback
 Bug Type:         PDO related
 Operating System: Mandriva 2006
 PHP Version:      5.1.2
 New Comment:

Hello,

I had the same problem. So I tried to use

./configure --with-pdo-mysql=/path/to/your/mysql/installation
(E.G.: /usr/local/mysql)

and it is all right now.


Previous Comments:
------------------------------------------------------------------------

[2006-01-14 22:53:46] [EMAIL PROTECTED]

Put your config.log somewhere and paste the URL here.

------------------------------------------------------------------------

[2006-01-14 21:54:49] FranciscSimon at yahoo dot de

Description:
------------
Hi,

i installed first PDO with pecl install PDO. After i tried first pecl
install PDO_MYSQL and it doesn't work. After that i decide to compile
it manualy. during ./configure it shows me this configure: error

=>
....
configure: WARNING: You will need re2c 0.9.11 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking for MySQL support for PDO... yes, shared
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?

compiling command was 

phpize && ./configure && make && make install

THX 

:-) 

Frank



Reproduce code:
---------------
configure: WARNING: You will need re2c 0.9.11 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking for MySQL support for PDO... yes, shared
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36014&edit=1

Reply via email to