php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71242 ibase.h not being found.
Submitted: 2015-12-30 09:21 UTC Modified: -
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: php7 at myrosoft dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 7.0.1 OS: openSUSE 13.2 (Harlequin) 64b
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php7 at myrosoft dot com
New email:
PHP Version: OS:

 

 [2015-12-30 09:21 UTC] 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





Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Mar 22 04:01:27 2019 UTC