I first emerged "php" (after unmasking it in .keywords), so php 5.0.3 was installed. I then emerged "mod_php" (also after unmasking) with interbase support ("interbase" use-flag). This fails with a message about missing files and/or directories. I do not currently have those errors but this should be re-producable. Reproducible: Always Steps to Reproduce: 1. unmask "php" in package.keywords 2. emerge php 3. unmask "mod_php" 4. emerge "mod_php" with interbase support ("USE="interbase" emerge mod_php") Actual Results: I get an emerge error, it does not successfully install. Expected Results: At the very least, it should have warned me of a problem with interbase support (perhaps because I did not emerge php with interbase support). Otherwise, I would have expected it to re-emerge php to also support interbase since I did not include that with the php install.
could you please provide the message you got? For almost all of the PHP use flags, having different flags between builds works fine (I'm aware of one exception, and it's not interbase).
I had posted the issue on the forums, here's all that I have (I have since moved on and emerged it w/o the interbase flag, so I cannot re-create it again right now , the server is now in production). Here's what I have: ... checking for Informix support... no checking for Ingres II support... no checking for InterBase support... yes checking for isc_detach_database in -lfbclient... no checking for isc_detach_database in -lgds... no checking for isc_detach_database in -lib_util... no configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information. !!! ERROR: dev-php/mod_php-5.0.3 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. As I said before, once I removed interbase support, this compiled. Here is the thread on Gentoo forums: http://forums.gentoo.org/viewtopic.php?t=282749
PHP needs dev-db/firebird for its Interbase support. I added dev-db/firebird to PHP's DEPENDencies and "USE=interbase emerge php" built fine for me and "php -m" shows that the interbase extension is available.