[PHP-BUG] Bug #71242 [NEW]: ibase.h not being found.

[email protected] ("php7 at myrosoft dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             php7 at myrosoft dot com
Operating system: openSUSE 13.2 (Harlequin) 64b
PHP version:      7.0.1
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:ibase.h not being found.

Description:
------------
After 
 zypper install libfbclient2-devel
in 
/usr/include/firebird/ibase.h 
is being found.

Compilation of php (version with git id=
83cd8284693e0f0bd2cf9562886ea8238a07fe3c) after 
./configure ... --with-interbase=/usr ...
by
make
complains with

In file included from
/srv/install/php7/php-src/ext/interbase/interbase.c:35:0:
/srv/install/php7/php-src/ext/interbase/php_ibase_includes.h:24:19:
fatal error: ibase.h: No such file or directory
 #include <ibase.h>
                   ^
compilation terminated.
Makefile:1001: recipe for target 'ext/interbase/interbase.lo' failed
make: *** [ext/interbase/interbase.lo] Error 1

Workarround found on 
http://sql-info.de/firebird/notes/compiling-dbd-firebird-on-opensuse.html

export C_INCLUDE_PATH=/usr/include/firebird

Possible solution:
I guess that in 
ext/pdo_firebird/config.w32
a reference is placed to
interbase\\include
and that a reference
firebird\\include
should be added.

Details:
Full configuration instruction:
./configure --prefix=/srv --with-config-file-path=/etc --enable-mbstring
--enable-zip --enable-bcmath --enable-pcntl --enable-ftp \
--enable-exif --enable-calendar --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --enable-wddx \
--with-curl --with-mcrypt --with-iconv --with-gmp --with-gd
--with-interbase=/usr --with-jpeg-dir=/usr \
--with-png-dir=/usr  --with-zlib-dir=/usr --with-xpm-dir=/usr
--with-freetype-dir=/usr\
--enable-gd-native-ttf --enable-gd-jis-conv --with-openssl
--with-pdo-mysql=/usr --with-gettext=/usr \
--enable-libxml --with-xsl=/usr \
--with-zlib=/usr --with-bz2=/usr --with-recode=/usr
--with-mysqli=/usr/bin/mysql_config --with-apxs2=/usr/sbin/apxs2


full compilation instruction invoked by make:
/bin/sh /srv/install/php7/php-src/libtool --silent --preserve-dup-deps
--mode=compile cc  -Iext/interbase/
-I/srv/install/php7/php-src/ext/interbase/ -DPHP_ATOM_INC
-I/srv/install/php7/php-src/include -I/srv/install/php7/php-src/main
-I/srv/install/php7/php-src -I/srv/install/php7/php-src/ext/date/lib
-I/usr/include/libxml2 -I/usr/X11 -I/usr/include/freetype2
-I/srv/install/php7/php-src/ext/mbstring/oniguruma
-I/srv/install/php7/php-src/ext/mbstring/libmbfl
-I/srv/install/php7/php-src/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/srv/install/php7/php-src/ext/sqlite3/libsqlite
-I/srv/install/php7/php-src/ext/zip/lib -I/srv/install/php7/php-src/TSRM
-I/srv/install/php7/php-src/Zend    -I/usr/include -g -O2
-fvisibility=hidden   -c
/srv/install/php7/php-src/ext/interbase/interbase.c -o
ext/interbase/interbase.lo





-- 
Edit bug report at https://bugs.php.net/bug.php?id=71242&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71242&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71242&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71242&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71242&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71242&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71242&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71242&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71242&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71242&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71242&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71242&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71242&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71242&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71242&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71242&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71242&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71242&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71242&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71242&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71242&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.