On 3/23/25 3:34 AM, Matthias Hanft wrote:
> I wrote:
>>
>> To compile PHP with Firebird support, I have the line
>> -firebird
>> in /etc/portage/profile/use.mask because the Firebird USE flag
>> of PHP was masked somewhen.
> 
> While working with the manually installed Firebird 5.0 and the
> unmasked "firebird" USE flag @ PHP, now here's the next problem:
> 
> They removed the "firebird" USE flag from PHP!
> 
> Now the PHP script
> 
> $x = new PDO('firebird:dbname=...');
> 
> leads to
> 
> PHP Fatal error:  Uncaught PDOException: could not find driver
> 
> I already tried the PHP extension "php_8.2.0-interbase-3.0.1-linux-x64.so"
> from https://github.com/FirebirdSQL/php-firebird/releases but that leads to
> 
> PHP Warning:  Module "interbase" is already loaded
> PHP Fatal error:  Uncaught PDOException: could not find driver
> 
> On https://www.php.net/manual/en/ref.pdo-firebird.php it is mentioned
> 
> "Use --with-pdo-firebird[=DIR] to install the PDO Firebird extension,
> where the optional [=DIR] is the Firebird base install directory."
> $ ./configure --with-pdo-firebird
> 
> I'd really like to do that, but how?


Read the manpage for `man make.conf` and look for references to EXTRA_ECONF.

You will want to do this via package.env, obviously, not
/etc/portage/make.conf itself.



-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to