Edit report at https://bugs.php.net/bug.php?id=59450&edit=1
ID: 59450 Comment by: esserj at gmail dot com Reported by: jan dot declercq at gmail dot com Summary: ./configure fails with "Cannot find php_pdo_driver.h" Status: Open Type: Bug Package: PDO_INFORMIX Operating System: Linux (opensuse 11.3) PHP Version: 5.3.3 Block user comment: N Private report: N New Comment: same problem on UBUNTU, solved the problem as per "[2010-10-06 02:56 UTC] jan dot declercq at gmail dot com" comment Previous Comments: ------------------------------------------------------------------------ [2010-10-06 02:56:44] jan dot declercq at gmail dot com I manually altered /tmp/pear/download/PDO_INFORMIX- 1.2.6/configure Where you have the lines: if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php/ext else as_fn_error "Cannot find php_pdo_driver.h." "$LINENO" 5 fi I added this lines so it would find the header file: (../php5/.. instead of .../php/.. ) elif test -f $prefix/include/php5/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php5/ext ------------------------------------------------------------------------ [2010-10-06 02:51:03] jan dot declercq at gmail dot com Description: ------------ Cannot find php_pdo_driver.h The ./configure script doesn't look in in /usr/include/php5 for the php_pdo_driver.h Extra info: #php -v PHP 5.3.3 (cli) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies # rpm -q php5 php5-5.3.3-0.1.2.x86_64 # rpm -q php5-pdo php5-pdo-5.3.3-0.1.2.x86_64 # php-config --include-dir /usr/include/php5 Reproduce code: --------------- pecl install -n pdo_informix Expected result: ---------------- pdo_informix should install.. Actual result: -------------- > checking for PDO includes... configure: error: Cannot find > php_pdo_driver.h. > ERROR: `/tmp/pear/download/PDO_INFORMIX-1.2.6/configure > --with-pdo-informix=/opt/IBM/informix' failed ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=59450&edit=1