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-lang/php-5.0.5-r5 failed. Beside that it fails (I have Firebird 1.5.3 installed.) it is the case that the configure script is autodetecting it, instead obeying the "-interbase" use flag. It's also the question why the flag is named interbase while we have a global firebird use flag.
(In reply to comment #0) > It's also the question why the flag is named interbase while we have a > global firebird use flag. That's very simple - firebird != interbase. You need *commercial* interbase for this to compile. As you can notice, there are both firebird and interbase use flags.
Also, please attach config.log, messages given by php are ofter way off track...
Attach config.log and reopen then...
Jakub, please do not resolve to needinfo within hours. It's not worth the hassle.
Created attachment 78683 [details] config.log
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../crt1.o: In function `_start': > init.c:(.text+0x18): undefined reference to `main' I'd say your toolchain is kinda screwed...
Not a php bug, compiles fine here. Your broken gcc causes all the firefird checks to fail.
*** Bug 124034 has been marked as a duplicate of this bug. ***
*** Bug 124509 has been marked as a duplicate of this bug. ***
Reopen and assign to toolchain guys.
has nothing to do with the toolchain, read the config.log file and you can clearly see the error configure:62045: gcc -o conftest -O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse -Wl,-rpath, -L conftest.c -lfbclient -lcrypt -lpam -lgmp -lt1 -lfreetype -lpng -lz -ljpeg -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lidn -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl >&5 notice the missing path to -L
Indeed, tnx Spanky for noticing that! :) I think the fix is relatively easy, could some of the people experiencing this bug test it? You just need to open the PHP eclass for the version of PHP you want to compile: /usr/portage/eclass/php4_4-sapi.eclass for PHP 4.3/4.4 /usr/portage/eclass/php5_0-sapi.eclass for PHP 5.0 /usr/portage/eclass/php5_1-sapi.eclass for PHP 5.1 And search for "--with-interbase", and edit that so that it looks like "--with-interbase=/usr", save the eclass and try again emerging PHP. Please report back if this helps, best regards, CHTEKK.
This fix does work :D I've compiled php 5.0.5 with firebird support without any errors!
The fix was now added to the PHP eclasses in Portage, thanks for testing it! Best regards, CHTEKK.