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: 2021-07-26 17:58 UTC
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: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 7.0.1 OS: openSUSE 13.2 (Harlequin) 64b
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-26 17:58 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-07-26 17:58 UTC] cmb@php.net
The interbase extension is no longer actively maintained, so this
ticket is obsolete.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC