[php-maint] Bug#511900: Bug#511900: php5: Compiling pdo_oci extension fails with "Cannot find php_pdo_driver.h."
seanius at debian.org
Fri Jan 16 07:20:32 UTC 2009
severity 511900 important
tags 511900 -patch
On Thu, Jan 15, 2009 at 11:56:25AM -0200, Cassiano Leal wrote:
> Severity: serious
> Justification: no longer builds from source
> Trying to build pdo_oci from php5 sources fails with the message below:
i don't think this justification applies if the thing failing to build is not
the package itself, or one of its packaged dependencies. therefore i'm
lowering the severity until i'm convinced otherwise. others on the team
can override me if they feel differently.
pdo_oci is not packaged/enabled in anything in debian as far as i know. that
doesn't mean we don't want to help fix it, but it should be viewed as a "best
maybe someone else on the list has more experience working with the
pdo_oci driver and can take a look?
> checking for PDO includes... checking for PDO includes...
> configure: error: Cannot find php_pdo_driver.h.
> make: *** [configure-stamp-v5] Error 1
> The following patch solves the problem (has to be applied after
> phpizing the source):
> *** configure 2009-01-15 11:41:34.000000000 -0200
> --- configure.new 2009-01-15 11:43:35.000000000 -0200
a couple points:
- we don't accept patches against configure, because we regenerate this
file as part of the build process. instead please patch the configure.in
or the m4 files used to generate configure.
- unified diff format, please
in addition i'm a bit confused with the goal of this patch:
> ! elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
> ! pdo_inc_path=$prefix/include/php/ext
/usr/include/php doesn't exist...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090116/6227afe1/attachment.pgp
More information about the pkg-php-maint