Bug #71242 [Opn->Csd]: ibase.h not being found.
Edit report at https://bugs.php.net/bug.php?id=71242&edit=1
ID: 71242
Updated by: cmb@php.net
Reported by: php7 at myrosoft dot com
Summary: ibase.h not being found.
-Status: Open
+Status: Closed
Type: Bug
Package: *Configuration Issues
Operating System: openSUSE 13.2 (Harlequin) 64b
PHP Version: 7.0.1
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The interbase extension is no longer actively maintained, so this
ticket is obsolete.
Previous Comments:
------------------------------------------------------------------------
[2015-12-30 09:21:52] php7 at myrosoft dot com
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 this bug report at https://bugs.php.net/bug.php?id=71242&edit=1
Thread (2 messages)