[php-maint] Bug#511900: closed by "Raphael Geissert" <atomo64+debian at gmail.com> (Re: Bug#511900: php5: Compiling pdo_oci extension fails with "Cannot find php_pdo_driver.h.")

Cassiano Leal cassianoleal at gmail.com
Thu Jan 22 13:10:11 UTC 2009


On Friday 16 January 2009 18:57:03 Debian Bug Tracking System wrote:
> 2009/1/15 Cassiano Leal <cassianoleal at gmail.com>:
> [...]
>
> > checking for PDO includes... checking for PDO includes...
> > configure: error: Cannot find php_pdo_driver.h.
> > make: *** [configure-stamp-v5] Error 1
>
> Fix the --prefix, php_pdo_driver.h is available at
> /usr/include/php*5*/ext/pdo/php_pdo_driver.h
> not
> /usr/include/php/ext/pdo/php_pdo_driver.h

Where am I doing wrong? Here's my process:

$ cd php5-5.2.6.dfsg.1/ext/pdo_oci
$ pecl package package2.xml
$ dh-make-pecl --only 5 PDO_OCI-1.0.1.tgz
$ cd php-pdo-oci-1.0.1
$ dpkg-buildpackage

And here's where configure throws the error. Where do I fix the --prefix?

Thanks for your attention!

Regards,
Cassiano Leal





More information about the pkg-php-maint mailing list