|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[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
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 01:00:02 2025 UTC |
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