Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get that PDO is activated and the drivers has no value.

I am now trying to install pdo_mysql and getting the following:
checking for PDO includes... checking for PDO includes... /usr/include/php/ext
configure: error:
You've configured extension pdo_mysql, which depends on extension pdo,
but you've either not enabled pdo, or have disabled it.

ERROR: `/tmp/tmptDnQ5L/PDO_MYSQL-1.0.2/configure' failed

When I list the contents of /usr/include/php/ext I get:
ls /usr/include/php/ext/pdo
php_pdo_driver.h  php_pdo.h

Any ideas as to where i need to go from here?

I ended up just finding instructions on manually building the pdo_mysql driver.

http://bhiv.com/category/linux/

I'll go and post a bug in the Ubuntu package lists and see if there is anything that can be done about how the packages are built, but at least I have a not so bad answer. I can build my php install 90% from packages and build one myself.

Thanks for the help.

Rick

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

Reply via email to