[php-maint] Bug#647475: php5-dev: acinclude.m4's PHP_CHECK_PDO_INCLUDES fails to look in the right place for php_pdo_driver.h

Michael Deegan bugs at deegan.id.au
Thu Nov 3 03:19:44 UTC 2011


Package: php5-dev
Version: 5.3.3-7+squeeze3
Severity: normal

G'day,

While attempting to build a (standalone) PDO module, I noticed that
acinclude.m4 looks in the following locations for php_pdo_driver.h:
 - $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h
 - $abs_srcdir/ext/pdo/php_pdo_driver.h
 - $prefix/include/php/ext/pdo/php_pdo_driver.h

However, php_pdo_driver.h is of course in fact found in:

  /usr/include/php5/ext/pdo/php_pdo_driver.h

This causes a little bit of extra work in getting a working ./configure
(specifically, some config.m4 hacking).

Note that this is not the same bug as the one where $pdo_inc_path is set to
the wrong value when $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h does
exist.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'stable-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-dev depends on:
ii  autoconf                2.67-2           automatic configure script builder
ii  automake                1:1.11.1-1       A tool for generating GNU Standard
ii  libssl-dev              0.9.8o-4squeeze2 SSL development libraries, header
ii  libtool                 2.2.6b-2         Generic library support script
ii  php5-common             5.3.3-7+squeeze3 Common files for packages built fr
ii  shtool                  2.0.8-6          portable shell tool from the GNU p

php5-dev recommends no packages.

php5-dev suggests no packages.

-- no debconf information

-MD

-- 
-------------------------------------------------------------------------------
Michael Deegan                Hugaholic                http://www.deegan.id.au/
--------------------- Guvax bs vg nf ribyhgvba va npgvba. ---------------------





More information about the pkg-php-maint mailing list