Bug #73512 [Asn->Csd]: Fails to find firebird headers as don't use fb_config output

From: Date: Wed, 16 Nov 2016 09:47:27 +0000
Subject: Bug #73512 [Asn->Csd]: Fails to find firebird headers as don't use fb_config output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205397@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73512&edit=1 ID: 73512 Updated by: remi@php.net Reported by: remi@php.net Summary: Fails to find firebird headers as don't use fb_config output -Status: Assigned +Status: Closed Type: Bug Package: InterBase related Operating System: Fedora 26 PHP Version: 7.1.0RC6 Assigned To: remi Block user comment: N Private report: N New Comment: Automatic comment on behalf of remi Revision: http://git.php.net/?p=php-src.git;a=commit;h=397bedcc7c3545510a22b7db8dc6444e0a05b085 Log: Fixed bug #73512 Fails to find firebird headers Previous Comments: ------------------------------------------------------------------------ [2016-11-14 12:42:32] remi@php.net @Joe: would you have time to review attached patch ? (I'd like to apply it 7.1 before 7.1.0 GA) ------------------------------------------------------------------------ [2016-11-14 12:41:27] remi@php.net The following patch has been added/updated: Patch Name: use-fb-config.patch Revision: 1479127287 URL: https://bugs.php.net/patch-display.php?bug=73512&patch=use-fb-config.patch&revision=1479127287 ------------------------------------------------------------------------ [2016-11-14 12:03:52] remi@php.net BTW, I think we have an issue with config.m4 which does not use fb_config output. And hard-coded values are not (always) correct: (see previous comment) if test "$PHP_INTERBASE" = "yes"; then IBASE_INCDIR=/opt/firebird/include IBASE_LIBDIR=/opt/firebird/lib else IBASE_INCDIR=$PHP_INTERBASE/include IBASE_LIBDIR=$PHP_INTERBASE/$PHP_LIBDIR fi ------------------------------------------------------------------------ [2016-11-14 11:33:51] remi@php.net # fb_config --cflags -I/usr/include/firebird # fb_config --libs -L/usr/lib64 -lfbclient # fb_config --version 3.0.1.32609-0.amd64 I'm still investigating (it seems libfbclient.so is missing...) ------------------------------------------------------------------------ [2016-11-14 08:07:40] krakjoe@php.net Can we get some more information: krakjoe@fiji:/usr/src/php-src$ /opt/firebird/bin/fb_config --version 3.0.1.32609-0.amd64 krakjoe@fiji:/usr/src/php-src$ sapi/cli/php -nm [PHP Modules] ... PDO PDO_Firebird ... krakjoe@fiji:/usr/src/php-src$ sapi/cli/php -nv PHP 7.2.0-dev (cli) (built: Nov 13 2016 21:41:50) ( ZTS DEBUG ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=73512 -- Edit this bug report at https://bugs.php.net/bug.php?id=73512&edit=1

« previous php.bugs (#205397) next »